]> granicus.if.org Git - postgresql/blobdiff - src/backend/bootstrap/Makefile
From: t-ishii@sra.co.jp
[postgresql] / src / backend / bootstrap / Makefile
index 81abfb749a472ee496f8b5b17987f086f328e89f..ccf8f46a242857e2722f98021acdb1e179be83a7 100644 (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.15 1998/07/26 04:30:17 scrappy Exp $
 #
 #
 # We must build bootparse.c and bootscanner.c with yacc and lex and sed,
 SRCDIR= ../..
 include ../../Makefile.global
 
-INCLUDE_OPT= -I.. \
-             -I../port/$(PORTNAME) \
-             -I../../include
-
-CFLAGS+= $(INCLUDE_OPT)  
+CFLAGS += -I..
+ifdef MULTIBYTE
+CFLAGS+= $(MBFLAGS)
+endif
 
 ifeq ($(CC), gcc)
 CFLAGS+= -Wno-error
@@ -67,8 +66,8 @@ clean:
 
 # This is unusual:  We actually have to build some of the parts before
 # we know what the header file dependencies are.  
-dep: bootparse.c bootscanner.c bootstrap_tokens.h
-       $(CC) -MM $(INCLUDE_OPT) *.c >depend
+dep depend: bootparse.c bootscanner.c bootstrap_tokens.h
+       $(CC) -MM $(CFLAGS) *.c >depend
 
 ifeq (depend,$(wildcard depend))
 include depend