summaryrefslogtreecommitdiff
path: root/native/plugin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'native/plugin/Makefile.am')
-rw-r--r--native/plugin/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/native/plugin/Makefile.am b/native/plugin/Makefile.am
new file mode 100644
index 000000000..7358381eb
--- /dev/null
+++ b/native/plugin/Makefile.am
@@ -0,0 +1,18 @@
+lib_LTLIBRARIES = libgcjwebplugin.la
+
+libgcjwebplugin_la_SOURCES = gcjwebplugin.cc
+
+libgcjwebplugin_la_CXXFLAGS = \
+ -Wall -DAPPLETVIEWER_EXECUTABLE="\"$(bindir)/appletviewer\"" \
+ $(MOZILLA_CFLAGS) $(GLIB_CFLAGS)
+
+libgcjwebplugin_la_LDFLAGS = -avoid-version \
+ $(GLIB_LIBS) \
+ -lstdc++
+
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ $(INSTALL) -d -m0755 $(DESTDIR)@PLUGIN_DIR@
+ $(INSTALL) .libs/libgcjwebplugin.so $(DESTDIR)@PLUGIN_DIR@
+
+uninstall-libLTLIBRARIES:
+ rm -f $(DESTDIR)@PLUGIN_DIR@/libgcjwebplugin.so