summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/Makefile
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-19 02:09:10 +0000
commit5379b84eff3ae207635d7ac9527b0a3f5eb272e7 (patch)
tree84d6a71200ffe5edf43596bc2fbf3276737e086a /src/backend/utils/misc/Makefile
parent30856a390457682db4f8577e9f5a7f8521839c6f (diff)
downloadpostgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.tar.gz
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 :)
Diffstat (limited to 'src/backend/utils/misc/Makefile')
-rw-r--r--src/backend/utils/misc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/utils/misc/Makefile b/src/backend/utils/misc/Makefile
index 54bf707a67..667d59efac 100644
--- a/src/backend/utils/misc/Makefile
+++ b/src/backend/utils/misc/Makefile
@@ -4,15 +4,18 @@
# Makefile for utils/misc
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/utils/misc/Makefile,v 1.3 1997/11/07 07:03:37 thomas Exp $
+# $Header: /cvsroot/pgsql/src/backend/utils/misc/Makefile,v 1.4 1997/12/19 02:08:42 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
-INCLUDE_OPT = -I../../port/$(PORTNAME) \
- -I../../../include
+INCLUDE_OPT = -I../..
+
+ifdef PORTNAME
+INCLUDE+=-I../../port/$(PORTNAME)
+endif
CFLAGS += $(INCLUDE_OPT)