summaryrefslogtreecommitdiff
path: root/tools/Makefile.in
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-10 13:59:56 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-10 13:59:56 +0200
commitf2cfc509960741bd587cf92f7d154d06fbb2c9a4 (patch)
tree5abf1456fd36773fb0584dc7d1a11af4bb349a30 /tools/Makefile.in
parent581b59907ca5b79b44cc0654e57c34ab77883a96 (diff)
Compilation and dependency generation should be serialized.
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r--tools/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 039f1ea9..daa753c3 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