]> git.ipfire.org Git - collecty.git/blobdiff - Makefile.am
Implement worker thread concept
[collecty.git] / Makefile.am
index 72c06ad46b9e327fe5ffe88870b82d578b75411c..ac7e7944f158033253f669bc250dd174bcafb8d9 100644 (file)
@@ -87,15 +87,39 @@ collectyplugins_PYTHON = \
        src/collecty/plugins/base.py \
        src/collecty/plugins/conntrack.py \
        src/collecty/plugins/cpu.py \
+       src/collecty/plugins/disk.py \
        src/collecty/plugins/entropy.py \
        src/collecty/plugins/__init__.py \
        src/collecty/plugins/interface.py \
        src/collecty/plugins/latency.py \
        src/collecty/plugins/loadavg.py \
-       src/collecty/plugins/memory.py
+       src/collecty/plugins/memory.py \
+       src/collecty/plugins/sensors.py
 
 collectypluginsdir = $(collectydir)/plugins
 
+pkgpyexec_LTLIBRARIES = \
+       _collecty.la
+
+_collecty_la_SOURCES = \
+       src/_collectymodule.c
+
+_collecty_la_CFLAGS = \
+       $(AM_CFLAGS) \
+       $(LIBATASMART_CFLAGS) \
+       $(PYTHON_CFLAGS)
+
+_collecty_la_LDFLAGS = \
+       $(AM_LDFLAGS) \
+       -shared \
+       -module \
+       -avoid-version
+
+_collecty_la_LIBADD = \
+       $(LIBATASMART_LIBS) \
+       $(PYTHON_LIBS) \
+       $(SENSORS_LIBS)
+
 dist_dbuspolicy_DATA = \
        src/dbus/org.ipfire.collecty1.conf