2011-07-07 08:29:41 -07:00
|
|
|
# -*- makefile -*-
|
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-07-07 08:29:41 -07:00
|
|
|
|
|
|
|
PARALLEL_DIRS_export = $(addsuffix _export,$(PARALLEL_DIRS))
|
|
|
|
|
|
|
|
.PHONY: export $(PARALLEL_DIRS_export)
|
|
|
|
|
|
|
|
###############
|
|
|
|
## TIER targets
|
|
|
|
###############
|
|
|
|
export_tier_%:
|
|
|
|
@$(ECHO) "$@"
|
2013-05-23 16:28:09 -07:00
|
|
|
$(foreach dir,$(tier_$*_dirs),$(call TIER_DIR_SUBMAKE,export,$(dir)))
|
2011-07-07 08:29:41 -07:00
|
|
|
|
|
|
|
#################
|
|
|
|
## Common targets
|
|
|
|
#################
|
|
|
|
ifdef PARALLEL_DIRS
|
|
|
|
export:: $(PARALLEL_DIRS_export)
|
|
|
|
|
|
|
|
$(PARALLEL_DIRS_export): %_export: %/Makefile
|
|
|
|
+@$(call SUBMAKE,export,$*)
|
|
|
|
endif
|
|
|
|
|
2012-08-28 23:55:57 -07:00
|
|
|
export:: $(SUBMAKEFILES) $(MAKE_DIRS)
|
2011-07-07 08:29:41 -07:00
|
|
|
$(LOOP_OVER_DIRS)
|
|
|
|
$(LOOP_OVER_TOOL_DIRS)
|
2012-05-23 08:19:24 -07:00
|
|
|
|