summaryrefslogtreecommitdiff
path: root/native/plugin/Makefile.am
blob: db94bb411bc15e4e7d44c9a4615560e22c9af848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
nativeexeclib_LTLIBRARIES = libgcjwebplugin.la

libgcjwebplugin_la_SOURCES = gcjwebplugin.cc

libgcjwebplugin_la_CXXFLAGS = \
	-Wall -DAPPLETVIEWER_EXECUTABLE="\"$(bindir)/`echo gappletviewer | sed '$(program_transform_name)'`\"" \
	$(MOZILLA_CFLAGS) $(GLIB_CFLAGS) $(GTK_CFLAGS)

libgcjwebplugin_la_LDFLAGS = -avoid-version \
	$(GLIB_LIBS) $(GTK_LIBS) \
	-lstdc++

install-plugin: $(nativeexeclib_LTLIBRARIES)
	$(INSTALL) -d -m0755 $(DESTDIR)$(PLUGIN_DIR)
	$(INSTALL) .libs/libgcjwebplugin.so $(DESTDIR)$(PLUGIN_DIR)

uninstall-plugin:
	rm -f $(DESTDIR)$(PLUGIN_DIR)/libgcjwebplugin.so