From 5379b84eff3ae207635d7ac9527b0a3f5eb272e7 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 19 Dec 1997 02:09:10 +0000 Subject: 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 :) --- src/backend/regex/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/backend/regex') diff --git a/src/backend/regex/Makefile b/src/backend/regex/Makefile index 6944a8e2b66..ef582940dfc 100644 --- a/src/backend/regex/Makefile +++ b/src/backend/regex/Makefile @@ -4,21 +4,22 @@ # Makefile for regex # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.2 1996/11/09 06:20:58 momjian Exp $ +# $Header: /cvsroot/pgsql/src/backend/regex/Makefile,v 1.3 1997/12/19 02:06:41 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) CFLAGS+=-DPOSIX_MISTAKE - OBJS = regcomp.o regerror.o regexec.o regfree.o all: SUBSYS.o -- cgit v1.2.3