2012-02-02 06:09:00 +00: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/.
|
2004-12-06 22:39:54 +00:00
|
|
|
|
2014-07-23 04:33:09 +00:00
|
|
|
include $(topsrcdir)/toolkit/library/libxul.mk
|
|
|
|
|
2014-08-13 18:24:15 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
|
2014-07-23 04:33:09 +00:00
|
|
|
ifeq (WINNT_1,$(OS_TARGET)_$(MOZ_PROFILE_USE))
|
|
|
|
# Wrap linker to measure peak virtual memory usage.
|
2014-08-13 18:24:15 +00:00
|
|
|
EXPAND_LIBS_EXEC := $(PYTHON) $(topsrcdir)/config/link.py linker-vsize
|
2014-07-23 04:33:09 +00:00
|
|
|
endif
|
|
|
|
|
2009-11-02 09:17:27 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2014-07-23 04:33:09 +00:00
|
|
|
ifdef COMPILE_ENVIRONMENT
|
2014-12-18 11:03:53 +00:00
|
|
|
target:: $(FINAL_TARGET)/dependentlibs.list
|
2014-07-23 04:33:09 +00:00
|
|
|
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 18:47:40 +00:00
|
|
|
.PHONY: gtestxul
|
2014-03-31 11:21:38 +00:00
|
|
|
gtestxul:
|
2014-07-28 23:59:27 +00:00
|
|
|
$(MAKE) -C gtest target LINK_GTEST=1
|