2012-02-01 22:09:00 -08:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2014-07-22 21:33:09 -07:00
|
|
|
include $(topsrcdir)/toolkit/library/libxul.mk
|
|
|
|
|
2014-08-13 11:24:15 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
2014-07-22 21:33:09 -07:00
|
|
|
ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE))
|
|
|
|
# Wrap linker to measure peak virtual memory usage.
|
2014-08-13 11:24:15 -07:00
|
|
|
EXPAND_LIBS_EXEC := $(PYTHON) $(topsrcdir)/config/link.py linker-vsize
|
2014-07-22 21:33:09 -07:00
|
|
|
endif
|
|
|
|
|
2009-11-02 01:17:27 -08:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2014-07-22 21:33:09 -07:00
|
|
|
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))) > $@
|
|
|
|
|
2013-03-11 11:47:40 -07:00
|
|
|
.PHONY: gtestxul
|
2014-03-31 04:21:38 -07:00
|
|
|
gtestxul:
|
2014-07-28 16:59:27 -07:00
|
|
|
$(MAKE) -C gtest target LINK_GTEST=1
|