~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/backend/bootstrap/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-11 10:41:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110511104153-psbh2o58553fv1m0
Tags: upstream-9.1~beta1
ImportĀ upstreamĀ versionĀ 9.1~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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.