1 #-------------------------------------------------------------------------
3 # Makefile for the bootstrap module
5 # $PostgreSQL: pgsql/src/backend/bootstrap/Makefile,v 1.38 2009/08/28 20:26:18 petere Exp $
7 #-------------------------------------------------------------------------
9 subdir = src/backend/bootstrap
10 top_builddir = ../../..
11 include $(top_builddir)/src/Makefile.global
13 override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
15 OBJS= bootparse.o bootstrap.o
17 include $(top_srcdir)/src/backend/common.mk
20 # bootscanner is compiled as part of bootparse
21 bootparse.o: bootscanner.c
23 bootparse.c: bootparse.y
25 $(BISON) $(BISONFLAGS) -o $@ $<
27 @$(missing) bison $< $@
30 bootscanner.c: bootscanner.l
32 $(FLEX) $(FLEXFLAGS) -o'$@' $<
34 @$(missing) flex $< $@
38 # bootparse.c and bootscanner.c are in the distribution tarball, so
39 # they are not cleaned here.