2
# vim:set ts=8 sw=8 sts=8 noet:
4
# This Source Code Form is subject to the terms of the Mozilla Public
5
# License, v. 2.0. If a copy of the MPL was not distributed with this
6
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
PARALLEL_DIRS_export = $(addsuffix _export,$(PARALLEL_DIRS))
10
.PHONY: export $(PARALLEL_DIRS_export)
17
@$(MAKE_TIER_SUBMAKEFILES)
18
$(foreach dir,$(tier_$*_dirs),$(call SUBMAKE,export,$(dir)))
24
export:: $(PARALLEL_DIRS_export)
26
$(PARALLEL_DIRS_export): %_export: %/Makefile
27
+@$(call SUBMAKE,export,$*)
30
export:: $(SUBMAKEFILES) $(MAKE_DIRS) $(if $(XPIDLSRCS),$(IDL_DIR))
32
$(LOOP_OVER_TOOL_DIRS)
36
# Rule to create list of libraries for final link
38
# todo: use pre-req deps rather than conditionals
39
export:: export-gen-final-lib-link-list
40
export-gen-final-lib-link-list:
42
ifdef EXPORT_LIBRARY #{
45
$(PYTHON) $(MOZILLA_DIR)/config/buildlist.py $(FINAL_LINK_LIBS) $(STATIC_LIBRARY_NAME)
47
endif #} EXPORT_LIBRARY