Skip to content
Snippets Groups Projects
Commit 8101d0c5 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Makefile CFLAGS cleanups.

parent eead0e77
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
# #
# #
# IDENTIFICATION # 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 \ ...@@ -80,7 +80,7 @@ all: postgres $(POSTGRES_IMP) global1.bki.source local1_template1.bki.source \
ifneq ($(PORTNAME), win) ifneq ($(PORTNAME), win)
postgres: fmgr.h $(OBJS) $(VERSIONOBJ) postgres: fmgr.h $(OBJS) $(VERSIONOBJ)
$(CC) -o postgres $(OBJS) $(OBJS1) $(VERSIONOBJ) $(LDFLAGS) $(CC) $(CFLAGS) -o postgres $(OBJS) $(OBJS1) $(VERSIONOBJ) $(LDFLAGS)
else else
postgres: $(DLLOBJS) $(SRCDIR)/utils/dllinit.o postgres.def libpostgres.a postgres: $(DLLOBJS) $(SRCDIR)/utils/dllinit.o postgres.def libpostgres.a
dlltool --dllname $@$(X) --output-exp $@.exp --def postgres.def dlltool --dllname $@$(X) --output-exp $@.exp --def postgres.def
......
...@@ -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.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 ...@@ -38,6 +38,9 @@ qnx4/SUBSYS.o: qnx4.dir
qnx4.dir: qnx4.dir:
$(MAKE) -C qnx4 all $(MAKE) -C qnx4 all
tas.o: tas.s
$(CC) $(CFLAGS) -c tas.o tas.s $(LDFLAGS)
.PHONY: clean dep .PHONY: clean dep
distclean clean: distclean clean:
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 ...@@ -29,7 +29,7 @@ endif
all: submake pg_dump all: submake pg_dump
pg_dump: $(OBJS) $(LIBPQDIR)/libpq.a pg_dump: $(OBJS) $(LIBPQDIR)/libpq.a
$(CC) -o pg_dump $(OBJS) $(LIBPQ) $(LDFLAGS) $(CC) $(CFLAGS) -o pg_dump $(OBJS) $(LIBPQ) $(LDFLAGS)
../../utils/strdup.o: ../../utils/strdup.o:
$(MAKE) -C ../../utils strdup.o $(MAKE) -C ../../utils strdup.o
......
...@@ -12,7 +12,7 @@ OBJS= pg_passwd.o ...@@ -12,7 +12,7 @@ OBJS= pg_passwd.o
all: pg_passwd all: pg_passwd
pg_passwd: $(OBJS) pg_passwd: $(OBJS)
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS) $(CC) $(CFLAGS) -o pg_passwd $(OBJS) $(LDFLAGS)
install: pg_passwd install: pg_passwd
$(INSTALL) $(INSTL_EXE_OPTS) pg_passwd$(X) $(BINDIR)/pg_passwd$(X) $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd$(X) $(BINDIR)/pg_passwd$(X)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# Portions Copyright (c) 1994, Regents of the University of California # Portions Copyright (c) 1994, Regents of the University of California
# #
# IDENTIFICATION # 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@ ...@@ -21,7 +21,7 @@ OBJS= pg_version.o $(SRCDIR)/utils/version.o @STRERROR2@
all: pg_version all: pg_version
pg_version: $(OBJS) 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 $(SRCDIR)/utils/version.o: $(SRCDIR)/utils/version.c $(SRCDIR)/include/version.h
$(MAKE) -C $(SRCDIR)/utils version.o $(MAKE) -C $(SRCDIR)/utils version.o
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 ...@@ -58,7 +58,7 @@ endif
# End of hacks for picking up backend 'port' modules # End of hacks for picking up backend 'port' modules
psql: $(OBJS) $(LIBPQDIR)/libpq.a psql: $(OBJS) $(LIBPQDIR)/libpq.a
$(CC) -o psql $(OBJS) $(LIBPQ) $(LDFLAGS) $(CC) $(CFLAGS) -o psql $(OBJS) $(LIBPQ) $(LDFLAGS)
help.o: sql_help.h help.o: sql_help.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment