From: Florian Forster Date: Sat, 1 May 2010 09:14:32 +0000 (+0200) Subject: src/Makefile.am: Fix build-dependencies for the pinba plugin. X-Git-Tag: collectd-4.10.0^0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a11d788a5eafda6ec972eaea7f3756a216c15ac3;p=collectd.git src/Makefile.am: Fix build-dependencies for the pinba plugin. Using BUILT_SOURCES, pinba.pb-c.[ch] are built *before* the regular build step. --- diff --git a/src/Makefile.am b/src/Makefile.am index 8d26d19e..5290ab3b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -107,6 +107,8 @@ collectd_nagios_DEPENDENCIES = libcollectdclient/libcollectdclient.la pkglib_LTLIBRARIES = +BUILT_SOURCES = + if BUILD_PLUGIN_APACHE pkglib_LTLIBRARIES += apache.la apache_la_SOURCES = apache.c @@ -808,6 +810,7 @@ collectd_DEPENDENCIES += perl.la endif if BUILD_PLUGIN_PINBA +BUILT_SOURCES += pinba.pb-c.c pinba.pb-c.h pkglib_LTLIBRARIES += pinba.la pinba_la_SOURCES = pinba.c pinba.pb-c.c pinba.pb-c.h pinba_la_LDFLAGS = -module -avoid-version