]> arthur.barton.de Git - netdata.git/blobdiff - src/Makefile.am
split rrd.c into multiple files
[netdata.git] / src / Makefile.am
index 5533c95167cfb72f5947c90785f54a7630a621c1..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 \
@@ -37,6 +40,7 @@ netdata_SOURCES = \
        eval.c eval.h \
        global_statistics.c global_statistics.h \
        health.c health.h \
+       inlined.h \
        log.c log.h \
        main.c main.h \
        plugin_checks.c plugin_checks.h \
@@ -46,8 +50,10 @@ netdata_SOURCES = \
        plugins_d.c plugins_d.h \
        popen.c popen.h \
        socket.c socket.h \
+       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 \
@@ -59,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 \
@@ -86,6 +96,7 @@ else
 netdata_SOURCES += \
        ipc.c ipc.h \
        plugin_proc.c plugin_proc.h \
+       plugin_proc_diskspace.c plugin_proc_diskspace.h \
        proc_diskstats.c \
        proc_interrupts.c \
        proc_softirqs.c \
@@ -122,11 +133,23 @@ apps_plugin_SOURCES = \
        avl.c avl.h \
        clocks.c clocks.h \
        common.c common.h \
+       inlined.h \
        log.c log.h \
        procfile.c procfile.h \
        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' && \