rm -f $(DESTDIR)$(sysconfdir)/collectd.conf
rm -f $(DESTDIR)$(pkgdatadir)/postgresql_default.conf;
-check_PROGRAMS = test_utils_mount test_utils_vl_lookup
-
-test_utils_mount_SOURCES = utils_mount_test.c testing.h
-test_utils_mount_LDADD = libmount.la daemon/libplugin_mock.la
-
-test_utils_vl_lookup_SOURCES = utils_vl_lookup_test.c testing.h
-test_utils_vl_lookup_LDADD = liblookup.la daemon/libplugin_mock.la
-
-TESTS = test_utils_mount test_utils_vl_lookup
--
+ if BUILD_PLUGIN_CEPH
+ test_plugin_ceph_SOURCES = ceph_test.c
+ test_plugin_ceph_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBYAJL_CPPFLAGS)
+ test_plugin_ceph_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBYAJL_LDFLAGS)
+ test_plugin_ceph_LDADD = daemon/libcommon.la daemon/libplugin_mock.la $(BUILD_WITH_LIBYAJL_LIBS)
+ check_PROGRAMS += test_plugin_ceph
+ TESTS += test_plugin_ceph
+ endif
#include "plugin.h"
+#if HAVE_LIBKSTAT
+kstat_ctl_t *kc = NULL;
+#endif /* HAVE_LIBKSTAT */
+
+ char hostname_g[] = "example.com";
+
+ int plugin_register_complex_config (const char *type, int (*callback) (oconfig_item_t *))
+ {
+ return ENOTSUP;
+ }
+
+ int plugin_register_init (const char *name, plugin_init_cb callback)
+ {
+ return ENOTSUP;
+ }
+
+ int plugin_register_read (const char *name, int (*callback) (void))
+ {
+ return ENOTSUP;
+ }
+
+ int plugin_register_shutdown (const char *name, int (*callback) (void))
+ {
+ return ENOTSUP;
+ }
+
+ int plugin_dispatch_values (value_list_t const *vl)
+ {
+ return ENOTSUP;
+ }
+
void plugin_log (int level, char const *format, ...)
{
char buffer[1024];