X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=d0cd99d650e3530d14133b9bf69421303ac85223;hb=f2a35cefd56bdf4b26cc82637a29445abe1744fb;hp=6d01b8a93249646e2981fe8b319d3e913d5f4680;hpb=91743fc0c8785f84f3976d5f5d430b1b3a7d4918;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 6d01b8a9..d0cd99d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -173,6 +173,14 @@ collectd_LDADD += "-dlopen" conntrack.la collectd_DEPENDENCIES += conntrack.la endif +if BUILD_PLUGIN_CONTEXTSWITCH +pkglib_LTLIBRARIES += contextswitch.la +contextswitch_la_SOURCES = contextswitch.c +contextswitch_la_LDFLAGS = -module -avoid-version +collectd_LDADD += "-dlopen" contextswitch.la +collectd_DEPENDENCIES += contextswitch.la +endif + if BUILD_PLUGIN_CPU pkglib_LTLIBRARIES += cpu.la cpu_la_SOURCES = cpu.c @@ -371,7 +379,8 @@ endif # BUILD_PLUGIN_INTERFACE if BUILD_PLUGIN_IPTABLES pkglib_LTLIBRARIES += iptables.la iptables_la_SOURCES = iptables.c -iptables_la_LDFLAGS = -module -avoid-version +iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS) +iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS) if BUILD_WITH_OWN_LIBIPTC iptables_la_LIBADD = owniptc/libiptc.la iptables_la_DEPENDENCIES = owniptc/libiptc.la @@ -469,6 +478,14 @@ collectd_LDADD += "-dlopen" match_empty_counter.la collectd_DEPENDENCIES += match_empty_counter.la endif +if BUILD_PLUGIN_MATCH_HASHED +pkglib_LTLIBRARIES += match_hashed.la +match_hashed_la_SOURCES = match_hashed.c +match_hashed_la_LDFLAGS = -module -avoid-version +collectd_LDADD += "-dlopen" match_hashed.la +collectd_DEPENDENCIES += match_hashed.la +endif + if BUILD_PLUGIN_MATCH_REGEX pkglib_LTLIBRARIES += match_regex.la match_regex_la_SOURCES = match_regex.c @@ -569,6 +586,16 @@ endif collectd_DEPENDENCIES += mysql.la endif +if BUILD_PLUGIN_NETAPP +pkglib_LTLIBRARIES += netapp.la +netapp_la_SOURCES = netapp.c +netapp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBNETAPP_CPPFLAGS) +netapp_la_LDFLAGS = -module -avoid-version $(LIBNETAPP_LDFLAGS) +netapp_la_LIBADD = $(LIBNETAPP_LIBS) +collectd_LDADD += "-dlopen" netapp.la +collectd_DEPENDENCIES += netapp.la +endif + if BUILD_PLUGIN_NETLINK pkglib_LTLIBRARIES += netlink.la netlink_la_SOURCES = netlink.c