Skip to content

Commit c7bfc7d

Browse files
committed
Silly to copy sprompt.c from src/port when we're linking libpgport anyway.
1 parent 9082329 commit c7bfc7d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/bin/initdb/Makefile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#
33
# Makefile for src/bin/initdb
44
#
5-
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
5+
# Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.31 2003/11/11 01:58:23 momjian Exp $
8+
# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.32 2003/11/13 20:30:37 tgl Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -15,19 +15,13 @@ include $(top_builddir)/src/Makefile.global
1515

1616
override CPPFLAGS := -DPGBINDIR=\"$(bindir)\" -DPGDATADIR=\"$(datadir)\" -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS)
1717

18-
OBJS= initdb.o sprompt.o
19-
ifeq ($(PORTNAME), win32)
20-
OBJS+=dirmod.o
21-
endif
18+
OBJS= initdb.o
2219

2320
all: submake-libpq submake-libpgport initdb
2421

2522
initdb: $(OBJS) $(libpq_builddir)/libpq.a
2623
$(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@
2724

28-
dirmod.c sprompt.c: % : $(top_srcdir)/src/port/%
29-
rm -f $@ && $(LN_S) $< .
30-
3125
install: all installdirs
3226
$(INSTALL_PROGRAM) initdb$(X) $(DESTDIR)$(bindir)/initdb$(X)
3327

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy