mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
52 lines
1.2 KiB
Makefile
52 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = xpwidgets_s
|
|
MSVC_ENABLE_PGO := 1
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
SHARED_LIBRARY_LIBS = ../shared/$(LIB_PREFIX)widget_shared.$(LIB_SUFFIX)
|
|
ifdef MOZ_X11
|
|
SHARED_LIBRARY_LIBS += ../shared/x11/$(LIB_PREFIX)widget_shared_x11.$(LIB_SUFFIX)
|
|
endif
|
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
endif
|
|
|
|
ifneq (,$(filter gtk3,$(MOZ_WIDGET_TOOLKIT)))
|
|
# gtk3 shares includes with gtk2
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../gtk2 \
|
|
$(NULL)
|
|
else
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../$(MOZ_WIDGET_TOOLKIT) \
|
|
$(NULL)
|
|
endif
|
|
|
|
LOCAL_INCLUDES += \
|
|
-I$(srcdir)/../shared \
|
|
-I$(topsrcdir)/layout/base \
|
|
-I$(topsrcdir)/layout/forms \
|
|
-I$(topsrcdir)/layout/generic \
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
|
-I$(topsrcdir)/view/src \
|
|
-I$(srcdir) \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
include $(topsrcdir)/config/rules.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|