summaryrefslogtreecommitdiffstats
path: root/src/backend/utils/misc/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:05 +0000
commit46651ce6fe013220ed397add242004d764fc0153 (patch)
tree6e5299f990f88e60174a1d3ae6e48eedd2688b2b /src/backend/utils/misc/Makefile
parentInitial commit. (diff)
downloadpostgresql-14-46651ce6fe013220ed397add242004d764fc0153.tar.xz
postgresql-14-46651ce6fe013220ed397add242004d764fc0153.zip
Adding upstream version 14.5.upstream/14.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/backend/utils/misc/Makefile')
-rw-r--r--src/backend/utils/misc/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/backend/utils/misc/Makefile b/src/backend/utils/misc/Makefile
new file mode 100644
index 0000000..1d5327c
--- /dev/null
+++ b/src/backend/utils/misc/Makefile
@@ -0,0 +1,46 @@
+#-------------------------------------------------------------------------
+#
+# Makefile--
+# Makefile for utils/misc
+#
+# IDENTIFICATION
+# src/backend/utils/misc/Makefile
+#
+#-------------------------------------------------------------------------
+
+subdir = src/backend/utils/misc
+top_builddir = ../../../..
+include $(top_builddir)/src/Makefile.global
+
+override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
+
+OBJS = \
+ guc.o \
+ help_config.o \
+ pg_config.o \
+ pg_controldata.o \
+ pg_rusage.o \
+ ps_status.o \
+ queryenvironment.o \
+ queryjumble.o \
+ rls.o \
+ sampling.o \
+ superuser.o \
+ timeout.o \
+ tzparser.o
+
+# This location might depend on the installation directories. Therefore
+# we can't substitute 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: guc-file.c
+
+# 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