summaryrefslogtreecommitdiffstats
path: root/src/backend/bootstrap/Makefile
blob: 606c8021e766b8e361e1894b827a38a0a18818a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#-------------------------------------------------------------------------
#
# Makefile for the bootstrap module
#
# src/backend/bootstrap/Makefile
#
#-------------------------------------------------------------------------

subdir = src/backend/bootstrap
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)

OBJS = \
	bootparse.o \
	bootscanner.o \
	bootstrap.o

include $(top_srcdir)/src/backend/common.mk

# See notes in src/backend/parser/Makefile about the following two rules
bootparse.h: bootparse.c
	touch $@

bootparse.c: BISONFLAGS += -d

# Force these dependencies to be known even without dependency info built:
bootparse.o bootscanner.o: bootparse.h

# bootparse.c and bootscanner.c are in the distribution tarball, so
# they are not cleaned here.