mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Make port makefile slightly less crufty.
This commit is contained in:
@ -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
|
|||||||
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
|
|||||||
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:
|
||||||
|
Reference in New Issue
Block a user