Code

Added config options `host' and `port' to the `hddtemp' plugin.
[collectd.git] / src / Makefile.am
index 236821eb8c115fecddd45133d5ab24a55af7128e..a98eab1bce0a90d11f01941bf37919581fe99bbe 100644 (file)
@@ -30,6 +30,15 @@ collectd_DEPENDENCIES = $(LIBLTDL) libconfig/libconfig.la
 
 pkglib_LTLIBRARIES = 
 
+if BUILD_MODULE_BATTERY
+pkglib_LTLIBRARIES += battery.la
+battery_la_SOURCES = battery.c
+battery_la_LDFLAGS = -module -avoid-version
+battery_la_CFLAGS  = -Wall -Werror
+collectd_LDADD += "-dlopen" battery.la
+collectd_DEPENDENCIES += battery.la
+endif
+
 if BUILD_MODULE_CPU
 pkglib_LTLIBRARIES += cpu.la
 cpu_la_SOURCES = cpu.c cpu.h