X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=19a04bcfc5c281667ec23d307815e1991742a0ea;hb=f51548ec63c799d57422fc1f4560e82fdf8d86ab;hp=15609e47cd10df369cacebf6c4b1d96e2b8b7b3b;hpb=b324ebf63ff9117d5f8facb97342925606d373cc;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 15609e47..19a04bcf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -810,6 +810,16 @@ collectd_LDADD += "-dlopen" protocols.la collectd_DEPENDENCIES += protocols.la endif +if BUILD_PLUGIN_ROUTEROS +pkglib_LTLIBRARIES += routeros.la +routeros_la_SOURCES = routeros.c +routeros_la_CPPFLAGS = $(BUILD_WITH_LIBROUTEROS_CPPFLAGS) +routeros_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBROUTEROS_LDFLAGS) +routeros_la_LIBADD = -lrouteros +collectd_LDADD += "-dlopen" routeros.la +collectd_DEPENDENCIES += routeros.la +endif + if BUILD_PLUGIN_RRDCACHED pkglib_LTLIBRARIES += rrdcached.la rrdcached_la_SOURCES = rrdcached.c utils_rrdcreate.c utils_rrdcreate.h