1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
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.
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
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 \
35 -I$(top_srcdir)/plugin/npapi/mozilla-sdk \
36 -I$(top_srcdir)/plugin/npapi/mozilla-sdk/include \
37 -I$(top_srcdir)/plugin/npapi \
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 \
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 \
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
88 .PHONY : install-plugins install-plugin uninstall-plugin uninstall-plugins