diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1997-12-17 04:31:34 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1997-12-17 04:31:34 +0000 |
| commit | e2d9501094815b141eff6c9338897068eb5868db (patch) | |
| tree | 978bd1a53202051a1c0b27537794c1bb673ab838 /src/backend/access/gist | |
| parent | ceabf8cab99b8a7aacfdcae0086e40b04dd11eca (diff) | |
| download | postgresql-e2d9501094815b141eff6c9338897068eb5868db.tar.gz | |
Clean up the Makefiles
Essentially, this cleans things up so that if PORTNAME isn't defined (I'm
working on getting rid of it for FreeBSD, at least, to see if its possible)
none of the PORTNAME related stuff gets passed around.
Had a little bit of -I related redundancy as well
Diffstat (limited to 'src/backend/access/gist')
| -rw-r--r-- | src/backend/access/gist/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/backend/access/gist/Makefile b/src/backend/access/gist/Makefile index c0f811a237..de695c4777 100644 --- a/src/backend/access/gist/Makefile +++ b/src/backend/access/gist/Makefile @@ -4,18 +4,20 @@ # Makefile for access/gist # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.3 1996/11/05 08:18:42 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.4 1997/12/17 04:30:47 scrappy Exp $ # #------------------------------------------------------------------------- SRCDIR = ../../.. include ../../../Makefile.global -INCLUDE_OPT = -I../.. \ - -I../../port/$(PORTNAME) \ - -I../../../include +INCLUDE_OPT = -I../.. -CFLAGS+=$(INCLUDE_OPT) +ifdef PORTNAME +INCLUDE_OPT += -I../../port/$(PORTNAME) +endif + +CFLAGS += $(INCLUDE_OPT) OBJS = gist.o gistget.o gistscan.o giststrat.o |
