aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
-rw-r--r--src/interfaces/Makefile2
-rw-r--r--src/interfaces/ecpg/Makefile3
3 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0d4a6ee65b9..4469d2cdf2c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -26,6 +26,10 @@ SUBDIRS = \
makefiles \
test/regress
+# There are too many interdependencies between the subdirectories, so
+# don't attempt parallel make here.
+.NOTPARALLEL:
+
$(recurse)
install: install-local
diff --git a/src/interfaces/Makefile b/src/interfaces/Makefile
index 2c034bc7923..9fe368eed50 100644
--- a/src/interfaces/Makefile
+++ b/src/interfaces/Makefile
@@ -15,3 +15,5 @@ include $(top_builddir)/src/Makefile.global
SUBDIRS = libpq ecpg
$(recurse)
+
+all-ecpg-recurse: all-libpq-recurse
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index d955ceed1c9..ca434c8ce22 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -6,7 +6,8 @@ SUBDIRS = include pgtypeslib ecpglib compatlib preproc
$(recurse)
-all-compatlib-recursive: all-ecpglib-recursive
+all-compatlib-recurse: all-ecpglib-recurse
+all-ecpglib-recurse: all-pgtypeslib-recurse
clean distclean maintainer-clean:
$(MAKE) -C test clean