2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 # 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
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)/libmedia \
33 -I$(top_srcdir)/libbase \
34 -I$(top_srcdir)/librender \
35 -I$(top_srcdir)/libcore \
36 -I$(top_srcdir)/libcore/vm \
37 -I$(top_srcdir)/libcore/parser \
38 -I$(top_srcdir)/libcore/swf \
57 instdir = $(includedir)/gnash
64 pkglib_LTLIBRARIES = libgnashdevice.la
66 libgnashdevice_la_CPPFLAGS = $(AM_CPPFLAGS)
67 libgnashdevice_la_LIBADD = \
75 libgnashdevice_la_LDFLAGS = -release $(VERSION)
76 libgnashdevice_la_SOURCES = \
83 libgnashdevice_la_CPPFLAGS += $(X11_CFLAGS)
84 libgnashdevice_la_SOURCES += \
87 libgnashdevice_la_LIBADD += \
92 # Rebuild with GCC 4.x Mudflap support
94 @echo "Rebuilding with GCC Mudflap support"
95 $(MAKE) CXXFLAGS="`$(CXXFLAGS) -fmudflap" LDFLAGS="$(LDFLAGS) -lmudflap"
101 AM_CXXFLAGS = $(PCH_FLAGS)
107 if BUILD_RAWFB_DEVICE
108 include rawfb/rawfb.am
111 # This is for Linux Input Event support
112 if ENABLE_INPUT_EVENTS
113 include events/events.am
120 if BUILD_DIRECTFB_DEVICE
121 include directfb/directfb.am
124 if ENABLE_DEVELOPER_TESTS
127 check_PROGRAMS += test_x11
128 test_x11_SOURCES = x11/test_x11.cpp
129 test_x11_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
137 if BUILD_VAAPI_DEVICE
138 include vaapi/vaapi.am