# 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
# 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