toolkit/library/Makefile.in
author Martin Thomson <martin.thomson@gmail.com>
Tue, 31 Mar 2015 16:01:52 -0700
changeset 237043 9a21cd6530b1ac7ccf66bc659ef40360ba28c454
parent 220980 30e90f290a88fac90162395ee8085e61f09779c6
child 251834 85d4d56a06498281e552c2cd8922159f34b90cc9
permissions -rw-r--r--
Bug 996238 - Adding test for asymmetric media isolation across PC. r=ekr

# 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 gtest target LINK_GTEST=1