mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
# 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/.
|
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
|
CXXFLAGS += $(TK_CFLAGS)
|
|
endif
|
|
|
|
include $(topsrcdir)/toolkit/library/libxul.mk
|
|
# Please don't remove the following comment, because it does some magic:
|
|
# libxul.mk adds FT2_LIBS, NSS_LIBS and NSPR_LIBS, but we want to have the
|
|
# string in this file to trigger a dependency on freetype2, nss and nspr.
|
|
|
|
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
|