| 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 = \ |
| 16 |
bootparse.o \ |
| 17 |
bootscanner.o \ |
| 18 |
bootstrap.o |
| 19 |
|
| 20 |
include $(top_srcdir)/src/backend/common.mk |
| 21 |
|
| 22 |
# See notes in src/backend/parser/Makefile about the following two rules |
| 23 |
bootparse.h: bootparse.c |
| 24 |
touch $@ |
| 25 |
|
| 26 |
bootparse.c: BISONFLAGS += -d |
| 27 |
|
| 28 |
# Force these dependencies to be known even without dependency info built: |
| 29 |
bootparse.o bootscanner.o: bootparse.h |
| 30 |
|
| 31 |
clean: |
| 32 |
rm -f bootparse.c \ |
| 33 |
bootparse.h \ |
| 34 |
bootscanner.c |