Query in SQL function still not schema-safe; add a couple
[PostgreSQL.git] / src / backend / utils / misc / Makefile
blob050cae03ebd6132223df93d5ddff10453adb6ad9
1 #-------------------------------------------------------------------------
3 # Makefile--
4 # Makefile for utils/misc
6 # IDENTIFICATION
7 # $PostgreSQL$
9 #-------------------------------------------------------------------------
11 subdir = src/backend/utils/misc
12 top_builddir = ../../../..
13 include $(top_builddir)/src/Makefile.global
15 override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
17 OBJS = guc.o help_config.o pg_rusage.o ps_status.o superuser.o tzparser.o
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
25 include $(top_srcdir)/src/backend/common.mk
27 # guc-file is compiled as part of guc
28 guc.o: $(srcdir)/guc-file.c
30 $(srcdir)/guc-file.c: guc-file.l
31 ifdef FLEX
32 $(FLEX) $(FLEXFLAGS) -o'$@' $<
33 else
34 @$(missing) flex $< $@
35 endif
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