1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00
src/GNUmakefile.in to src/Makefile
and
  src/backend/port/Makefile.in to src/backend/port/Makefile

All configure substitutions are now done in Makefile.global.
This commit is contained in:
Peter Eisentraut
2002-03-13 00:05:06 +00:00
parent cf6a73dedc
commit f362dcec61
7 changed files with 68 additions and 106 deletions

View File

@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.76 2002/02/18 06:03:22 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.77 2002/03/13 00:05:05 petere Exp $
#
#-------------------------------------------------------------------------
@@ -194,7 +194,7 @@ ifeq ($(enable_nls), yes)
endif
distclean: clean
rm -f port/Makefile port/tas.s port/dynloader.c
rm -f port/tas.s port/dynloader.c
maintainer-clean: distclean
rm -f $(srcdir)/bootstrap/bootparse.c \

View File

@@ -13,7 +13,7 @@
# be converted to Method 2.
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.32 2002/03/04 17:43:32 tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/port/Makefile,v 1.11 2002/03/13 00:05:06 petere Exp $
#
#-------------------------------------------------------------------------
@@ -21,12 +21,14 @@ subdir = src/backend/port
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
# Note: invoking a macro from Makefile.global is better than substituting
# here; ideally this file should not need to be generated by configure
# at all.
OBJS = dynloader.o $(INET_ATON) $(STRERROR) @MISSING_RANDOM@ @SRANDOM@
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ $(MEMCMP) @STRCASECMP@ @TAS@ @ISINF@
OBJS+= @STRTOL@ $(STRTOUL) $(SNPRINTF)
OBJS = dynloader.o
OBJS += $(GETHOSTNAME) $(GETRUSAGE) $(INET_ATON) $(ISINF) $(MEMCMP) \
$(MISSING_RANDOM) $(SNPRINTF) $(SRANDOM) $(STRCASECMP) $(STRERROR) \
$(STRTOL) $(STRTOUL) $(SNPRINTF)
OBJS += $(TAS)
ifdef STRDUP
OBJS += $(top_builddir)/src/utils/strdup.o
endif
@@ -43,7 +45,7 @@ endif
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
$(LD) $(LDREL) $(LDOUT) $@ $^
$(top_builddir)/src/utils/strdup.o:
$(MAKE) -C $(top_builddir)/src/utils strdup.o
@@ -71,10 +73,3 @@ distclean clean:
$(MAKE) -C beos clean
$(MAKE) -C darwin clean
$(MAKE) -C qnx4 clean
depend dep:
$(CC) -MM $(CFLAGS) *.c >depend
ifeq (depend,$(wildcard depend))
include depend
endif