]> granicus.if.org Git - postgresql/blob - src/backend/utils/misc/Makefile
Improve the plan cache invalidation mechanism to make it invalidate plans
[postgresql] / src / backend / utils / misc / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for utils/misc
5 #
6 # IDENTIFICATION
7 #    $PostgreSQL: pgsql/src/backend/utils/misc/Makefile,v 1.28 2008/02/19 10:30:09 petere Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/backend/utils/misc
12 top_builddir = ../../../..
13 include $(top_builddir)/src/Makefile.global
14
15 override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
16
17 OBJS = guc.o help_config.o pg_rusage.o ps_status.o superuser.o tzparser.o
18
19 # This location might depend on the installation directories. Therefore
20 # we can't subsitute it into pg_config.h.
21 ifdef krb_srvtab
22 override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
23 endif
24
25 include $(top_srcdir)/src/backend/common.mk
26
27 # guc-file is compiled as part of guc
28 guc.o: $(srcdir)/guc-file.c
29
30 $(srcdir)/guc-file.c: guc-file.l
31 ifdef FLEX
32         $(FLEX) $(FLEXFLAGS) -o'$@' $<
33 else
34         @$(missing) flex $< $@
35 endif
36
37 # Note: guc-file.c is not deleted by 'make clean',
38 # since we want to ship it in distribution tarballs.
39 clean: 
40         @rm -f lex.yy.c