From: Ondrej Zajicek Date: Mon, 10 Aug 2009 11:59:56 +0000 (+0200) Subject: Compilation and dependency generation should be serialized. X-Git-Tag: v1.2.0~37^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2cfc509960741bd587cf92f7d154d06fbb2c9a4;p=thirdparty%2Fbird.git Compilation and dependency generation should be serialized. --- diff --git a/tools/Makefile.in b/tools/Makefile.in index 039f1ea9d..daa753c3e 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -19,7 +19,11 @@ birdc-dep := client/all.o lib/birdlib.a $(birdc-dep): sysdep/paths.h .dep-stamp subdir -subdir depend: sysdep/paths.h .dir-stamp +depend: sysdep/paths.h .dir-stamp + set -e ; for a in $(dynamic-dirs) ; do $(MAKE) -C $$a $@ ; done + set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done + +subdir: sysdep/paths.h .dir-stamp .dep-stamp set -e ; for a in $(dynamic-dirs) ; do $(MAKE) -C $$a $@ ; done set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done