mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
43 lines
950 B
Makefile
43 lines
950 B
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/.
|
|
|
|
SDK_BINARY = $(PROGRAM)
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(topsrcdir)/toolkit/xre \
|
|
$(NULL)
|
|
|
|
LIBS = \
|
|
$(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
|
|
$(LIBXUL_LIBS) \
|
|
$(XPCOM_LIBS) \
|
|
$(NULL)
|
|
|
|
ifdef JS_SHARED_LIBRARY
|
|
LIBS += $(MOZ_JS_LIBS)
|
|
endif
|
|
|
|
LIBS += $(NSPR_LIBS)
|
|
|
|
NSDISTMODE = copy
|
|
|
|
ifeq ($(OS_TEST),ia64)
|
|
LIBS += $(JEMALLOC_LIBS)
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
ifdef _MSC_VER
|
|
# Always enter a Windows program through wmain, whether or not we're
|
|
# a console application.
|
|
WIN32_EXE_LDFLAGS += -ENTRY:wmainCRTStartup
|
|
endif
|
|
|
|
ifdef MOZ_VTUNE
|
|
CXXFLAGS += -IC:/Program\ Files/Intel/VTune/Analyzer/Include
|
|
LIBS += C:/Program\ Files/Intel/VTune/Analyzer/Lib/VtuneApi.lib
|
|
endif
|