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::).

This commit is contained in:
seawood%netscape.com 2001-11-30 22:53:10 +00:00
Родитель 938730f121
Коммит b618fbc00f
1 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -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::