X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=722d3c547830eff8333581e83082ef35011267fb;hb=131eda63f8958e63fb317f9584776b1311e49552;hp=1fd3bba9aec0af3de243c166cc5bac32bc93ed09;hpb=86928d3feaa0ba8f85dc3cbe0d3c34219d201a33;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 1fd3bba9..722d3c54 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -173,21 +173,6 @@ collectd_LDADD += "-dlopen" conntrack.la collectd_DEPENDENCIES += conntrack.la endif -if BUILD_PLUGIN_COUCHDB -pkglib_LTLIBRARIES += couchdb.la -couchdb_la_SOURCES = couchdb.c -couchdb_la_CFLAGS = $(AM_CFLAGS) -couchdb_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBYAJL_LDFLAGS) -couchdb_la_CPPFLAGS = $(BUILD_WITH_LIBYAJL_CPPFLAGS) -couchdb_la_LIBADD = $(BUILD_WITH_LIBYAJL_LIBS) -if BUILD_WITH_LIBCURL -couchdb_la_CFLAGS += $(BUILD_WITH_LIBCURL_CFLAGS) -couchdb_la_LIBADD += $(BUILD_WITH_LIBCURL_LIBS) -endif -collectd_LDADD += "-dlopen" couchdb.la -collectd_DEPENDENCIES += couchdb.la -endif - if BUILD_PLUGIN_CPU pkglib_LTLIBRARIES += cpu.la cpu_la_SOURCES = cpu.c @@ -224,14 +209,6 @@ collectd_LDADD += "-dlopen" csv.la collectd_DEPENDENCIES += csv.la endif -if BUILD_PLUGIN_HTTP -pkglib_LTLIBRARIES += http.la -http_la_SOURCES = http.c -http_la_LDFLAGS = -module -avoid-version -collectd_LDADD += "-dlopen" http.la -collectd_DEPENDENCIES += http.la -endif - if BUILD_PLUGIN_CURL pkglib_LTLIBRARIES += curl.la curl_la_SOURCES = curl.c @@ -246,6 +223,21 @@ endif collectd_DEPENDENCIES += curl.la endif +if BUILD_PLUGIN_CURL_JSON +pkglib_LTLIBRARIES += curl_json.la +curl_json_la_SOURCES = curl_json.c +curl_json_la_CFLAGS = $(AM_CFLAGS) +curl_json_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBYAJL_LDFLAGS) +curl_json_la_CPPFLAGS = $(BUILD_WITH_LIBYAJL_CPPFLAGS) +curl_json_la_LIBADD = $(BUILD_WITH_LIBYAJL_LIBS) +if BUILD_WITH_LIBCURL +curl_json_la_CFLAGS += $(BUILD_WITH_LIBCURL_CFLAGS) +curl_json_la_LIBADD += $(BUILD_WITH_LIBCURL_LIBS) +endif +collectd_LDADD += "-dlopen" curl_json.la +collectd_DEPENDENCIES += curl_json.la +endif + if BUILD_PLUGIN_DBI pkglib_LTLIBRARIES += dbi.la dbi_la_SOURCES = dbi.c \ @@ -1050,6 +1042,20 @@ collectd_LDADD += "-dlopen" wireless.la collectd_DEPENDENCIES += wireless.la endif +if BUILD_PLUGIN_WRITE_HTTP +pkglib_LTLIBRARIES += write_http.la +write_http_la_SOURCES = write_http.c +write_http_la_LDFLAGS = -module -avoid-version +write_http_la_CFLAGS = $(AM_CFLAGS) +write_http_la_LIBADD = +collectd_LDADD += "-dlopen" write_http.la +if BUILD_WITH_LIBCURL +write_http_la_CFLAGS += $(BUILD_WITH_LIBCURL_CFLAGS) +write_http_la_LIBADD += $(BUILD_WITH_LIBCURL_LIBS) +endif +collectd_DEPENDENCIES += write_http.la +endif + if BUILD_PLUGIN_XMMS pkglib_LTLIBRARIES += xmms.la xmms_la_SOURCES = xmms.c