summaryrefslogtreecommitdiff
path: root/src/backend/bootstrap
diff options
context:
space:
mode:
authorMarc G. Fournier1997-12-17 04:59:16 +0000
committerMarc G. Fournier1997-12-17 04:59:16 +0000
commit542d4e528d9622b2f0d0f9444fb963a9c6b1c209 (patch)
treecf85e0a52a8d0e75c70c5b93c6321202da292b5d /src/backend/bootstrap
parent9ef6b32c4711f16b93cd51ce4bcf48c06a53f729 (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/bootstrap')
-rw-r--r--src/backend/bootstrap/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/backend/bootstrap/Makefile b/src/backend/bootstrap/Makefile
index 81abfb749a4..ec71797ee12 100644
--- a/src/backend/bootstrap/Makefile
+++ b/src/backend/bootstrap/Makefile
@@ -4,7 +4,7 @@
# Makefile for the bootstrap module
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.10 1997/06/11 01:11:55 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.11 1997/12/17 04:58:21 scrappy Exp $
#
#
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -21,9 +21,11 @@
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)