summaryrefslogtreecommitdiff
path: root/plugins/stats_tree
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-19 07:15:26 +0000
committerJoão Valverde <j@v6e.pt>2016-02-20 14:26:39 +0000
commit5eafa903f64ceb0dc3390bd47f8325070299b04f (patch)
tree4372008f3347e08e33135202f1f7164356c47b99 /plugins/stats_tree
parent01444ab46b2d8fb839b76ab778f3fdccbbb2272f (diff)
downloadwireshark-5eafa903f64ceb0dc3390bd47f8325070299b04f.tar.gz
autotools: Move common automake code for plugins to an include file
Change-Id: Icac1eb17ff78ae5ae54b61820618bf3c5733bd96 Reviewed-on: https://code.wireshark.org/review/14003 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r--plugins/stats_tree/Makefile.am16
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/stats_tree/Makefile.am b/plugins/stats_tree/Makefile.am
index 02b2b6815a..065a2964e2 100644
--- a/plugins/stats_tree/Makefile.am
+++ b/plugins/stats_tree/Makefile.am
@@ -22,8 +22,7 @@
include Makefile.common
include $(top_srcdir)/Makefile.am.inc
-
-plugindir = @plugindir@
+include ../Makefile.am.inc
plugin_LTLIBRARIES = stats_tree.la
@@ -31,13 +30,7 @@ stats_tree_la_SOURCES = \
$(SRC_FILES) \
$(HEADER_FILES)
-stats_tree_la_LDFLAGS = -module -avoid-version
-stats_tree_la_LIBADD = @PLUGIN_LIBS@
-
-# Libs must be cleared, or else libtool won't create a shared module.
-# If your module needs to be linked against any particular libraries,
-# add them here.
-LIBS =
+stats_tree_la_LDFLAGS = $(PLUGIN_LDFLAGS)
CLEANFILES = \
stats_tree \
@@ -52,8 +45,3 @@ EXTRA_DIST = \
moduleinfo.nmake \
plugin.rc.in \
CMakeLists.txt
-
-checkapi:
- $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
- -sourcedir=$(srcdir) \
- $(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES)