1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +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:
Marc G. Fournier
1997-12-19 02:09:10 +00:00
parent 30856a3904
commit 5379b84eff
35 changed files with 383 additions and 322 deletions

View File

@ -5,16 +5,18 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Id: Makefile,v 1.7 1997/04/21 04:26:47 vadim Exp $
# $Id: Makefile,v 1.8 1997/12/19 02:05:51 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)

View File

@ -4,16 +4,18 @@
# Makefile for optimizer/path
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.3 1996/11/09 06:18:10 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/optimizer/path/Makefile,v 1.4 1997/12/19 02:05:59 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)

View File

@ -4,16 +4,18 @@
# Makefile for optimizer/plan
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.3 1996/11/09 06:18:17 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/optimizer/plan/Makefile,v 1.4 1997/12/19 02:06:07 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)

View File

@ -4,16 +4,18 @@
# Makefile for optimizer/prep
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.4 1997/11/21 18:10:39 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/optimizer/prep/Makefile,v 1.5 1997/12/19 02:06:10 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)

View File

@ -4,16 +4,18 @@
# Makefile for optimizer/util
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.3 1996/11/06 09:29:18 scrappy Exp $
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.4 1997/12/19 02:06:17 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)