pkglib_LTLIBRARIES =
BUILT_SOURCES =
+CLEANFILES =
if BUILD_PLUGIN_APACHE
pkglib_LTLIBRARIES += apache.la
if BUILD_PLUGIN_PINBA
BUILT_SOURCES += pinba.pb-c.c pinba.pb-c.h
+CLEANFILES += 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_SOURCES = pinba.c
pinba_la_LDFLAGS = -module -avoid-version
pinba_la_LIBADD = -lprotobuf-c
collectd_LDADD += "-dlopen" pinba.la
echo "$@ has some POD errors!"; false; \
fi
-if HAVE_PROTOC_C
pinba.pb-c.c pinba.pb-c.h: pinba.proto
protoc-c --c_out $(builddir) pinba.proto
-endif
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)