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