Bumping manifests a=b2g-bump
[gecko.git] / toolkit / library / Makefile.in
blob580852b14fc3c5a7125e52e4ceba48a5e3e50f88
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 include $(topsrcdir)/toolkit/library/libxul.mk
7 include $(topsrcdir)/config/config.mk
9 ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE))
10 # Wrap linker to measure peak virtual memory usage.
11 EXPAND_LIBS_EXEC := $(PYTHON) $(topsrcdir)/config/link.py linker-vsize
12 endif
14 include $(topsrcdir)/config/rules.mk
16 ifdef COMPILE_ENVIRONMENT
17 libs:: $(FINAL_TARGET)/dependentlibs.list
18 endif
20 $(FINAL_TARGET)/dependentlibs.list: $(topsrcdir)/toolkit/library/dependentlibs.py $(SHARED_LIBRARY) $(wildcard $(if $(wildcard $(FINAL_TARGET)/dependentlibs.list),$(addprefix $(FINAL_TARGET)/,$(shell cat $(FINAL_TARGET)/dependentlibs.list))))
21 $(PYTHON) $< $(SHARED_LIBRARY) -L $(FINAL_TARGET) $(if $(TOOLCHAIN_PREFIX),$(addprefix -p ,$(TOOLCHAIN_PREFIX))) > $@
23 .PHONY: gtestxul
24 gtestxul:
25 $(MAKE) -C gtest target LINK_GTEST=1