]> arthur.barton.de Git - netdata.git/blobdiff - src/Makefile.am
split rrd.c into multiple files
[netdata.git] / src / Makefile.am
index d7adc7c2d862cc2f12382cbd119d0c959c614a9e..c562b27e7c53629bdefa7fdd4a0b8aa3d3ca0278 100644 (file)
@@ -24,10 +24,13 @@ dist_cache_DATA = .keep
 dist_varlib_DATA = .keep
 dist_registry_DATA = .keep
 dist_log_DATA = .keep
+if !MACOS
 plugins_PROGRAMS = apps.plugin
+endif
 
 netdata_SOURCES = \
        appconfig.c appconfig.h \
+       adaptive_resortable_list.c \adaptive_resortable_list.h \
        avl.c avl.h \
        backends.c backends.h \
        clocks.c clocks.h \
@@ -50,6 +53,7 @@ netdata_SOURCES = \
        simple_pattern.c simple_pattern.h \
        sys_fs_cgroup.c \
        sys_devices_system_edac_mc.c \
+       sys_devices_system_node.c \
        procfile.c procfile.h \
        proc_self_mountinfo.c proc_self_mountinfo.h \
        registry.c registry.h \
@@ -61,6 +65,10 @@ netdata_SOURCES = \
        registry_db.c \
        registry_log.c \
        rrd.c rrd.h \
+       rrddim.c \
+       rrdfamily.c \
+       rrdhost.c \
+       rrdset.c \
        rrd2json.c rrd2json.h \
        storage_number.c storage_number.h \
        unit_test.c unit_test.h \
@@ -131,6 +139,17 @@ apps_plugin_SOURCES = \
        web_buffer.c web_buffer.h \
        $(NULL)
 
+if FREEBSD
+apps_plugin_SOURCES += \
+       plugin_freebsd.h \
+       $(NULL)
+endif
+
+apps_plugin_LDADD = \
+       $(OPTIONAL_MATH_LIBS) \
+       $(OPTIONAL_CAP_LIBS) \
+       $(NULL)
+
 install-data-hook:
        if [ `id -u` == 0 ]; then \
                chown root '$(DESTDIR)$(pluginsdir)/apps.plugin' && \