summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75291e5)
raw | patch | inline | side by side (parent: 75291e5)
author | daryder <daryder@cisco.com> | |
Thu, 3 Apr 2014 19:26:47 +0000 (15:26 -0400) | ||
committer | daryder <daryder@cisco.com> | |
Thu, 3 Apr 2014 19:26:47 +0000 (15:26 -0400) |
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index a9d858232a9ec547f42e52d335b1d3e5ff2da5eb..2b39ee9daf5db4807e24a5c6b926c3d9960c1cf0 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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