2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
3 # 2011 Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 ## Process this file with automake to generate Makefile.in
25 # this is where Gnash plugins get installed
26 pluginsdir = $(libdir)/gnash/plugins
28 ## WARNING: make sure GLIB_LIBS appears first
29 ## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
33 -I$(top_srcdir)/libcore \
34 -I$(top_srcdir)/libcore/parser \
35 -I$(top_srcdir)/libcore/swf \
36 -I$(top_srcdir)/libbase \
37 -I$(top_srcdir)/librender \
54 $(top_builddir)/libcore/libgnashcore.la \
55 $(top_builddir)/libbase/libgnashbase.la \
58 instdir = $(includedir)/gnash
67 agg/Renderer_agg_bitmap.h \
68 agg/Renderer_agg_style.h \
69 opengl/tu_opengl_includes.h \
70 opengl/Renderer_ogl.h \
71 cairo/Renderer_cairo.h \
75 pkglib_LTLIBRARIES = libgnashrender.la
76 libgnashrender_la_LIBADD = $(LIBVA_LIBS) $(LIBVA_X11_LIBS) $(LIBVA_GLX_LIBS)
77 libgnashrender_la_LDFLAGS = -release $(VERSION)
78 libgnashrender_la_SOURCES =
81 libgnashrender_la_SOURCES += opengl/Renderer_ogl.cpp
82 libgnashrender_la_LIBADD += $(OPENGL_LIBS)
86 libgnashrender_la_SOURCES += agg/Renderer_agg.cpp
87 libgnashrender_la_LIBADD += $(AGG_LIBS) $(LIBVA)
90 if BUILD_CAIRO_RENDERER
91 libgnashrender_la_SOURCES += cairo/Renderer_cairo.cpp
92 libgnashrender_la_SOURCES += cairo/PathParser.cpp
93 libgnashrender_la_LIBADD += $(CAIRO_LIBS)
96 # Rebuild with GCC 4.x Mudflap support
98 @echo "Rebuilding with GCC Mudflap support"
99 $(MAKE) CXXFLAGS="`$(CXXFLAGS) -fmudflap" LDFLAGS="$(LDFLAGS) -lmudflap"
106 AM_CXXFLAGS = $(PCH_FLAGS)