2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 NATIVE_THEME_SUPPORT
= 1
8 # build our subdirs, too
10 SHARED_LIBRARY_LIBS
= ..
/xpwidgets
/libxpwidgets_s.a
12 ifdef NATIVE_THEME_SUPPORT
13 DEFINES
+= -DNATIVE_THEME_SUPPORT
16 include $(topsrcdir
)/config
/rules.mk
18 CFLAGS
+= $(MOZ_STARTUP_NOTIFICATION_CFLAGS
)
19 CXXFLAGS
+= $(MOZ_CAIRO_CFLAGS
) $(MOZ_PIXMAN_CFLAGS
) \
20 $(MOZ_STARTUP_NOTIFICATION_CFLAGS
)
22 CFLAGS
+= $(TK_CFLAGS
)
23 CXXFLAGS
+= $(TK_CFLAGS
)
25 DEFINES
+= -DCAIRO_GFX
-DMOZ_APP_NAME
='"$(MOZ_APP_NAME)"'
28 -I
$(srcdir)/..
/xpwidgets \
29 -I
$(srcdir)/..
/shared \
30 -I
$(topsrcdir
)/layout
/generic \
31 -I
$(topsrcdir
)/layout
/xul
/base
/src \
32 -I
$(topsrcdir
)/other-licenses
/atk-1.0 \
35 INCLUDES
+= -I
$(srcdir)/..
/shared
/x11