summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorPeter Eisentraut2010-11-17 06:08:41 +0000
committerPeter Eisentraut2010-11-17 06:08:41 +0000
commitcfad144f894b306fc300f5d03ea52a32d4624db0 (patch)
tree9ae54be78503f6f28ad6d3cacc70dfde3fc28154 /src/interfaces
parentb7fcf68e8632e757a50352c9567bb630ed285201 (diff)
Additional fixes for parallel make
Add some additional dependencies to constrain the build order to prevent parallel make from failing. In the case of src/Makefile, this is likely to be too complicated to be worth maintaining, so just add .NOTPARALLEL to get the old for-loop-like behavior. More fine-tuning might be necessary for some platforms or configurations.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/Makefile2
-rw-r--r--src/interfaces/ecpg/Makefile3
2 files changed, 4 insertions, 1 deletions
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