2 # Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
4 MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
7 -DVARLIB_DIR="\"$(varlibdir)\"" \
8 -DCACHE_DIR="\"$(cachedir)\"" \
9 -DCONFIG_DIR="\"$(configdir)\"" \
10 -DLOG_DIR="\"$(logdir)\"" \
11 -DPLUGINS_DIR="\"$(pluginsdir)\"" \
12 -DRUN_DIR="\"$(localstatedir)/run/netdata\"" \
13 -DWEB_DIR="\"$(webdir)\"" \
17 $(OPTIONAL_MATH_CFLAGS) \
18 $(OPTIONAL_NFACCT_CLFAGS) \
19 $(OPTIONAL_ZLIB_CFLAGS) \
20 $(OPTIONAL_UUID_CFLAGS) \
21 $(OPTIONAL_LIBCAP_CFLAGS) \
22 $(OPTIONAL_IPMIMONITORING_CFLAGS)\
25 sbin_PROGRAMS = netdata
26 dist_cache_DATA = .keep
27 dist_varlib_DATA = .keep
28 dist_registry_DATA = .keep
33 plugins_PROGRAMS += apps.plugin
36 if ENABLE_PLUGIN_FREEIPMI
37 plugins_PROGRAMS += freeipmi.plugin
41 appconfig.c appconfig.h \
42 adaptive_resortable_list.c adaptive_resortable_list.h \
44 backends.c backends.h \
48 dictionary.c dictionary.h \
50 global_statistics.c global_statistics.h \
51 health.c health.h health_log.c health_config.c health_json.c \
55 plugin_checks.c plugin_checks.h \
56 plugin_idlejitter.c plugin_idlejitter.h \
57 plugin_nfacct.c plugin_nfacct.h \
58 plugin_tc.c plugin_tc.h \
59 plugins_d.c plugins_d.h \
62 simple_pattern.c simple_pattern.h \
64 sys_devices_system_edac_mc.c \
65 sys_devices_system_node.c \
66 procfile.c procfile.h \
67 proc_self_mountinfo.c proc_self_mountinfo.h \
68 registry.c registry.h \
69 registry_internals.c registry_internals.h \
70 registry_url.c registry_url.h \
71 registry_person.c registry_person.h \
72 registry_machine.c registry_machine.h \
86 rrd2json.c rrd2json.h \
87 rrd2json_api_old.c rrd2json_api_old.h \
89 storage_number.c storage_number.h \
90 unit_test.c unit_test.h \
92 web_api_old.c web_api_old.h \
93 web_api_v1.c web_api_v1.h \
94 web_buffer.c web_buffer.h \
95 web_buffer_svg.c web_buffer_svg.h \
96 web_client.c web_client.h \
97 web_server.c web_server.h \
102 plugin_freebsd.c plugin_freebsd.h \
108 plugin_macos.c plugin_macos.h \
116 plugin_proc.c plugin_proc.h \
117 plugin_proc_diskspace.c plugin_proc_diskspace.h \
124 proc_net_ip_vs_stats.c \
127 proc_net_rpc_nfsd.c \
130 proc_net_softnet_stat.c \
131 proc_net_stat_conntrack.c \
132 proc_net_stat_synproxy.c \
134 proc_sys_kernel_random_entropy_avail.c \
137 sys_kernel_mm_ksm.c \
143 $(OPTIONAL_MATH_LIBS) \
144 $(OPTIONAL_NFACCT_LIBS) \
145 $(OPTIONAL_ZLIB_LIBS) \
146 $(OPTIONAL_UUID_LIBS) \
149 apps_plugin_SOURCES = \
156 procfile.c procfile.h \
157 web_buffer.c web_buffer.h \
161 apps_plugin_SOURCES += \
166 apps_plugin_LDADD = \
167 $(OPTIONAL_MATH_LIBS) \
168 $(OPTIONAL_LIBCAP_LIBS) \
171 freeipmi_plugin_SOURCES = \
177 procfile.c procfile.h \
180 freeipmi_plugin_LDADD = \
181 $(OPTIONAL_IPMIMONITORING_LIBS) \