Skip to content

Commit dd178e3

Browse files
committed
Make port makefile slightly less crufty.
1 parent 6488c9d commit dd178e3

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/backend/port/Makefile.in

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@
1313
# be converted to Method 2.
1414
#
1515
# IDENTIFICATION
16-
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.31 2002/02/18 06:03:23 momjian Exp $
16+
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.32 2002/03/04 17:43:32 tgl Exp $
1717
#
1818
#-------------------------------------------------------------------------
1919

2020
subdir = src/backend/port
2121
top_builddir = ../../..
2222
include $(top_builddir)/src/Makefile.global
2323

24-
OBJS = dynloader.o @INET_ATON@ @STRERROR@ @MISSING_RANDOM@ @SRANDOM@
25-
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @MEMCMP@ @STRCASECMP@ @TAS@ @ISINF@
26-
OBJS+= @STRTOL@ @STRTOUL@ @SNPRINTF@
24+
# Note: invoking a macro from Makefile.global is better than substituting
25+
# here; ideally this file should not need to be generated by configure
26+
# at all.
27+
OBJS = dynloader.o $(INET_ATON) $(STRERROR) @MISSING_RANDOM@ @SRANDOM@
28+
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ $(MEMCMP) @STRCASECMP@ @TAS@ @ISINF@
29+
OBJS+= @STRTOL@ $(STRTOUL) $(SNPRINTF)
2730
ifdef STRDUP
2831
OBJS += $(top_builddir)/src/utils/strdup.o
29-
$(top_builddir)/src/utils/strdup.o:
30-
$(MAKE) -C $(top_builddir)/src/utils strdup.o
3132
endif
3233
ifeq ($(PORTNAME), qnx4)
3334
OBJS += getrusage.o qnx4/SUBSYS.o
@@ -44,6 +45,9 @@ all: SUBSYS.o
4445
SUBSYS.o: $(OBJS)
4546
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
4647

48+
$(top_builddir)/src/utils/strdup.o:
49+
$(MAKE) -C $(top_builddir)/src/utils strdup.o
50+
4751
qnx4/SUBSYS.o: qnx4.dir
4852

4953
qnx4.dir:

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