1 #-------------------------------------------------------------------------
4 # Makefile for utils/misc
7 # $PostgreSQL: pgsql/src/backend/utils/misc/Makefile,v 1.30 2010/02/11 14:29:50 teodor Exp $
9 #-------------------------------------------------------------------------
11 subdir = src/backend/utils/misc
12 top_builddir = ../../../..
13 include $(top_builddir)/src/Makefile.global
15 override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
17 OBJS = guc.o help_config.o pg_rusage.o ps_status.o superuser.o tzparser.o \
20 # This location might depend on the installation directories. Therefore
21 # we can't subsitute it into pg_config.h.
23 override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
26 include $(top_srcdir)/src/backend/common.mk
28 # guc-file is compiled as part of guc
31 guc-file.c: guc-file.l
33 $(FLEX) $(FLEXFLAGS) -o'$@' $<
35 @$(missing) flex $< $@
38 # Note: guc-file.c is not deleted by 'make clean',
39 # since we want to ship it in distribution tarballs.