toolkit/library/Makefile.in
author Bobby Holley <bobbyholley@gmail.com>
Sun, 19 Jul 2015 19:23:55 -0700
changeset 280067 a37164c4c1bbec3a11efb47e5a4f92034c8843d5
parent 276236 85d4d56a06498281e552c2cd8922159f34b90cc9
child 366894 4b87b5738f150c717164be42bc9c8fec126242e3
child 389659 8786985093f68c81b708bae41981db9dcf8647ca
child 415761 20702baacfae544276279219a07e24087829789d
child 415766 ac1566a53d281e08b902c59c5855a96e3c739b5d
permissions -rw-r--r--
Bug 1161831 - Tests. r=billm

# 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/.

include $(topsrcdir)/toolkit/library/libxul.mk

include $(topsrcdir)/config/config.mk

ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE))
# Wrap linker to measure peak virtual memory usage.
EXPAND_LIBS_EXEC := $(PYTHON) $(topsrcdir)/config/link.py linker-vsize
endif

include $(topsrcdir)/config/rules.mk

ifdef COMPILE_ENVIRONMENT
target:: $(FINAL_TARGET)/dependentlibs.list
endif

$(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))))
	$(PYTHON) $< $(SHARED_LIBRARY) -L $(FINAL_TARGET) $(if $(TOOLCHAIN_PREFIX),$(addprefix -p ,$(TOOLCHAIN_PREFIX))) > $@

.PHONY: gtestxul
gtestxul:
	$(MAKE) -C $(DEPTH) toolkit/library/gtest/target LINK_GTEST=1