From eadbebad362a296e79855c39bbf483a6fcedeca8 Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Fri, 30 Nov 2001 22:53:10 +0000 Subject: [PATCH] Since jobserver feature of gmake causes dependency targets to be processed in parallel, we need to invoke $(MAKE) for each of the phases that we want to build from a meta target (like all:: & alldep::). git-svn-id: svn://10.0.0.236/trunk@109398 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/rules.mk | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/mozilla/config/rules.mk b/mozilla/config/rules.mk index b40eabf42a8..03b3e3c5e9b 100644 --- a/mozilla/config/rules.mk +++ b/mozilla/config/rules.mk @@ -27,9 +27,6 @@ # # Pass 2. libs - Create libraries & programs. Publish them to dist/bin. # -# `gmake` will build each of these properly, but `gmake -jN` may break -# use `gmake MAKE='gmake -jN'` instead -# # Parameters to this makefile (set these before including): # # a) @@ -472,13 +469,20 @@ endif ################################################################################ -all:: export libs +all:: + $(MAKE) export + $(MAKE) libs # Do depend as well -alldep:: export depend libs +alldep:: + $(MAKE) export + $(MAKE) depend + $(MAKE) libs # Do everything from scratch -everything:: clean alldep +everything:: + $(MAKE) clean + $(MAKE) alldep # Add dummy depend target for tinderboxes depend::