Bug 905938 - Use explicit rules for {export,libs,tools}_tier_%. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 20 Aug 2013 15:22:42 +0900
changeset 156117 bd87262c0cd994365169478b495529d18d088fb8
parent 156116 30ba12ec4c4107aff5363d3a14b3fc43abbb2cd7
child 156118 f6f98e1ea1ef6139d838555f9d97727821e5c96f
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs905938
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 905938 - Use explicit rules for {export,libs,tools}_tier_%. r=gps
config/makefiles/target_export.mk
config/makefiles/target_libs.mk
config/makefiles/target_tools.mk
js/src/config/makefiles/target_export.mk
js/src/config/makefiles/target_libs.mk
js/src/config/makefiles/target_tools.mk
--- a/config/makefiles/target_export.mk
+++ b/config/makefiles/target_export.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_export = $(addsuffix _export,$(PARALLEL_DIRS))
 
 .PHONY: export $(PARALLEL_DIRS_export)
 
 ###############
 ## TIER targets
 ###############
-export_tier_%:
+$(addprefix export_tier_,$(TIERS)): export_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,export,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 export:: $(PARALLEL_DIRS_export)
--- a/config/makefiles/target_libs.mk
+++ b/config/makefiles/target_libs.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_libs = $(addsuffix _libs,$(PARALLEL_DIRS))
 
 .PHONY: libs $(PARALLEL_DIRS_libs)
 
 ###############
 ## TIER targets
 ###############
-libs_tier_%:
+$(addprefix libs_tier_,$(TIERS)): libs_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,libs,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 libs:: $(PARALLEL_DIRS_libs)
--- a/config/makefiles/target_tools.mk
+++ b/config/makefiles/target_tools.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_tools = $(addsuffix _tools,$(PARALLEL_DIRS))
 
 .PHONY: tools $(PARALLEL_DIRS_tools)
 
 ###############
 ## TIER targets
 ###############
-tools_tier_%:
+$(addprefix tools_tier_,$(TIERS)): tools_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,tools,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 tools:: $(PARALLEL_DIRS_tools)
--- a/js/src/config/makefiles/target_export.mk
+++ b/js/src/config/makefiles/target_export.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_export = $(addsuffix _export,$(PARALLEL_DIRS))
 
 .PHONY: export $(PARALLEL_DIRS_export)
 
 ###############
 ## TIER targets
 ###############
-export_tier_%:
+$(addprefix export_tier_,$(TIERS)): export_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,export,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 export:: $(PARALLEL_DIRS_export)
--- a/js/src/config/makefiles/target_libs.mk
+++ b/js/src/config/makefiles/target_libs.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_libs = $(addsuffix _libs,$(PARALLEL_DIRS))
 
 .PHONY: libs $(PARALLEL_DIRS_libs)
 
 ###############
 ## TIER targets
 ###############
-libs_tier_%:
+$(addprefix libs_tier_,$(TIERS)): libs_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,libs,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 libs:: $(PARALLEL_DIRS_libs)
--- a/js/src/config/makefiles/target_tools.mk
+++ b/js/src/config/makefiles/target_tools.mk
@@ -7,17 +7,17 @@
 
 PARALLEL_DIRS_tools = $(addsuffix _tools,$(PARALLEL_DIRS))
 
 .PHONY: tools $(PARALLEL_DIRS_tools)
 
 ###############
 ## TIER targets
 ###############
-tools_tier_%:
+$(addprefix tools_tier_,$(TIERS)): tools_tier_%:
 	@$(ECHO) "$@"
 	$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,tools,$(dir)))
 
 #################
 ## Common targets
 #################
 ifdef PARALLEL_DIRS
 tools:: $(PARALLEL_DIRS_tools)