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:
bsmedberg%covad.net 2005-03-31 21:40:23 +00:00
Родитель 482ef684eb
Коммит 7428784e38
2 изменённых файлов: 12 добавлений и 2 удалений

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

@ -50,7 +50,9 @@ ifeq ($(BUILD_MODULES),all)
# Divide the default build into tiers. # Divide the default build into tiers.
# Tiers must be defined on module boundaries # Tiers must be defined on module boundaries
# #
default: $(SUBMAKEFILES) SUPPRESS_DEFAULT_RULES = 1
default alldep all:: $(SUBMAKEFILES)
$(RM) -rf $(DIST)/sdk $(RM) -rf $(DIST)/sdk
$(RM) -rf $(DIST)/include $(RM) -rf $(DIST)/include
$(MAKE) -C config export $(MAKE) -C config export
@ -418,7 +420,7 @@ SUBMAKEFILES := xpcom/typelib/Makefile
endif endif
endif endif
default: $(SUBMAKEFILES) default:: $(SUBMAKEFILES)
$(MAKE) export $(MAKE) export
$(MAKE) libs $(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:: all::
$(MAKE) export $(MAKE) export
$(MAKE) libs $(MAKE) libs
@ -576,6 +582,8 @@ alldep::
$(MAKE) depend $(MAKE) depend
$(MAKE) libs $(MAKE) libs
endif # SUPPRESS_DEFAULT_RULES
# Do everything from scratch # Do everything from scratch
everything:: everything::
$(MAKE) clean $(MAKE) clean