summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2fe7b90)
raw | patch | inline | side by side (parent: 2fe7b90)
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.
build step.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 8d26d19ecf0e6ac74f65a50730496ac829f2a85a..5290ab3bae5a97bbb206e239483d83107fbddb77 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
pkglib_LTLIBRARIES =
+BUILT_SOURCES =
+
if BUILD_PLUGIN_APACHE
pkglib_LTLIBRARIES += apache.la
apache_la_SOURCES = apache.c
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