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