projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe7b90
)
src/Makefile.am: Fix build-dependencies for the pinba plugin.
collectd-4.10.0
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 1 May 2010 09:14:32 +0000
(11:14 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 1 May 2010 09:14:32 +0000
(11:14 +0200)
Using BUILT_SOURCES, pinba.pb-c.[ch] are built *before* the regular
build step.
src/Makefile.am
patch
|
blob
|
history
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
8d26d19
..
5290ab3
100644
(file)
--- 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