Bug 754472 - Implement multiple plugin click-to-play UI. r=jaws r=margaret r=dietrich
[gecko.git] / gfx / src / Makefile.in
blobf2c2d51900ee653ab4aab1e613df74987a777f42
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 DEPTH = @DEPTH@
7 topsrcdir = @top_srcdir@
8 srcdir = @srcdir@
9 VPATH = @srcdir@
11 include $(DEPTH)/config/autoconf.mk
13 MODULE = gfx
14 MODULE_NAME = nsGfxModule
15 LIBRARY_NAME = gkgfx
16 EXPORT_LIBRARY = 1
17 GRE_MODULE = 1
18 LIBXUL_LIBRARY = 1
19 IS_COMPONENT = 1
20 FAIL_ON_WARNINGS = 1
22 XPIDLSRCS = \
23 nsIFontEnumerator.idl \
24 nsIScriptableRegion.idl \
25 $(NULL)
27 EXPORTS = \
28 gfxCore.h \
29 gfxCrashReporterUtils.h \
30 nsColor.h \
31 nsColorNames.h \
32 nsColorNameList.h \
33 nsCoord.h \
34 nsFont.h \
35 nsRect.h \
36 nsRegion.h \
37 nsPoint.h \
38 nsSize.h \
39 nsMargin.h \
40 nsTransform2D.h \
41 nsRenderingContext.h \
42 nsFontMetrics.h \
43 nsDeviceContext.h \
44 nsGfxCIID.h \
45 nsITheme.h \
46 nsThemeConstants.h \
47 nsBoundingMetrics.h \
48 $(NULL)
50 ifdef MOZ_X11
51 EXPORTS_NAMESPACES = mozilla
53 EXPORTS_mozilla += X11Util.h
54 endif
56 CPPSRCS = \
57 nsColor.cpp \
58 nsFont.cpp \
59 nsRect.cpp \
60 nsRegion.cpp \
61 nsTransform2D.cpp \
62 nsScriptableRegion.cpp \
63 gfxCrashReporterUtils.cpp \
64 nsDeviceContext.cpp \
65 nsThebesGfxFactory.cpp \
66 nsRenderingContext.cpp \
67 nsFontMetrics.cpp \
68 nsThebesFontEnumerator.cpp \
69 $(NULL)
71 ifdef MOZ_X11
72 CPPSRCS += X11Util.cpp
73 endif
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)
81 endif
83 ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
84 CXXFLAGS += $(CAIRO_FT_CFLAGS)
85 endif
87 ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
88 CXXFLAGS += $(MOZ_QT_CFLAGS)
89 endif
91 DEFINES += -D_IMPL_NS_GFX