mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
More cleanups. I can now compile without PORTNAME being defined n
Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
This commit is contained in:
@ -4,16 +4,18 @@
|
||||
# Makefile for rewrite
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.3 1996/11/09 06:21:12 momjian Exp $
|
||||
# $Header: /cvsroot/pgsql/src/backend/rewrite/Makefile,v 1.4 1997/12/19 02:06:48 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)
|
||||
|
||||
|
Reference in New Issue
Block a user