Skip to content
Snippets Groups Projects
Commit dd178e37 authored by Tom Lane's avatar Tom Lane
Browse files

Make port makefile slightly less crufty.

parent 6488c9d1
Branches
Tags
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# be converted to Method 2. # be converted to Method 2.
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.31 2002/02/18 06:03:23 momjian Exp $ # $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.32 2002/03/04 17:43:32 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -21,13 +21,14 @@ subdir = src/backend/port ...@@ -21,13 +21,14 @@ subdir = src/backend/port
top_builddir = ../../.. top_builddir = ../../..
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
OBJS = dynloader.o @INET_ATON@ @STRERROR@ @MISSING_RANDOM@ @SRANDOM@ # Note: invoking a macro from Makefile.global is better than substituting
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @MEMCMP@ @STRCASECMP@ @TAS@ @ISINF@ # here; ideally this file should not need to be generated by configure
OBJS+= @STRTOL@ @STRTOUL@ @SNPRINTF@ # at all.
OBJS = dynloader.o $(INET_ATON) $(STRERROR) @MISSING_RANDOM@ @SRANDOM@
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ $(MEMCMP) @STRCASECMP@ @TAS@ @ISINF@
OBJS+= @STRTOL@ $(STRTOUL) $(SNPRINTF)
ifdef STRDUP ifdef STRDUP
OBJS += $(top_builddir)/src/utils/strdup.o OBJS += $(top_builddir)/src/utils/strdup.o
$(top_builddir)/src/utils/strdup.o:
$(MAKE) -C $(top_builddir)/src/utils strdup.o
endif endif
ifeq ($(PORTNAME), qnx4) ifeq ($(PORTNAME), qnx4)
OBJS += getrusage.o qnx4/SUBSYS.o OBJS += getrusage.o qnx4/SUBSYS.o
...@@ -44,6 +45,9 @@ all: SUBSYS.o ...@@ -44,6 +45,9 @@ all: SUBSYS.o
SUBSYS.o: $(OBJS) SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS) $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
$(top_builddir)/src/utils/strdup.o:
$(MAKE) -C $(top_builddir)/src/utils strdup.o
qnx4/SUBSYS.o: qnx4.dir qnx4/SUBSYS.o: qnx4.dir
qnx4.dir: qnx4.dir:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment