Merge branch 'master' into release_0_8_9
[gnash.git] / extensions / lirc / Makefile.am
blob38677fabe770bcbff7d5ceccbc102046b9a3366f
1 ## Process this file with automake to generate Makefile.in
2
3 #   Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
4 #   2011 Free Software Foundation, Inc.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # 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
19 AUTOMAKE_OPTIONS = 
21 # this is where Gnash plugins get installed
22 pluginsdir = $(libdir)/gnash/plugins
24 plugins_LTLIBRARIES = lirc.la
26 AM_CPPFLAGS = \
27                 -I$(top_srcdir)/libbase \
28                 -I$(top_srcdir)/libcore \
29                 -I$(top_srcdir)/libcore/abc \
30                 -I$(top_srcdir)/libcore/swf \
31                 -I$(top_srcdir)/libcore/vm \
32             -I$(top_srcdir)/libcore/asobj \
33             -I$(top_srcdir)/cygnal/libnet \
34             $(BOOST_CFLAGS) \
35             $(NULL)
37 lirc_la_SOURCES = lirc_ext.cpp lirc_ext.h
38 lirc_la_CPPFLAGS = $(AM_CPPFLAGS)
39 lirc_la_LDFLAGS = -module -avoid-version -no-undefined
40 lirc_la_LIBDADD = $(LIBADD_DL) \
41         $(top_builddir)/libbase/libgnashbase.la \
42         $(top_builddir)/libcore/libgnashcore.la \
43         $(PTHREAD_LIBS) \
44         $(NULL)
46 check_PROGRAMS = # SharedTest
47 CLEANFILES = \
48       gnash-dbg.log
50 install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
51         test -d "$(DESTDIR)$(pluginsdir)" || $(mkinstalldirs) "$(DESTDIR)$(pluginsdir)"
52         $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $(plugins_LTLIBRARIES) "$(DESTDIR)$(pluginsdir)/$(plugins_LTLIBRARIES)"
53         $(RM) $(DESTDIR)$(pluginsdir)/*.*a 
55 uninstall-local:
56         $(RM) $(DESTDIR)$(pluginsdir)/lirc.so