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
19 ## Process this file with automake to generate Makefile.in
23 # this is where Gnash plugins get installed
24 pluginsdir = $(libdir)/gnash/plugins
26 ## WARNING: make sure GLIB_LIBS appears first
27 ## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
31 -I$(top_srcdir)/libmedia \
32 -I$(top_srcdir)/libbase \
33 -I$(top_srcdir)/librender \
34 -I$(top_srcdir)/libcore \
35 -I$(top_srcdir)/libcore/vm \
36 -I$(top_srcdir)/libcore/parser \
37 -I$(top_srcdir)/libcore/swf \
57 $(top_builddir)/libmedia/libgnashmedia.la \
58 $(top_builddir)/libbase/libgnashbase.la \
61 instdir = $(includedir)/gnash
68 pkglib_LTLIBRARIES = libgnashdevice.la
70 libgnashdevice_la_CPPFLAGS = $(AM_CPPFLAGS)
71 libgnashdevice_la_LIBADD = \
79 libgnashdevice_la_LDFLAGS = -release $(VERSION)
80 libgnashdevice_la_SOURCES = \
85 libgnashdevice_la_CPPFLAGS += $(X11_CFLAGS)
86 libgnashdevice_la_SOURCES += \
89 libgnashdevice_la_LIBADD += \
94 # Rebuild with GCC 4.x Mudflap support
96 @echo "Rebuilding with GCC Mudflap support"
97 $(MAKE) CXXFLAGS="`$(CXXFLAGS) -fmudflap" LDFLAGS="$(LDFLAGS) -lmudflap"
103 AM_CXXFLAGS = $(PCH_FLAGS)
109 if BUILD_RAWFB_DEVICE
110 include rawfb/rawfb.am
113 # This is for Linux Input Event support
114 if ENABLE_INPUT_EVENTS
115 include events/events.am
122 if BUILD_DIRECTFB_DEVICE
123 include directfb/directfb.am
127 check_PROGRAMS += test_x11
128 test_x11_SOURCES = x11/test_x11.cpp
129 test_x11_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
136 if BUILD_VAAPI_DEVICE
137 include vaapi/vaapi.am