X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2FMakefile.am;h=a69769d72dd21f159fea34daee3b6d540cae1bb3;hp=ef6367ea75910948cf3fcd3642c2f71f16b0b856;hb=51702755cef0e7ed0b1eef223c153f45302e0d2f;hpb=f4f4bf4453fec8c84a90d1c0dfa16d0c6d0361fd diff --git a/src/Makefile.am b/src/Makefile.am index ef6367e..a69769d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -160,7 +160,7 @@ sysdbd_LDADD += -dlopen plugins/cname/dns.la sysdbd_DEPENDENCIES += plugins/cname/dns.la endif -if BUILD_PLUGIN_COLLECTD +if BUILD_PLUGIN_COLLECTDUNIXSOCK pkgbackendcollectdlib_LTLIBRARIES += plugins/backend/collectd/unixsock.la plugins_backend_collectd_unixsock_la_SOURCES = plugins/backend/collectd/unixsock.c plugins_backend_collectd_unixsock_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version @@ -184,15 +184,6 @@ sysdbd_LDADD += -dlopen plugins/backend/puppet/store-configs.la sysdbd_DEPENDENCIES += plugins/backend/puppet/store-configs.la endif -if BUILD_PLUGIN_RRDTOOL -pkgtimeserieslib_LTLIBRARIES += plugins/timeseries/rrdtool.la -plugins_timeseries_rrdtool_la_SOURCES = plugins/timeseries/rrdtool.c -plugins_timeseries_rrdtool_la_CFLAGS = $(AM_CFLAGS) @RRD_CFLAGS@ -plugins_timeseries_rrdtool_la_LDFLAGS = $(AM_LDFLAGS) @RRD_LIBS@ -module -avoid-version -sysdbd_LDADD += -dlopen plugins/timeseries/rrdtool.la -sysdbd_DEPENDENCIES += plugins/timeseries/rrdtool.la -endif - if BUILD_PLUGIN_SYSLOG pkglib_LTLIBRARIES += plugins/syslog.la plugins_syslog_la_SOURCE = plugins/syslog.c @@ -201,6 +192,15 @@ sysdbd_LDADD += -dlopen plugins/syslog.la sysdbd_DEPENDENCIES += plugins/syslog.la endif +if BUILD_PLUGIN_TIMESERIESRRDTOOL +pkgtimeserieslib_LTLIBRARIES += plugins/timeseries/rrdtool.la +plugins_timeseries_rrdtool_la_SOURCES = plugins/timeseries/rrdtool.c +plugins_timeseries_rrdtool_la_CFLAGS = $(AM_CFLAGS) @RRD_CFLAGS@ +plugins_timeseries_rrdtool_la_LDFLAGS = $(AM_LDFLAGS) @RRD_LIBS@ -module -avoid-version +sysdbd_LDADD += -dlopen plugins/timeseries/rrdtool.la +sysdbd_DEPENDENCIES += plugins/timeseries/rrdtool.la +endif + include/client/sysdb.h: include/client/sysdb.h.in ../version source ../version; sed \ -e "s/@SDB_VERSION_MAJOR@/$$VERSION_MAJOR/g" \