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
This commit is contained in:
parent
547df4c3e4
commit
eadbebad36
@ -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::
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user