diff options
| author | Marc G. Fournier | 1997-12-17 04:59:16 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-12-17 04:59:16 +0000 |
| commit | 542d4e528d9622b2f0d0f9444fb963a9c6b1c209 (patch) | |
| tree | cf85e0a52a8d0e75c70c5b93c6321202da292b5d /src/backend/lib | |
| parent | 9ef6b32c4711f16b93cd51ce4bcf48c06a53f729 (diff) | |
First pass through, of many to come, towards making the whole source
tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
Diffstat (limited to 'src/backend/lib')
| -rw-r--r-- | src/backend/lib/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/backend/lib/Makefile b/src/backend/lib/Makefile index f1dfa4834b..006a0a3c56 100644 --- a/src/backend/lib/Makefile +++ b/src/backend/lib/Makefile @@ -4,16 +4,18 @@ # Makefile for lib (miscellaneous stuff) # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.7 1997/01/14 02:35:34 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/lib/Makefile,v 1.8 1997/12/17 04:58:40 scrappy Exp $ # #------------------------------------------------------------------------- SRCDIR = ../.. include ../../Makefile.global -INCLUDE_OPT = -I.. \ - -I../port/$(PORTNAME) \ - -I../../include +INCLUDE_OPT = -I.. + +ifdef PORTNAME +INCLUDE_OPT+=-I../port/$(PORTNAME) +endif CFLAGS+=$(INCLUDE_OPT) |
