1998-10-28 06:53:57 +03:00
|
|
|
#
|
2012-05-21 15:12:37 +04: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/.
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
1998-10-28 06:53:57 +03:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2000-07-02 22:44:42 +04:00
|
|
|
LIBRARY_NAME = xpwidgets_s
|
2013-05-16 17:33:26 +04:00
|
|
|
MSVC_ENABLE_PGO := 1
|
2004-12-09 22:28:35 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
2010-06-26 01:51:17 +04:00
|
|
|
SHARED_LIBRARY_LIBS = ../shared/$(LIB_PREFIX)widget_shared.$(LIB_SUFFIX)
|
2010-08-26 22:11:54 +04:00
|
|
|
ifdef MOZ_X11
|
|
|
|
SHARED_LIBRARY_LIBS += ../shared/x11/$(LIB_PREFIX)widget_shared_x11.$(LIB_SUFFIX)
|
2010-08-27 01:09:43 +04:00
|
|
|
endif
|
2010-06-26 01:51:17 +04:00
|
|
|
|
2011-08-09 23:38:27 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2013-06-10 16:36:26 +04:00
|
|
|
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
|
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
LOCAL_INCLUDES += \
|
2010-06-26 01:51:17 +04:00
|
|
|
-I$(srcdir)/../shared \
|
2013-05-19 19:01:28 +04:00
|
|
|
-I$(topsrcdir)/layout/base \
|
2011-05-06 14:00:30 +04:00
|
|
|
-I$(topsrcdir)/layout/forms \
|
|
|
|
-I$(topsrcdir)/layout/generic \
|
|
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
2012-08-15 22:52:35 +04:00
|
|
|
-I$(topsrcdir)/view/src \
|
1999-09-16 05:09:42 +04:00
|
|
|
-I$(srcdir) \
|
|
|
|
$(NULL)
|
1998-10-28 06:53:57 +03:00
|
|
|
|
2009-06-30 20:02:37 +04:00
|
|
|
include $(topsrcdir)/config/config.mk
|
1998-10-28 06:53:57 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2013-07-04 16:28:43 +04:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
1999-09-16 05:09:42 +04:00
|
|
|
|
|
|
|
CXXFLAGS += $(TK_CFLAGS)
|