1#------------------------------------------------------------------------- 2# 3# Makefile-- 4# Makefile for utils/misc 5# 6# IDENTIFICATION 7# src/backend/utils/misc/Makefile 8# 9#------------------------------------------------------------------------- 10 11subdir = src/backend/utils/misc 12top_builddir = ../../../.. 13include $(top_builddir)/src/Makefile.global 14 15override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) 16 17OBJS = backend_random.o guc.o help_config.o pg_config.o pg_controldata.o \ 18 pg_rusage.o ps_status.o queryenvironment.o rls.o sampling.o \ 19 superuser.o timeout.o tzparser.o 20 21# This location might depend on the installation directories. Therefore 22# we can't substitute it into pg_config.h. 23ifdef krb_srvtab 24override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"' 25endif 26 27include $(top_srcdir)/src/backend/common.mk 28 29# guc-file is compiled as part of guc 30guc.o: guc-file.c 31 32# Note: guc-file.c is not deleted by 'make clean', 33# since we want to ship it in distribution tarballs. 34clean: 35 @rm -f lex.yy.c 36