From a11d788a5eafda6ec972eaea7f3756a216c15ac3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 1 May 2010 11:14:32 +0200 Subject: [PATCH] src/Makefile.am: Fix build-dependencies for the pinba plugin. Using BUILT_SOURCES, pinba.pb-c.[ch] are built *before* the regular build step. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2