You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for utils/misc
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
|
|
|
# $PostgreSQL: pgsql/src/backend/utils/misc/Makefile,v 1.28 2008/02/19 10:30:09 petere Exp $
|
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
subdir = src/backend/utils/misc
|
|
|
|
top_builddir = ../../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
|
|
|
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
|
|
|
|
|
|
|
|
OBJS = guc.o help_config.o pg_rusage.o ps_status.o superuser.o tzparser.o
|
|
|
|
|
|
|
|
# This location might depend on the installation directories. Therefore
|
|
|
|
# we can't subsitute it into pg_config.h.
|
|
|
|
ifdef krb_srvtab
|
|
|
|
override CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|
|
|
|
|
|
|
|
# guc-file is compiled as part of guc
|
|
|
|
guc.o: $(srcdir)/guc-file.c
|
|
|
|
|
|
|
|
$(srcdir)/guc-file.c: guc-file.l
|
|
|
|
ifdef FLEX
|
|
|
|
$(FLEX) $(FLEXFLAGS) -o'$@' $<
|
|
|
|
else
|
|
|
|
@$(missing) flex $< $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Note: guc-file.c is not deleted by 'make clean',
|
|
|
|
# since we want to ship it in distribution tarballs.
|
|
|
|
clean:
|
|
|
|
@rm -f lex.yy.c
|