X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2FMakefile.am;h=f1bcd772a690704e7e645bd8ef23e94fe9a2071b;hb=863dfcdf274509e4e1836c2c8f1f10f09e1d13be;hp=58cc0fe2a6ed845c9c19f7df10a50f0d4c5189b9;hpb=d51a3768cc3302215ecf1f125a6f6d85ac246760;p=collectd.git diff --git a/src/Makefile.am b/src/Makefile.am index 58cc0fe2..f1bcd772 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,7 @@ SUBDIRS = libconfig if BUILD_WITH_OWN_LIBOPING SUBDIRS += liboping endif +SUBDIRS += libiptc if COMPILER_IS_GCC AM_CFLAGS = -Wall -Werror @@ -208,6 +209,16 @@ collectd_LDADD += "-dlopen" hddtemp.la collectd_DEPENDENCIES += hddtemp.la endif +if BUILD_MODULE_IPTABLES +pkglib_LTLIBRARIES += iptables.la +iptables_la_SOURCES = iptables.c +iptables_la_LDFLAGS = -module -avoid-version +iptables_la_LIBADD = libiptc/libiptc.la +iptables_la_DEPENDENCIES = libiptc/libiptc.la +collectd_LDADD += "-dlopen" iptables.la +collectd_DEPENDENCIES += iptables.la +endif + if BUILD_MODULE_LOAD pkglib_LTLIBRARIES += load.la load_la_SOURCES = load.c