]> granicus.if.org Git - postgresql/blob - src/backend/bootstrap/Makefile
Remove useless whitespace at end of lines
[postgresql] / src / backend / bootstrap / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for the bootstrap module
4 #
5 # src/backend/bootstrap/Makefile
6 #
7 #-------------------------------------------------------------------------
8
9 subdir = src/backend/bootstrap
10 top_builddir = ../../..
11 include $(top_builddir)/src/Makefile.global
12
13 override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
14
15 OBJS= bootparse.o bootstrap.o
16
17 include $(top_srcdir)/src/backend/common.mk
18
19
20 # bootscanner is compiled as part of bootparse
21 bootparse.o: bootscanner.c
22
23 bootparse.c: bootparse.y
24 ifdef BISON
25         $(BISON) $(BISONFLAGS) -o $@ $<
26 else
27         @$(missing) bison $< $@
28 endif
29
30 bootscanner.c: bootscanner.l
31 ifdef FLEX
32         $(FLEX) $(FLEXFLAGS) -o'$@' $<
33 else
34         @$(missing) flex $< $@
35 endif
36
37
38 # bootparse.c and bootscanner.c are in the distribution tarball, so
39 # they are not cleaned here.