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