1 #-------------------------------------------------------------------------
3 # Makefile for the bootstrap module
5 # src/backend/bootstrap/Makefile
7 #-------------------------------------------------------------------------
9 subdir = src/backend/bootstrap
10 top_builddir = ../../..
11 include $(top_builddir)/src/Makefile.global
13 override CPPFLAGS := -I. -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.