зеркало из https://github.com/mozilla/gecko-dev.git
Bug 287428 - xulrunner (libxul) busted when you use the "alldep" target instead of "default", because we don't build by tier. r=darin r2=dbaron
This commit is contained in:
Родитель
482ef684eb
Коммит
7428784e38
|
@ -50,7 +50,9 @@ ifeq ($(BUILD_MODULES),all)
|
|||
# Divide the default build into tiers.
|
||||
# Tiers must be defined on module boundaries
|
||||
#
|
||||
default: $(SUBMAKEFILES)
|
||||
SUPPRESS_DEFAULT_RULES = 1
|
||||
|
||||
default alldep all:: $(SUBMAKEFILES)
|
||||
$(RM) -rf $(DIST)/sdk
|
||||
$(RM) -rf $(DIST)/include
|
||||
$(MAKE) -C config export
|
||||
|
@ -418,7 +420,7 @@ SUBMAKEFILES := xpcom/typelib/Makefile
|
|||
endif
|
||||
endif
|
||||
|
||||
default: $(SUBMAKEFILES)
|
||||
default:: $(SUBMAKEFILES)
|
||||
$(MAKE) export
|
||||
$(MAKE) libs
|
||||
|
||||
|
|
|
@ -566,6 +566,12 @@ endif
|
|||
|
||||
################################################################################
|
||||
|
||||
# The root makefile doesn't want to do a plain export/libs, because
|
||||
# of the tiers and because of libxul. Suppress the default rules in favor
|
||||
# of something else. Makefiles which use this var *must* provide a sensible
|
||||
# default rule before including rules.mk
|
||||
ifndef SUPPRESS_DEFAULT_RULES
|
||||
|
||||
all::
|
||||
$(MAKE) export
|
||||
$(MAKE) libs
|
||||
|
@ -576,6 +582,8 @@ alldep::
|
|||
$(MAKE) depend
|
||||
$(MAKE) libs
|
||||
|
||||
endif # SUPPRESS_DEFAULT_RULES
|
||||
|
||||
# Do everything from scratch
|
||||
everything::
|
||||
$(MAKE) clean
|
||||
|
|
Загрузка…
Ссылка в новой задаче