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/.
7 topsrcdir
= @top_srcdir@
11 include $(DEPTH
)/config
/autoconf.mk
14 MODULE_NAME
= nsGfxModule
23 nsIFontEnumerator.idl \
24 nsIScriptableRegion.idl \
29 gfxCrashReporterUtils.h \
41 nsRenderingContext.h \
51 EXPORTS_NAMESPACES
= mozilla
53 EXPORTS_mozilla
+= X11Util.h
62 nsScriptableRegion.
cpp \
63 gfxCrashReporterUtils.
cpp \
65 nsThebesGfxFactory.
cpp \
66 nsRenderingContext.
cpp \
68 nsThebesFontEnumerator.
cpp \
72 CPPSRCS
+= X11Util.
cpp
75 include $(topsrcdir
)/config
/rules.mk
77 CXXFLAGS
+= $(MOZ_CAIRO_CFLAGS
) $(MOZ_PIXMAN_CFLAGS
) $(TK_CFLAGS
)
79 ifeq ($(MOZ_WIDGET_TOOLKIT
),gtk2
)
80 CXXFLAGS
+= $(MOZ_GTK2_CFLAGS
) $(MOZ_PANGO_CFLAGS
)
83 ifeq ($(MOZ_WIDGET_TOOLKIT
),os2
)
84 CXXFLAGS
+= $(CAIRO_FT_CFLAGS
)
87 ifeq ($(MOZ_WIDGET_TOOLKIT
),qt
)
88 CXXFLAGS
+= $(MOZ_QT_CFLAGS
)
91 DEFINES
+= -D_IMPL_NS_GFX