toolkit/library/Makefile.in
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 07 Aug 2014 14:21:03 +0900
changeset 198272 6b285759568cb0b743cb9497e021f6552cc7e349
parent 197053 6c0cfdafc568627e7deabaa129a0b79df5ec0e65
child 198894 5e9b13c3595b31764986fbad2eaa6722dbf3aa51
permissions -rw-r--r--
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps * * * Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"

# 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

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

include $(topsrcdir)/config/rules.mk

ifdef COMPILE_ENVIRONMENT
libs:: $(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