2005-02-26 19:43:34 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for utils/misc
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
2010-09-20 22:08:53 +02:00
|
|
|
# src/backend/utils/misc/Makefile
|
2005-02-26 19:43:34 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
2000-08-25 12:00:35 +02:00
|
|
|
|
|
|
|
subdir = src/backend/utils/misc
|
|
|
|
top_builddir = ../../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
1996-11-02 03:06:47 +01:00
|
|
|
|
2009-08-28 22:26:19 +02:00
|
|
|
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
|
2002-11-01 23:52:34 +01:00
|
|
|
|
2016-02-17 18:12:06 +01:00
|
|
|
OBJS = guc.o help_config.o pg_config.o pg_rusage.o \
|
|
|
|
ps_status.o rls.o sampling.o superuser.o timeout.o tzparser.o
|
1996-11-02 03:06:47 +01:00
|
|
|
|
2000-08-25 12:00:35 +02:00
|
|
|
# This location might depend on the installation directories. Therefore
|
2005-02-26 19:43:34 +01:00
|
|
|
# we can't subsitute it into pg_config.h.
|
2000-08-25 12:00:35 +02:00
|
|
|
ifdef krb_srvtab
|
2000-10-20 23:04:27 +02:00
|
|
|
override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
|
2000-08-25 12:00:35 +02:00
|
|
|
endif
|
|
|
|
|
2008-02-19 11:30:09 +01:00
|
|
|
include $(top_srcdir)/src/backend/common.mk
|
1996-11-02 03:06:47 +01:00
|
|
|
|
2002-11-01 23:52:34 +01:00
|
|
|
# guc-file is compiled as part of guc
|
2009-08-28 22:26:19 +02:00
|
|
|
guc.o: guc-file.c
|
2002-11-01 23:52:34 +01:00
|
|
|
|
2000-06-01 16:52:25 +02:00
|
|
|
# Note: guc-file.c is not deleted by 'make clean',
|
|
|
|
# since we want to ship it in distribution tarballs.
|
2010-11-23 21:27:50 +01:00
|
|
|
clean:
|
2000-08-28 13:53:23 +02:00
|
|
|
@rm -f lex.yy.c
|