aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/tpg
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/tpg
parent01444ab46b2d8fb839b76ab778f3fdccbbb2272f (diff)
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/tpg')
-rw-r--r--plugins/tpg/Makefile.am11
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/tpg/Makefile.am b/plugins/tpg/Makefile.am
index ae7d302b2f..e45f8c880e 100644
--- a/plugins/tpg/Makefile.am
+++ b/plugins/tpg/Makefile.am
@@ -22,8 +22,7 @@
include Makefile.common
include $(top_srcdir)/Makefile.am.inc
-
-plugindir = @plugindir@
+include ../Makefile.am.inc
plugin_LTLIBRARIES = tpg.la
@@ -33,13 +32,7 @@ tpg_la_SOURCES = \
http-parser.h \
packet-http.c
-tpg_la_LDFLAGS = -module -avoid-version
-tpg_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 =
+tpg_la_LDFLAGS = $(PLUGIN_LDFLAGS)
CLEANFILES = \
tpg \