1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Marc G. Fournier
1997-12-17 04:59:16 +00:00
parent 9ef6b32c47
commit 542d4e528d
9 changed files with 57 additions and 31 deletions

View File

@ -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)