From 8101d0c5710fb3c93fe39ed70db4f6bd339e193d Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Thu, 11 May 2000 17:46:35 +0000 Subject: [PATCH] Makefile CFLAGS cleanups. --- src/backend/Makefile | 4 ++-- src/backend/port/Makefile.in | 5 ++++- src/bin/pg_dump/Makefile.in | 4 ++-- src/bin/pg_passwd/Makefile | 2 +- src/bin/pg_version/Makefile.in | 4 ++-- src/bin/psql/Makefile.in | 4 ++-- 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/backend/Makefile b/src/backend/Makefile index 6c27cdc1188..ae90a17b042 100644 --- a/src/backend/Makefile +++ b/src/backend/Makefile @@ -34,7 +34,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.46 2000/04/08 19:38:00 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.47 2000/05/11 17:46:28 momjian Exp $ # #------------------------------------------------------------------------- @@ -80,7 +80,7 @@ all: postgres $(POSTGRES_IMP) global1.bki.source local1_template1.bki.source \ ifneq ($(PORTNAME), win) postgres: fmgr.h $(OBJS) $(VERSIONOBJ) - $(CC) -o postgres $(OBJS) $(OBJS1) $(VERSIONOBJ) $(LDFLAGS) + $(CC) $(CFLAGS) -o postgres $(OBJS) $(OBJS1) $(VERSIONOBJ) $(LDFLAGS) else postgres: $(DLLOBJS) $(SRCDIR)/utils/dllinit.o postgres.def libpostgres.a dlltool --dllname $@$(X) --output-exp $@.exp --def postgres.def diff --git a/src/backend/port/Makefile.in b/src/backend/port/Makefile.in index 24e53cedc48..ccae5e1ec2c 100644 --- a/src/backend/port/Makefile.in +++ b/src/backend/port/Makefile.in @@ -13,7 +13,7 @@ # be converted to Method 2. # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.20 1999/12/16 01:25:02 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.21 2000/05/11 17:46:31 momjian Exp $ # #------------------------------------------------------------------------- @@ -38,6 +38,9 @@ qnx4/SUBSYS.o: qnx4.dir qnx4.dir: $(MAKE) -C qnx4 all +tas.o: tas.s + $(CC) $(CFLAGS) -c tas.o tas.s $(LDFLAGS) + .PHONY: clean dep distclean clean: diff --git a/src/bin/pg_dump/Makefile.in b/src/bin/pg_dump/Makefile.in index 752b4af1a6f..dddc006b8bd 100644 --- a/src/bin/pg_dump/Makefile.in +++ b/src/bin/pg_dump/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/Makefile.in,v 1.12 2000/03/08 01:58:19 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/pg_dump/Attic/Makefile.in,v 1.13 2000/05/11 17:46:32 momjian Exp $ # #------------------------------------------------------------------------- @@ -29,7 +29,7 @@ endif all: submake pg_dump pg_dump: $(OBJS) $(LIBPQDIR)/libpq.a - $(CC) -o pg_dump $(OBJS) $(LIBPQ) $(LDFLAGS) + $(CC) $(CFLAGS) -o pg_dump $(OBJS) $(LIBPQ) $(LDFLAGS) ../../utils/strdup.o: $(MAKE) -C ../../utils strdup.o diff --git a/src/bin/pg_passwd/Makefile b/src/bin/pg_passwd/Makefile index e4ceb5c7136..f6c15053c9a 100644 --- a/src/bin/pg_passwd/Makefile +++ b/src/bin/pg_passwd/Makefile @@ -12,7 +12,7 @@ OBJS= pg_passwd.o all: pg_passwd pg_passwd: $(OBJS) - $(CC) -o pg_passwd $(OBJS) $(LDFLAGS) + $(CC) $(CFLAGS) -o pg_passwd $(OBJS) $(LDFLAGS) install: pg_passwd $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd$(X) $(BINDIR)/pg_passwd$(X) diff --git a/src/bin/pg_version/Makefile.in b/src/bin/pg_version/Makefile.in index 90271536bad..64e0a2673a9 100644 --- a/src/bin/pg_version/Makefile.in +++ b/src/bin/pg_version/Makefile.in @@ -7,7 +7,7 @@ # Portions Copyright (c) 1994, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.7 2000/02/27 01:33:43 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/pg_version/Attic/Makefile.in,v 1.8 2000/05/11 17:46:35 momjian Exp $ # #------------------------------------------------------------------------- @@ -21,7 +21,7 @@ OBJS= pg_version.o $(SRCDIR)/utils/version.o @STRERROR2@ all: pg_version pg_version: $(OBJS) - $(CC) -o pg_version $(OBJS) $(LDFLAGS) + $(CC) $(CFLAGS) -o pg_version $(OBJS) $(LDFLAGS) $(SRCDIR)/utils/version.o: $(SRCDIR)/utils/version.c $(SRCDIR)/include/version.h $(MAKE) -C $(SRCDIR)/utils version.o diff --git a/src/bin/psql/Makefile.in b/src/bin/psql/Makefile.in index 49600c8ccb5..4fa6a4f1371 100644 --- a/src/bin/psql/Makefile.in +++ b/src/bin/psql/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.23 2000/04/16 18:07:22 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.24 2000/05/11 17:46:35 momjian Exp $ # #------------------------------------------------------------------------- @@ -58,7 +58,7 @@ endif # End of hacks for picking up backend 'port' modules psql: $(OBJS) $(LIBPQDIR)/libpq.a - $(CC) -o psql $(OBJS) $(LIBPQ) $(LDFLAGS) + $(CC) $(CFLAGS) -o psql $(OBJS) $(LIBPQ) $(LDFLAGS) help.o: sql_help.h -- GitLab