2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-01-03 19:10:06 -08:00
|
|
|
RESFILE = widget.res
|
2013-07-12 05:56:54 -07:00
|
|
|
DEFINES += -DMOZ_UNICODE
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-06-06 03:37:44 -07:00
|
|
|
ifdef MOZ_ENABLE_D3D9_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D9_LAYER
|
|
|
|
endif
|
|
|
|
|
2010-09-30 15:53:47 -07:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2012-01-03 19:10:06 -08:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
|
|
|
../xpwidgets/$(LIB_PREFIX)xpwidgets_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I. \
|
|
|
|
-I$(srcdir)/../xpwidgets \
|
2012-05-17 00:04:16 -07:00
|
|
|
-I$(srcdir)/../shared \
|
2007-03-22 10:30:00 -07:00
|
|
|
-I$(srcdir) \
|
2011-07-11 07:05:07 -07:00
|
|
|
-I$(topsrcdir)/layout/generic \
|
|
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
2009-06-16 11:59:35 -07:00
|
|
|
-I$(topsrcdir)/toolkit/xre \
|
2011-02-11 17:56:11 -08:00
|
|
|
-I$(topsrcdir)/xpcom/base \
|
2012-09-22 12:28:35 -07:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2007-03-22 10:30:00 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2009-05-18 11:15:05 -07:00
|
|
|
|
2012-05-25 23:44:00 -07:00
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)
|