From: daryder Date: Thu, 3 Apr 2014 19:26:47 +0000 (-0400) Subject: Added ceph plugin X-Git-Tag: collectd-5.5.0~80^2~27 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d568e5b8a9e5c1bada658e8302202b020d1fa4c;p=collectd.git Added ceph plugin --- diff --git a/src/Makefile.am b/src/Makefile.am index a9d85823..2b39ee9d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -240,6 +240,21 @@ collectd_LDADD += "-dlopen" bind.la collectd_DEPENDENCIES += bind.la endif +if BUILD_PLUGIN_CEPH +pkglib_LTLIBRARIES += ceph.la +ceph_la_SOURCES = ceph.c +ceph_la_LDFLAGS = -module -avoid-version +ceph_la_LIBADD = +ceph_la_CPPFLAGS = +if BUILD_WITH_LIBJSON_C +ceph_la_LDFLAGS += $(BUILD_WITH_LIBJSON_C_LDFLAGS) +ceph_la_LIBADD += $(BUILD_WITH_LIBJSON_C_LIBS) +ceph_la_CPPFLAGS += $(BUILD_WITH_LIBJSON_C_CPPFLAGS) +endif +collectd_LDADD += "-dlopen" ceph.la +collectd_DEPENDENCIES += ceph.la +endif + if BUILD_PLUGIN_CGROUPS pkglib_LTLIBRARIES += cgroups.la cgroups_la_SOURCES = cgroups.c utils_mount.c utils_mount.h