From 1e801a8f16ae0b308ac3aea88dddcb676f412580 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 6 Apr 1998 00:32:26 +0000 Subject: Hi, Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen --- src/backend/access/gist/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/backend/access/gist') diff --git a/src/backend/access/gist/Makefile b/src/backend/access/gist/Makefile index 62be5d4d1cb..bb93730d471 100644 --- a/src/backend/access/gist/Makefile +++ b/src/backend/access/gist/Makefile @@ -4,16 +4,14 @@ # Makefile for access/gist # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.5 1997/12/20 00:22:16 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.6 1998/04/06 00:20:49 momjian Exp $ # #------------------------------------------------------------------------- SRCDIR = ../../.. include ../../../Makefile.global -INCLUDE_OPT = -I../.. - -CFLAGS += $(INCLUDE_OPT) +CFLAGS += -I../.. OBJS = gist.o gistget.o gistscan.o giststrat.o @@ -23,7 +21,7 @@ SUBSYS.o: $(OBJS) $(LD) -r -o SUBSYS.o $(OBJS) depend dep: - $(CC) -MM $(INCLUDE_OPT) *.c >depend + $(CC) -MM $(CFLAGS) *.c >depend clean: rm -f SUBSYS.o $(OBJS) -- cgit v1.2.3