update copyright date
[gnash.git] / plugin / aos4 / Makefile.am
blob62a9bc37225e6296b33105d673ad5d2f4b21842f
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 if NPAPI
22 if AMIGAOS4
24 AM_CPPFLAGS = \
25         -I$(top_srcdir)/libbase \
26         -I$(top_srcdir)/libmedia \
27         -I$(top_srcdir)/libsound \
28         -I$(top_srcdir)/libmedia/ffmpeg \
29         -I$(top_srcdir)/librender \
30         -I$(top_srcdir)/libcore \
31         -I$(top_srcdir)/libcore/parser \
32         -I$(top_srcdir)/libcore/vm \
33         -I$(top_srcdir)/libcore/swf \
34         -I$(top_srcdir)/gui \
35         -I$(top_srcdir)/plugin/npapi/mozilla-sdk \
36         -I$(top_srcdir)/plugin/npapi/mozilla-sdk/include \
37         -I$(top_srcdir)/plugin/npapi \
38         $(AGG_CFLAGS) \
39         $(BOOST_CFLAGS) \
40         $(FFMPEG_CFLAGS) \
41         $(SDL_CFLAGS) \
42         $(NULL)
44 AM_LDFLAGS = \
45         $(top_builddir)/libbase/libgnashbase.la \
46         $(top_builddir)/libmedia/libgnashmedia.la \
47         $(top_builddir)/libsound/libgnashsound.la \
48         $(top_builddir)/librender/libgnashrender.la \
49         $(top_builddir)/libcore/libgnashcore.la \
50         $(top_builddir)/plugin/mozilla-sdk/np_entry.lo \
51         $(top_builddir)/plugin/mozilla-sdk/npn_gate.lo \
52         $(top_builddir)/plugin/mozilla-sdk/npp_gate.lo \
53         $(AGG_LIBS) \
54         $(BOOST_LIBS) \
55         $(CURL_LIBS) \
56         $(EXPAT_LIBS) \
57         $(FFMPEG_LIBS) \
58         $(JPEG_LIBS) \
59         $(PNG_LIBS) \
60         $(SDL_LIBS) \
61         $(NSPR_LIBS) \
62         $(NULL)
64 plugindir = $(bindir)
66 plugin_LTLIBRARIES = libnpgnash.la
68 libnpgnash_la_SOURCES = plugin.cpp plugin.h
69 libnpgnash_la_LDFLAGS = -shared -no-undefined -version-info 0:0:0 \
70         -o libnpgnash.so 
72 install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
73         @echo "Nothing to install here now."
74         @echo "Use \"make install-plugin\" to install the npgnash plugin to $(bindir)."
76 install-plugin install-plugins: $(plugin_LTLIBRARIES)
77         test -d $(bindir) || $(mkinstalldirs) $(bindir)
78         $(INSTALL_PROGRAM) libnpgnash.so $(bindir)
80 uninstall-plugin uninstall-plugins: 
81         $(RM) -f $(bindir)/libnpgnash.so
83 endif # AMIGAOS4
84 endif # NPAPI
86 force:
88 .PHONY : install-plugins install-plugin uninstall-plugin uninstall-plugins