summaryrefslogtreecommitdiffstats
path: root/src/interfaces/ecpg/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/interfaces/ecpg/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/interfaces/ecpg/Makefile')
-rw-r--r--src/interfaces/ecpg/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
new file mode 100644
index 0000000..e4bbf7b
--- /dev/null
+++ b/src/interfaces/ecpg/Makefile
@@ -0,0 +1,31 @@
+subdir = src/interfaces/ecpg
+top_builddir = ../../..
+include $(top_builddir)/src/Makefile.global
+
+SUBDIRS = include pgtypeslib ecpglib compatlib preproc
+
+# Suppress parallel build of subdirectories to avoid a bug in GNU make 3.82, cf
+# https://savannah.gnu.org/bugs/?30653
+# https://bugzilla.redhat.com/show_bug.cgi?id=835424
+# (There are some other parallelism bugs in the subdirectory makefiles
+# themselves, but there's little point in fixing them as long as we have
+# to use this big hammer.)
+ifeq ($(MAKE_VERSION),3.82)
+.NOTPARALLEL:
+endif
+
+$(recurse)
+
+all-pgtypeslib-recurse all-ecpglib-recurse all-compatlib-recurse all-preproc-recurse: all-include-recurse
+all-compatlib-recurse: all-ecpglib-recurse
+all-ecpglib-recurse: all-pgtypeslib-recurse
+install-pgtypeslib-recurse install-ecpglib-recurse install-compatlib-recurse install-preproc-recurse: install-include-recurse
+install-compatlib-recurse: install-ecpglib-recurse
+install-ecpglib-recurse: install-pgtypeslib-recurse
+
+clean distclean maintainer-clean:
+ $(MAKE) -C test clean
+
+checktcp: | temp-install
+check checktcp installcheck:
+ $(MAKE) -C test $@