From e6e8b7b662419466a264201a6d08af2dc9a737e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 18 Oct 2017 23:37:49 +0100 Subject: autotools: Sort out how we handle plugin.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie9570a63a1479021753807f76dd5e98fbbec7b86 Reviewed-on: https://code.wireshark.org/review/23995 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- plugins/unistim/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/unistim') diff --git a/plugins/unistim/Makefile.am b/plugins/unistim/Makefile.am index 397e300aca..783277cfc2 100644 --- a/plugins/unistim/Makefile.am +++ b/plugins/unistim/Makefile.am @@ -24,6 +24,9 @@ include ../Makefile.am.inc # the name of the plugin PLUGIN_NAME = unistim +BUILT_SOURCES = \ + plugin.c + # Non-generated sources to be scanned for registration routines NONGENERATED_REGISTER_C_FILES = \ packet-unistim.c @@ -51,11 +54,13 @@ HEADER_FILES = \ plugin_LTLIBRARIES = unistim.la unistim_la_SOURCES = \ - plugin.c \ moduleinfo.h \ $(SRC_FILES) \ $(HEADER_FILES) +nodist_unistim_la_SOURCES = \ + plugin.c + unistim_la_CPPFLAGS = $(AM_CPPFLAGS) $(PLUGIN_CPPFLAGS) unistim_la_CFLAGS = $(AM_CFLAGS) $(PLUGIN_CFLAGS) -- cgit v1.2.3