X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=bc4f66bf1956e86d9ba1bd7a06cee8a918f2ffcd;hb=6ff769e0d7d6363e2f507118ccb7722457370442;hp=0821283b9949f795eb2a8ea17153bdb1b86e9bd9;hpb=9f8dc5668faf5432dcb1430017bd7a1c383c2453;p=collectd.git diff --git a/Makefile.am b/Makefile.am index 0821283b..bc4f66bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -159,8 +159,7 @@ check_PROGRAMS = \ test_utils_time \ test_utils_vl_lookup \ test_libcollectd_network_parse \ - test_utils_config_cores \ - test_utils_proc_pids + test_utils_config_cores TESTS = $(check_PROGRAMS) @@ -377,11 +376,6 @@ test_utils_config_cores_SOURCES = \ src/testing.h test_utils_config_cores_LDADD = libplugin_mock.la -test_utils_proc_pids_SOURCES = \ - src/utils/proc_pids/proc_pids_test.c \ - src/testing.h -test_utils_proc_pids_LDADD = libplugin_mock.la - libavltree_la_SOURCES = \ src/utils/avltree/avltree.c \ src/utils/avltree/avltree.h @@ -1090,6 +1084,13 @@ test_plugin_intel_rdt_LDFLAGS = $(PLUGIN_LDFLAGS) test_plugin_intel_rdt_LDADD = liboconfig.la libplugin_mock.la check_PROGRAMS += test_plugin_intel_rdt TESTS += test_plugin_intel_rdt + +test_utils_proc_pids_SOURCES = \ + src/utils/proc_pids/proc_pids_test.c \ + src/testing.h +test_utils_proc_pids_LDADD = libplugin_mock.la +check_PROGRAMS += test_utils_proc_pids +TESTS += test_utils_proc_pids endif if BUILD_PLUGIN_INTERFACE @@ -1390,6 +1391,21 @@ network_la_CPPFLAGS += $(GCRYPT_CPPFLAGS) network_la_LDFLAGS += $(GCRYPT_LDFLAGS) network_la_LIBADD += $(GCRYPT_LIBS) endif + +test_plugin_network_SOURCES = \ + src/network_test.c \ + src/utils_fbhash.c \ + src/daemon/configfile.c \ + src/daemon/types_list.c +test_plugin_network_CPPFLAGS = $(AM_CPPFLAGS) $(GCRYPT_CPPFLAGS) +test_plugin_network_LDFLAGS = $(PLUGIN_LDFLAGS) $(GCRYPT_LDFLAGS) +test_plugin_network_LDADD = \ + libavltree.la \ + liboconfig.la \ + libplugin_mock.la \ + libmetadata.la \ + $(GCRYPT_LIBS) +check_PROGRAMS += test_plugin_network endif if BUILD_PLUGIN_NFS @@ -1630,6 +1646,13 @@ processes_la_LIBADD += libtaskstats.la endif endif +if BUILD_PLUGIN_PROCEVENT +pkglib_LTLIBRARIES += procevent.la +procevent_la_SOURCES = src/procevent.c +procevent_la_CFLAGS = $(AM_CFLAGS) +procevent_la_LDFLAGS = $(PLUGIN_LDFLAGS) +endif + if BUILD_PLUGIN_PROTOCOLS pkglib_LTLIBRARIES += protocols.la protocols_la_SOURCES = src/protocols.c @@ -1778,6 +1801,14 @@ synproxy_la_SOURCES = src/synproxy.c synproxy_la_LDFLAGS = $(PLUGIN_LDFLAGS) endif +if BUILD_PLUGIN_SYSEVENT +pkglib_LTLIBRARIES += sysevent.la +sysevent_la_SOURCES = src/sysevent.c +sysevent_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBYAJL_CPPFLAGS) +sysevent_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBYAJL_LDFLAGS) +sysevent_la_LIBADD = $(BUILD_WITH_LIBYAJL_LIBS) libignorelist.la +endif + if BUILD_PLUGIN_SYSLOG pkglib_LTLIBRARIES += syslog.la syslog_la_SOURCES = src/syslog.c