diff options
author | vkalintiris <vasilis@netdata.cloud> | 2023-12-13 16:41:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 16:41:20 +0200 |
commit | 92842d8422a570aed4005b5069531f7f5189fe4d (patch) | |
tree | 6923d0e00551ab448f7211e865577cd7a8991aef /Makefile.am | |
parent | 548489555bbdadc7274a2165f365b968992b98da (diff) |
CMake build system. (#15996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Co-authored-by: netdatabot <bot@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1686 |
1 files changed, 0 insertions, 1686 deletions
diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 398c6fb20c..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,1686 +0,0 @@ -# SPDX-License-Identifier: GPL-3.0-or-later - -AUTOMAKE_OPTIONS = foreign subdir-objects 1.11 -ACLOCAL_AMFLAGS = -I build/m4 - -nodist_netdata_SOURCES=$(NULL) -BUILT_SOURCES=$(NULL) - -MAINTAINERCLEANFILES = \ - config.log config.status \ - $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \ - $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \ - $(srcdir)/compile $(srcdir)/depcomp $(srcdir)/aclocal.m4 \ - $(srcdir)/config.guess $(srcdir)/config.sub \ - $(srcdir)/m4/ltsugar.m4 $(srcdir)/m4/libtool.m4 \ - $(srcdir)/m4/ltversion.m4 $(srcdir)/m4/lt~obsolete.m4 \ - $(srcdir)/m4/ltoptions.m4 \ - $(srcdir)/pkcs11-helper.spec $(srcdir)/config-w32-vc.h - -CLEANFILES = \ - $(srcdir)/$(distdir).tar.gz - -EXTRA_DIST = \ - .gitignore \ - .eslintignore \ - .eslintrc \ - .github/CODEOWNERS \ - build/m4/jemalloc.m4 \ - build/m4/ax_check_enable_debug.m4 \ - build/m4/ax_c_mallinfo.m4 \ - build/m4/ax_gcc_func_attribute.m4 \ - build/m4/ax_check_compile_flag.m4 \ - build/m4/ax_c_statement_expressions.m4 \ - build/m4/ax_pthread.m4 \ - build/m4/ax_c_lto.m4 \ - build/m4/ax_c_mallopt.m4 \ - build/m4/tcmalloc.m4 \ - build/m4/ax_c__generic.m4 \ - build/m4/ax_compiler_vendor.m4 \ - build/m4/ax_cxx_compile_stdcxx.m4 \ - ml/dlib \ - README.md \ - LICENSE \ - REDISTRIBUTED.md \ - $(NULL) - -SUBDIRS = \ - diagrams \ - system \ - tests \ - $(NULL) - -dist_noinst_DATA = \ - CHANGELOG.md \ - cppcheck.sh \ - contrib \ - docs \ - mqtt_websockets \ - netdata.cppcheck \ - netdata.spec \ - packaging/bundle-ebpf.sh \ - packaging/bundle-ebpf-co-re.sh \ - packaging/bundle-libbpf.sh \ - packaging/check-kernel-config.sh \ - packaging/ebpf.checksums \ - packaging/ebpf.version \ - packaging/ebpf-co-re.checksums \ - packaging/ebpf-co-re.version \ - packaging/go.d.checksums \ - packaging/go.d.version \ - packaging/installer/README.md \ - packaging/installer/UNINSTALL.md \ - packaging/installer/UPDATE.md \ - packaging/jsonc.checksums \ - packaging/jsonc.version \ - packaging/yaml.checksums \ - packaging/yaml.version \ - packaging/current_libbpf.checksums \ - packaging/current_libbpf.version \ - packaging/libbpf_0_0_9.checksums \ - packaging/libbpf_0_0_9.version \ - packaging/protobuf.checksums \ - packaging/protobuf.version \ - packaging/version \ - database/engine/journalfile_v2.ksy.in \ - web/server/h2o/libh2o \ - $(NULL) - -# until integrated within build -# should be proper init.d/openrc/systemd usable -dist_noinst_SCRIPTS = \ - coverity-scan.sh \ - packaging/installer/netdata-updater.sh \ - packaging/installer/netdata-uninstaller.sh \ - packaging/installer/kickstart.sh \ - packaging/installer/kickstart-static64.sh \ - packaging/installer/functions.sh \ - netdata-installer.sh - $(NULL) - -# ----------------------------------------------------------------------------- -# Compile netdata binaries - -SUBDIRS += \ - collectors \ - daemon \ - database \ - exporting \ - health \ - libnetdata \ - registry \ - streaming \ - web \ - claim \ - spawn \ - logsmanagement \ - $(NULL) - -AM_CFLAGS = \ - $(OPTIONAL_MATH_CFLAGS) \ - $(OPTIONAL_NFACCT_CFLAGS) \ - $(ZLIB_CFLAGS) \ - $(OPTIONAL_UUID_CFLAGS) \ - $(OPTIONAL_MQTT_CFLAGS) \ - $(OPTIONAL_LIBCAP_LIBS) \ - $(OPTIONAL_DATACHANNEL_CFLAGS) \ - $(OPTIONAL_IPMIMONITORING_CFLAGS) \ - $(OPTIONAL_CUPS_CFLAGS) \ - $(OPTIONAL_XENSTAT_CFLAGS) \ - $(OPTIONAL_BPF_CFLAGS) \ - $(OPTIONAL_SYSTEMD_CFLAGS) \ - $(OPTIONAL_GTEST_CFLAGS) \ - $(NULL) - -sbin_PROGRAMS = -plugins_PROGRAMS = - -LIBNETDATA_FILES = \ - libnetdata/adaptive_resortable_list/adaptive_resortable_list.c \ - libnetdata/adaptive_resortable_list/adaptive_resortable_list.h \ - libnetdata/config/appconfig.c \ - libnetdata/config/appconfig.h \ - libnetdata/aral/aral.c \ - libnetdata/aral/aral.h \ - libnetdata/avl/avl.c \ - libnetdata/avl/avl.h \ - libnetdata/buffer/buffer.c \ - libnetdata/buffer/buffer.h \ - libnetdata/buffered_reader/buffered_reader.c \ - libnetdata/buffered_reader/buffered_reader.h \ - libnetdata/circular_buffer/circular_buffer.c \ - libnetdata/circular_buffer/circular_buffer.h \ - libnetdata/clocks/clocks.c \ - libnetdata/clocks/clocks.h \ - libnetdata/completion/completion.c \ - libnetdata/completion/completion.h \ - libnetdata/datetime/iso8601.c \ - libnetdata/datetime/iso8601.h \ - libnetdata/datetime/rfc3339.c \ - libnetdata/datetime/rfc3339.h \ - libnetdata/datetime/rfc7231.c \ - libnetdata/datetime/rfc7231.h \ - libnetdata/dictionary/dictionary.c \ - libnetdata/dictionary/dictionary.h \ - libnetdata/eval/eval.c \ - libnetdata/eval/eval.h \ - libnetdata/facets/facets.c \ - libnetdata/facets/facets.h \ - libnetdata/functions_evloop/functions_evloop.c \ - libnetdata/functions_evloop/functions_evloop.h \ - libnetdata/gorilla/gorilla.h \ - libnetdata/gorilla/gorilla.cc \ - libnetdata/inlined.h \ - libnetdata/july/july.c \ - libnetdata/july/july.h \ - libnetdata/libnetdata.c \ - libnetdata/libnetdata.h \ - libnetdata/required_dummies.h \ - libnetdata/line_splitter/line_splitter.c \ - libnetdata/line_splitter/line_splitter.h \ - libnetdata/locks/locks.c \ - libnetdata/locks/locks.h \ - libnetdata/log/journal.c \ - libnetdata/log/journal.h \ - libnetdata/log/log.c \ - libnetdata/log/log.h \ - libnetdata/onewayalloc/onewayalloc.c \ - libnetdata/onewayalloc/onewayalloc.h \ - libnetdata/popen/popen.c \ - libnetdata/popen/popen.h \ - libnetdata/procfile/procfile.c \ - libnetdata/procfile/procfile.h \ - libnetdata/os.c \ - libnetdata/os.h \ - libnetdata/endian.h \ - libnetdata/simple_pattern/simple_pattern.c \ - libnetdata/simple_pattern/simple_pattern.h \ - libnetdata/socket/socket.c \ - libnetdata/socket/socket.h \ - libnetdata/socket/security.c \ - libnetdata/socket/security.h \ - libnetdata/statistical/statistical.c \ - libnetdata/statistical/statistical.h \ - libnetdata/string/string.c \ - libnetdata/string/string.h \ - libnetdata/storage_number/storage_number.c \ - libnetdata/storage_number/storage_number.h \ - libnetdata/threads/threads.c \ - libnetdata/threads/threads.h \ - libnetdata/url/url.c \ - libnetdata/url/url.h \ - libnetdata/uuid/uuid.c \ - libnetdata/uuid/uuid.h \ - libnetdata/json/json.c \ - libnetdata/json/json.h \ - libnetdata/json/jsmn.c \ - libnetdata/json/jsmn.h \ - libnetdata/health/health.c \ - libnetdata/health/health.h \ - libnetdata/string/utf8.h \ - libnetdata/worker_utilization/worker_utilization.c \ - libnetdata/worker_utilization/worker_utilization.h \ - libnetdata/xxhash.h \ - libnetdata/http/http_defs.h \ - libnetdata/dyn_conf/dyn_conf.c \ - libnetdata/dyn_conf/dyn_conf.h \ - libnetdata/simple_hashtable.h \ - $(NULL) - -if ENABLE_PLUGIN_EBPF - LIBNETDATA_FILES += \ - libnetdata/ebpf/ebpf.c \ - libnetdata/ebpf/ebpf.h \ - $(NULL) -endif - -APPS_PLUGIN_FILES = \ - collectors/apps.plugin/apps_plugin.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -DEBUGFS_PLUGIN_FILES = \ - collectors/debugfs.plugin/debugfs_plugin.c \ - collectors/debugfs.plugin/debugfs_plugin.h \ - collectors/debugfs.plugin/debugfs_extfrag.c \ - collectors/debugfs.plugin/debugfs_zswap.c \ - collectors/debugfs.plugin/sys_devices_virtual_powercap.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -FREEBSD_PLUGIN_FILES = \ - collectors/freebsd.plugin/plugin_freebsd.c \ - collectors/freebsd.plugin/plugin_freebsd.h \ - collectors/freebsd.plugin/freebsd_sysctl.c \ - collectors/freebsd.plugin/freebsd_getmntinfo.c \ - collectors/freebsd.plugin/freebsd_getifaddrs.c \ - collectors/freebsd.plugin/freebsd_devstat.c \ - collectors/freebsd.plugin/freebsd_kstat_zfs.c \ - collectors/freebsd.plugin/freebsd_ipfw.c \ - collectors/proc.plugin/zfs_common.c \ - collectors/proc.plugin/zfs_common.h \ - $(NULL) - -HEALTH_PLUGIN_FILES = \ - health/health.c \ - health/health.h \ - health/health_config.c \ - health/health_json.c \ - health/health_log.c \ - $(NULL) - -ML_FILES = \ - ml/ml.h \ - ml/ml-dummy.c \ - $(NULL) - -if ENABLE_ML - -ML_FILES += \ - ml/ad_charts.h \ - ml/ad_charts.cc \ - ml/Config.cc \ - ml/dlib/dlib/all/source.cpp \ - ml/ml-private.h \ - ml/ml.cc \ - $(NULL) - -# Disable warnings from dlib library -ml/dlib/dlib/all/source.$(OBJEXT) : CXXFLAGS += -Wno-sign-compare -Wno-type-limits -Wno-aggressive-loop-optimizations -Wno-stringop-overflow -Wno-psabi - -# Disable ml warnings -ml/ml.$(OBJEXT) : CXXFLAGS += -Wno-psabi - -endif - -IDLEJITTER_PLUGIN_FILES = \ - collectors/idlejitter.plugin/plugin_idlejitter.c \ - $(NULL) - -CGROUPS_PLUGIN_FILES = \ - collectors/cgroups.plugin/cgroup-internals.h \ - collectors/cgroups.plugin/cgroup-discovery.c \ - collectors/cgroups.plugin/cgroup-charts.c \ - collectors/cgroups.plugin/cgroup-top.c \ - collectors/cgroups.plugin/sys_fs_cgroup.c \ - collectors/cgroups.plugin/sys_fs_cgroup.h \ - $(NULL) - -CGROUP_NETWORK_FILES = \ - collectors/cgroups.plugin/cgroup-network.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -LOCAL_LISTENERS_FILES = \ - collectors/plugins.d/local_listeners.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -DISKSPACE_PLUGIN_FILES = \ - collectors/diskspace.plugin/plugin_diskspace.c \ - $(NULL) - -TIMEX_PLUGIN_FILES = \ - collectors/timex.plugin/plugin_timex.c \ - $(NULL) - -FREEIPMI_PLUGIN_FILES = \ - collectors/freeipmi.plugin/freeipmi_plugin.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -SYSTEMD_JOURNAL_PLUGIN_FILES = \ - collectors/systemd-journal.plugin/systemd-internals.h \ - collectors/systemd-journal.plugin/systemd-main.c \ - collectors/systemd-journal.plugin/systemd-units.c \ - collectors/systemd-journal.plugin/systemd-journal.c \ - collectors/systemd-journal.plugin/systemd-journal-watcher.c \ - collectors/systemd-journal.plugin/systemd-journal-annotations.c \ - collectors/systemd-journal.plugin/systemd-journal-files.c \ - collectors/systemd-journal.plugin/systemd-journal-fstat.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -SYSTEMD_CAT_NATIVE_FILES = \ - libnetdata/log/systemd-cat-native.c \ - libnetdata/log/systemd-cat-native.h \ - $(LIBNETDATA_FILES) \ - $(NULL) - -LOG2JOURNAL_FILES = \ - collectors/log2journal/log2journal.h \ - collectors/log2journal/log2journal.c \ - collectors/log2journal/log2journal-help.c \ - collectors/log2journal/log2journal-yaml.c \ - collectors/log2journal/log2journal-json.c \ - collectors/log2journal/log2journal-logfmt.c \ - collectors/log2journal/log2journal-pcre2.c \ - collectors/log2journal/log2journal-params.c \ - collectors/log2journal/log2journal-inject.c \ - collectors/log2journal/log2journal-pattern.c \ - collectors/log2journal/log2journal-replace.c \ - collectors/log2journal/log2journal-rename.c \ - collectors/log2journal/log2journal-rewrite.c \ - $(NULL) - - -LOGSMANAGEMENT_FILES = \ - logsmanagement/circular_buffer.c \ - logsmanagement/circular_buffer.h \ - logsmanagement/db_api.c \ - logsmanagement/db_api.h \ - logsmanagement/defaults.h \ - logsmanagement/file_info.h \ - logsmanagement/flb_plugin.c \ - logsmanagement/flb_plugin.h \ - logsmanagement/functions.c \ - logsmanagement/functions.h \ - logsmanagement/helper.h \ - logsmanagement/logsmanag_config.c \ - logsmanagement/logsmanag_config.h \ - logsmanagement/logsmanagement.c \ - logsmanagement/parser.c \ - logsmanagement/parser.h \ - logsmanagement/query.c \ - logsmanagement/query.h \ - logsmanagement/rrd_api/rrd_api_docker_ev.c \ - logsmanagement/rrd_api/rrd_api_docker_ev.h \ - logsmanagement/rrd_api/rrd_api_generic.c \ - logsmanagement/rrd_api/rrd_api_generic.h \ - logsmanagement/rrd_api/rrd_api_kernel.c \ - logsmanagement/rrd_api/rrd_api_kernel.h \ - logsmanagement/rrd_api/rrd_api_mqtt.c \ - logsmanagement/rrd_api/rrd_api_mqtt.h \ - logsmanagement/rrd_api/rrd_api_stats.c \ - logsmanagement/rrd_api/rrd_api_stats.h \ - logsmanagement/rrd_api/rrd_api_systemd.c \ - logsmanagement/rrd_api/rrd_api_systemd.h \ - logsmanagement/rrd_api/rrd_api_web_log.c \ - logsmanagement/rrd_api/rrd_api_web_log.h \ - logsmanagement/rrd_api/rrd_api.h \ - database/sqlite/sqlite3.c \ - database/sqlite/sqlite3.h \ - $(LIBNETDATA_FILES) \ - $(NULL) - -LOGSMANAGEMENT_TESTS_FILES = \ - logsmanagement/unit_test/unit_test.c \ - logsmanagement/unit_test/unit_test.h \ - $(NULL) - -CUPS_PLUGIN_FILES = \ - collectors/cups.plugin/cups_plugin.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -NFACCT_PLUGIN_FILES = \ - collectors/nfacct.plugin/plugin_nfacct.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -SLABINFO_PLUGIN_FILES = \ - collectors/slabinfo.plugin/slabinfo.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -XENSTAT_PLUGIN_FILES = \ - collectors/xenstat.plugin/xenstat_plugin.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -PERF_PLUGIN_FILES = \ - collectors/perf.plugin/perf_plugin.c \ - $(LIBNETDATA_FILES) \ - $(NULL) - -EBPF_PLUGIN_FILES = \ - collectors/ebpf.plugin/ebpf.c \ - collectors/ebpf.plugin/ebpf_cachestat.c \ - collectors/ebpf.plugin/ebpf_cachestat.h \ - collectors/ebpf.plugin/ebpf_dcstat.c \ - collectors/ebpf.plugin/ebpf_dcstat.h \ - collectors/ebpf.plugin/ebpf_disk.c \ - collectors/ebpf.plugin/ebpf_disk.h \ - collectors/ebpf.plugin/ebpf_fd.c \ - collectors/ebpf.plugin/ebpf_fd.h \ - collectors/ebpf.plugin/ebpf_filesystem.c \ - collectors/ebpf.plugin/ebpf_filesystem.h \ - collectors/ebpf.plugin/ebpf_hardirq.c \ - collectors/ebpf.plugin/ebpf_hardirq.h \ - collectors/ebpf.plugin/ebpf_mdflush.c \ - collectors/ebpf.plugin/ebpf_mdflush.h \ - collectors/ebpf.plugin/ebpf_mount.c \ - collectors/ebpf.plugin/ebpf_mount.h \ - collectors/ebpf.plugin/ebpf_oomkill.c \ - collectors/ebpf.plugin/ebpf_oomkill.h \ - collectors/ebpf.plugin/ebpf_process.c \ - collectors/ebpf.plugin/ebpf_process.h \ - collectors/ebpf.plugin/ebpf_shm.c \ - collectors/ebpf.plugin/ebpf_shm.h \ - collectors/ebpf.plugin/ebpf_socket.c \ - collectors/ebpf.plugin/ebpf_socket.h \ - collectors/ebpf.plugin/ebpf_softirq.c \ - collectors/ebpf.plugin/ebpf_softirq.h \ - collectors/ebpf.plugin/ebpf_sync.c \ - collectors/ebpf.plugin/ebpf_sync.h \ - collectors/ebpf.plugin/ebpf_swap.c \ - collectors/ebpf.plugin/ebpf_swap.h \ - collectors/ebpf.plugin/ebpf_vfs.c \ - collectors/ebpf.plugin/ebpf_vfs.h \ - collectors/ebpf.plugin/ebpf.h \ - collectors/ebpf.plugin/ebpf_apps.c \ - collectors/ebpf.plugin/ebpf_apps.h \ - collectors/ebpf.plugin/ebpf_cgroup.c \ - collectors/ebpf.plugin/ebpf_cgroup.h \ - collectors/ebpf.plugin/ebpf_unittest.c \ - collectors/ebpf.plugin/ebpf_unittest.h \ - collectors/ebpf.plugin/ebpf_functions.c \ - collectors/ebpf.plugin/ebpf_functions.h \ - $(LIBNETDATA_FILES) \ - $(NULL) - -PROC_PLUGIN_FILES = \ - collectors/proc.plugin/ipc.c \ - collectors/proc.plugin/plugin_proc.c \ - collectors/proc.plugin/plugin_proc.h \ - collectors/proc.plugin/proc_diskstats.c \ - collectors/proc.plugin/proc_mdstat.c \ - collectors/proc.plugin/proc_interrupts.c \ - collectors/proc.plugin/proc_softirqs.c \ - collectors/proc.plugin/proc_loadavg.c \ - collectors/proc.plugin/proc_meminfo.c \ - collectors/proc.plugin/proc_pagetypeinfo.c \ - collectors/proc.plugin/proc_pressure.c \ - collectors/proc.plugin/proc_pressure.h \ - collectors/proc.plugin/proc_net_dev.c \ - collectors/proc.plugin/proc_net_wireless.c \ - collectors/proc.plugin/proc_net_ip_vs_stats.c \ - collectors/proc.plugin/proc_net_netstat.c \ - collectors/proc.plugin/proc_net_rpc_nfs.c \ - collectors/proc.plugin/proc_net_rpc_nfsd.c \ - collectors/proc.plugin/proc_net_sctp_snmp.c \ - collectors/proc.plugin/proc_net_sockstat.c \ - collectors/proc.plugin/proc_net_sockstat6.c \ - collectors/proc.plugin/proc_net_softnet_stat.c \ - collectors/proc.plugin/proc_net_stat_conntrack.c \ - collectors/proc.plugin/proc_net_stat_synproxy.c \ - collectors/proc.plugin/proc_self_mountinfo.c \ - collectors/proc.plugin/proc_self_mountinfo.h \ - collectors/proc.plugin/zfs_common.c \ - collectors/proc.plugin/zfs_common.h \ - collectors/proc.plugin/proc_spl_kstat_zfs.c \ - collectors/proc.plugin/proc_stat.c \ - collectors/proc.plugin/proc_sys_fs_file_nr.c \ - collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c \ - collectors/proc.plugin/proc_vmstat.c \ - collectors/proc.plugin/proc_uptime.c \ - collectors/proc.plugin/sys_kernel_mm_ksm.c \ - collectors/proc.plugin/sys_block_zram.c \ - collectors/proc.plugin/sys_devices_system_edac_mc.c \ - collectors/proc.plugin/sys_devices_pci_aer.c \ - collectors/proc.plugin/sys_devices_system_node.c \ - collectors/proc.plugin/sys_fs_btrfs.c \ - collectors/proc.plugin/sys_class_power_supply.c \ - collectors/proc.plugin/sys_class_infiniband.c \ - collectors/proc.plugin/sys_class_drm.c \ - $(NULL) - -PROFILE_PLUGIN_FILES = \ - collectors/profile.plugin/plugin_profile.cc \ - $(NULL) - -TC_PLUGIN_FILES = \ - collectors/tc.plugin/plugin_tc.c \ - $(NULL) - -MACOS_PLUGIN_FILES = \ - collectors/macos.plugin/plugin_macos.c \ - collectors/macos.plugin/plugin_macos.h \ - collectors/macos.plugin/macos_sysctl.c \ - collectors/macos.plugin/macos_mach_smi.c \ - collectors/macos.plugin/macos_fw.c \ - $(NULL) - -PLUGINSD_PLUGIN_FILES = \ - collectors/plugins.d/plugins_d.c \ - collectors/plugins.d/plugins_d.h \ - collectors/plugins.d/pluginsd_parser.c \ - collectors/plugins.d/pluginsd_parser.h \ - collectors/plugins.d/gperf-hashtable.h \ - $(NULL) - -RRD_PLUGIN_FILES = \ - database/contexts/rrdcontext.c \ - database/contexts/rrdcontext.h \ - database/contexts/metric.c \ - database/contexts/instance.c \ - database/contexts/context.c \ - database/contexts/worker.c \ - database/contexts/query_target.c \ - database/contexts/query_scope.c \ - database/contexts/api_v1.c \ - database/contexts/api_v2.c \ - database/contexts/internal.h \ - database/rrdcalc.c \ - database/rrdcalc.h \ - database/rrdcalctemplate.c \ - database/rrdcalctemplate.h \ - database/rrddim.c \ - database/rrddimvar.c \ - database/rrddimvar.h \ - database/rrdfamily.c \ - database/rrdhost.c \ - database/rrdlabels.c \ - database/rrdlabels.h \ - database/rrd.c \ - database/rrd.h \ - database/rrdset.c \ - database/rrdfunctions.c \ - database/rrdfunctions.h \ - database/rrdsetvar.c \ - database/rrdsetvar.h \ - database/rrdvar.c \ - database/rrdvar.h \ - database/storage_engine.c \ - database/storage_engine.h \ - database/ram/rrddim_mem.c \ - database/ram/rrddim_mem.h \ - database/sqlite/sqlite_functions.c \ - database/sqlite/sqlite_functions.h \ - database/sqlite/sqlite_context.c \ - database/sqlite/sqlite_context.h \ - database/sqlite/sqlite_db_migration.c \ - database/sqlite/sqlite_db_migration.h \ - database/sqlite/sqlite_aclk.c \ - database/sqlite/sqlite_aclk.h \ - database/sqlite/sqlite_metadata.c \ - database/sqlite/sqlite_metadata.h \ - database/sqlite/sqlite_health.c \ - database/sqlite/sqlite_health.h \ - database/sqlite/sqlite_aclk_node.c \ - database/sqlite/sqlite_aclk_node.h \ - database/sqlite/sqlite_aclk_alert.c \ - database/sqlite/sqlite_aclk_alert.h \ - database/sqlite/sqlite3.c \ - database/sqlite/sqlite3.h \ - database/sqlite/sqlite3recover.c \ - database/sqlite/sqlite3recover.h \ - database/sqlite/dbdata.c \ - database/KolmogorovSmirnovDist.c \ - database/KolmogorovSmirnovDist.h \ - $(NULL) - -database/sqlite/sqlite3.$(OBJEXT) : CFLAGS += -Wno-cast-function-type -database/KolmogorovSmirnovDist.$(OBJEXT) : CFLAGS += -Wno-maybe-uninitialized - -noinst_LIBRARIES = libjudy.a - -libjudy_a_SOURCES = libnetdata/libjudy/src/Judy.h \ - libnetdata/libjudy/src/JudyCommon/JudyMalloc.c \ - libnetdata/libjudy/src/JudyCommon/JudyPrivate.h \ - libnetdata/libjudy/src/JudyCommon/JudyPrivate1L.h \ - libnetdata/libjudy/src/JudyCommon/JudyPrivateBranch.h \ - libnetdata/libjudy/src/JudyL/JudyL.h \ - libnetdata/libjudy/src/JudyL/JudyLByCount.c \ - libnetdata/libjudy/src/JudyL/JudyLCascade.c \ - libnetdata/libjudy/src/JudyL/JudyLCount.c \ - libnetdata/libjudy/src/JudyL/JudyLCreateBranch.c \ - libnetdata/libjudy/src/JudyL/JudyLDecascade.c \ - libnetdata/libjudy/src/JudyL/JudyLDel.c \ - libnetdata/libjudy/src/JudyL/JudyLFirst.c \ - libnetdata/libjudy/src/JudyL/JudyLFreeArray.c \ - libnetdata/libjudy/src/JudyL/j__udyLGet.c \ - libnetdata/libjudy/src/JudyL/JudyLGet.c \ - libnetdata/libjudy/src/JudyL/JudyLInsArray.c \ - libnetdata/libjudy/src/JudyL/JudyLIns.c \ - libnetdata/libjudy/src/JudyL/JudyLInsertBranch.c \ - libnetdata/libjudy/src/JudyL/JudyLMallocIF.c \ - libnetdata/libjudy/src/JudyL/JudyLMemActive.c \ - libnetdata/libjudy/src/JudyL/JudyLMemUsed.c \ - libnetdata/libjudy/src/JudyL/JudyLNext.c \ - libnetdata/libjudy/src/JudyL/JudyLNextEmpty.c \ - libnetdata/libjudy/src/JudyL/JudyLPrev.c \ - libnetdata/libjudy/src/JudyL/JudyLPrevEmpty.c \ - libnetdata/libjudy/src/JudyL/JudyLTables.c \ - libnetdata/libjudy/src/JudyHS/JudyHS.c \ - $(NULL) - -libjudy_a_CFLAGS = $(LIBJUDY_CFLAGS) -DJUDYL -I$(abs_top_srcdir)/libnetdata/libjudy/src -I$(abs_top_srcdir)/libnetdata/libjudy/src/JudyCommon -Wno-sign-compare -Wno-implicit-fallthrough - -libnetdata/libjudy/src/JudyL/libjudy_a-JudyLPrev.$(OBJEXT) : CFLAGS += -DJUDYPREV -libnetdata/libjudy/src/JudyL/libjudy_a-JudyLPrevEmpty.$(OBJEXT) : CFLAGS += -DJUDYPREV -libnetdata/libjudy/src/JudyL/libjudy_a-JudyLNext.$(OBJEXT) : CFLAGS += -DJUDYNEXT -libnetdata/libjudy/src/JudyL/libjudy_a-JudyLNextEmpty.$(OBJEXT) : CFLAGS += -DJUDYNEXT -libnetdata/libjudy/src/JudyL/libjudy_a-JudyLByCount.$(OBJEXT) : CFLAGS += -DNOSMARTJBB -DNOSMARTJBU -DNOSMARTJLB -libnetdata/libjudy/src/JudyL/libjudy_a-j__udyLGet.$(OBJEXT) : CFLAGS += -DJUDYGETINLINE - -libjudy_a-JudyLTables.$(OBJEXT) : CFLAGS += -I$(abs_top_srcdir)/libnetdata/libjudy/src/JudyL - -if ENABLE_DBENGINE - RRD_PLUGIN_FILES += \ - database/engine/rrdengine.c \ - database/engine/rrdengine.h \ - database/engine/rrddiskprotocol.h \ - database/engine/datafile.c \ - database/engine/datafile.h \ - database/engine/journalfile.c \ - database/engine/journalfile.h \ - database/engine/rrdenginelib.c \ - database/engine/rrdenginelib.h \ - database/engine/rrdengineapi.c \ - database/engine/rrdengineapi.h \ - database/engine/pagecache.c \ - database/engine/pagecache.h \ - database/engine/cache.c \ - database/engine/cache.h \ - database/engine/metric.c \ - database/engine/metric.h \ - database/engine/page.c \ - database/engine/page.h \ - database/engine/page_test.cc \ - database/engine/page_test.h \ - database/engine/pdc.c \ - database/engine/pdc.h \ - $(NULL) - - RRD_PLUGIN_KSY_BUILTFILES = \ - database/engine/journalfile_v2.ksy \ - database/engine/journalfile_v2_virtmemb.ksy \ - $(NULL) - - BUILT_SOURCES += $(RRD_PLUGIN_KSY_BUILTFILES) - CLEANFILES += $(RRD_PLUGIN_KSY_BUILTFILES) - -database/engine/journalfile_v2.ksy: $(abs_top_srcdir)/database/engine/journalfile_v2.ksy.in - m4 $(abs_top_srcdir)/database/engine/journalfile_v2.ksy.in > $@ - -database/engine/journalfile_v2_virtmemb.ksy: $(abs_top_srcdir)/database/engine/journalfile_v2.ksy.in - m4 -DVIRT_MEMBERS $(abs_top_srcdir)/database/engine/journalfile_v2.ksy.in > $@ -endif - -API_PLUGIN_FILES = \ - web/api/badges/web_buffer_svg.c \ - web/api/badges/web_buffer_svg.h \ - web/api/exporters/allmetrics.c \ - web/api/exporters/allmetrics.h \ - web/api/exporters/shell/allmetrics_shell.c \ - web/api/exporters/shell/allmetrics_shell.h \ - web/api/ilove/ilove.c \ - web/api/ilove/ilove.h \ - web/api/queries/average/average.c \ - web/api/queries/average/average.h \ - web/api/queries/countif/countif.c \ - web/api/queries/countif/countif.h \ - web/api/queries/des/des.c \ - web/api/queries/des/des.h \ - web/api/queries/incremental_sum/incremental_sum.c \ - web/api/queries/incremental_sum/incremental_sum.h \ - web/api/queries/max/max.c \ - web/api/queries/max/max.h \ - web/api/queries/median/median.c \ - web/api/queries/median/median.h \ - web/api/queries/min/min.c \ - web/api/queries/min/min.h \ - web/api/queries/percentile/percentile.c \ - web/api/queries/percentile/percentile.h \ - web/api/queries/trimmed_mean/trimmed_mean.c \ - web/api/queries/trimmed_mean/trimmed_mean.h \ - web/api/queries/query.c \ - web/api/queries/query.h \ - web/api/queries/rrdr.c \ - web/api/queries/rrdr.h \ - web/api/queries/ses/ses.c \ - web/api/queries/ses/ses.h \ - web/api/queries/stddev/stddev.c \ - web/api/queries/stddev/stddev.h \ - web/api/queries/sum/sum.c \ - web/api/queries/sum/sum.h \ - web/api/queries/weights.c \ - web/api/queries/weights.h \ - web/api/formatters/rrd2json.c \ - web/api/formatters/rrd2json.h \ - web/api/formatters/csv/csv.c \ - web/api/formatters/csv/csv.h \ - web/api/formatters/json/json.c \ - web/api/formatters/json/json.h \ - web/api/formatters/ssv/ssv.c \ - web/api/formatters/ssv/ssv.h \ - web/api/formatters/value/value.c \ - web/api/formatters/value/value.h \ - web/api/formatters/json_wrapper.c \ - web/api/formatters/json_wrapper.h \ - web/api/formatters/charts2json.c \ - web/api/formatters/charts2json.h \ - web/api/formatters/rrdset2json.c \ - web/api/formatters/rrdset2json.h \ - web/api/health/health_cmdapi.c \ - web/api/health/health_cmdapi.h \ - web/api/web_api.c \ - web/api/web_api.h \ - web/api/web_api_v1.c \ - web/api/web_api_v1.h \ - web/api/web_api_v2.c \ - web/api/web_api_v2.h \ - $(NULL) - -STREAMING_PLUGIN_FILES = \ - streaming/rrdpush.c \ - streaming/compression.c \ - streaming/compression.h \ - streaming/compression_brotli.c \ - streaming/compression_brotli.h \ - streaming/compression_gzip.c \ - streaming/compression_gzip.h \ - streaming/compression_lz4.c \ - streaming/compression_lz4.h \ - streaming/compression_zstd.c \ - streaming/compression_zstd.h \ - streaming/sender.c \ - streaming/receiver.c \ - streaming/replication.h \ - streaming/replication.c \ - streaming/rrdpush.h \ - streaming/common.h \ - $(NULL) - -REGISTRY_PLUGIN_FILES = \ - registry/registry.c \ - registry/registry.h \ - registry/registry_db.c \ - registry/registry_init.c \ - registry/registry_internals.c \ - registry/registry_internals.h \ - registry/registry_log.c \ - registry/registry_machine.c \ - registry/registry_machine.h \ - registry/registry_person.c \ - registry/registry_person.h \ - $(NULL) - -STATSD_PLUGIN_FILES = \ - collectors/statsd.plugin/statsd.c \ - $(NULL) - -WEB_PLUGIN_FILES = \ - web/rtc/webrtc.c \ - web/rtc/webrtc.h \ - web/server/web_client.c \ - web/server/web_client.h \ - web/server/web_server.c \ - web/server/web_server.h \ - web/server/web_client_cache.c \ - web/server/web_client_cache.h \ - web/server/static/static-threaded.c \ - web/server/static/static-threaded.h \ - $(NULL) - -CLAIM_FILES = \ - claim/claim.c \ - claim/claim.h \ - $(NULL) - -if ENABLE_ACLK -ACLK_FILES = \ - aclk/aclk_stats.c \ - aclk/aclk_stats.h \ - aclk/aclk_query.c \ - aclk/aclk_query.h \ - aclk/aclk_query_queue.c \ - aclk/aclk_query_queue.h \ - aclk/aclk_otp.c \ - aclk/aclk_otp.h \ - aclk/aclk_tx_msgs.c \ - aclk/aclk_tx_msgs.h \ - aclk/aclk_rx_msgs.c \ - aclk/aclk_rx_msgs.h \ - aclk/aclk_alarm_api.c \ - aclk/aclk_alarm_api.h \ - aclk/aclk_contexts_api.c \ - aclk/aclk_contexts_api.h \ - aclk/helpers/mqtt_wss_pal.h \ - aclk/helpers/ringbuffer_pal.h \ - aclk/schema-wrappers/connection.cc \ - aclk/schema-wrappers/connection.h \ - aclk/schema-wrappers/node_connection.cc \ - aclk/schema-wrappers/node_connection.h \ - aclk/schema-wrappers/node_creation.cc \ - aclk/schema-wrappers/node_creation.h \ - aclk/schema-wrappers/alarm_stream.cc \ - aclk/schema-wrappers/alarm_stream.h \ - aclk/schema-wrappers/alarm_config.cc \ - aclk/schema-wrappers/alarm_config.h \ - aclk/schema-wrappers/node_info.cc \ - aclk/schema-wrappers/node_info.h \ - aclk/schema-wrappers/capability.cc \ - aclk/schema-wrappers/capability.h \ - aclk/schema-wrappers/proto_2_json.cc \ - aclk/schema-wrappers/proto_2_json.h \ - aclk/schema-wrappers/schema_wrappers.h \ - aclk/schema-wrappers/schema_wrapper_utils.cc \ - aclk/schema-wrappers/schema_wrapper_utils.h \ - aclk/schema-wrappers/context_stream.cc \ - aclk/schema-wrappers/context_stream.h \ - aclk/schema-wrappers/context.cc \ - aclk/schema-wrappers/context.h \ - aclk/schema-wrappers/agent_cmds.cc \ - aclk/schema-wrappers/agent_cmds.h \ - $(NULL) - -noinst_LIBRARIES += libmqttwebsockets.a - -libmqttwebsockets_a_SOURCES = \ - mqtt_websockets/src/mqtt_wss_client.c \ - mqtt_websockets/src/include/mqtt_wss_client.h \ - mqtt_websockets/src/mqtt_wss_log.c \ - mqtt_websockets/src/include/mqtt_wss_log.h \ - mqtt_websockets/src/ws_client.c \ - mqtt_websockets/src/include/ws_client.h \ - mqtt_websockets/src/mqtt_ng.c \ - mqtt_websockets/src/include/mqtt_ng.h \ - mqtt_websockets/src/common_public.c \ - mqtt_websockets/src/include/common_public.h \ - mqtt_websockets/src/include/common_internal.h \ - $(NULL) - -libmqttwebsockets_a_CFLAGS = $(CFLAGS) -DMQTT_WSS_CUSTOM_ALLOC -DMQTT_WSS_CPUSTATS -I$(srcdir)/aclk/helpers -I$(srcdir)/mqtt_websockets/c_rhash/include - -if MQTT_WSS_DEBUG -libmqttwebsockets_a_CFLAGS += -DMQTT_WSS_DEBUG -endif - -mqtt_websockets/src/mqtt_wss_client.$(OBJEXT) : CFLAGS += -Wno-unused-result - -ACLK_PROTO_DEFINITIONS = \ - aclk/aclk-schemas/proto/aclk/v1/lib.proto \ - aclk/aclk-schemas/proto/agent/v1/disconnect.proto \ - aclk/aclk-schemas/proto/agent/v1/connection.proto \ - aclk/aclk-schemas/proto/alarm/v1/config.proto \ - aclk/aclk-schemas/proto/alarm/v1/stream.proto \ - aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.proto \ - aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.proto \ - aclk/aclk-schemas/proto/nodeinstance/info/v1/info.proto \ - aclk/aclk-schemas/proto/context/v1/context.proto \ - aclk/aclk-schemas/proto/context/v1/stream.proto \ - aclk/aclk-schemas/proto/agent/v1/cmds.proto \ - $(NULL) - -dist_noinst_DATA += $(ACLK_PROTO_DEFINITIONS) - -ACLK_PROTO_BUILT_FILES = aclk/aclk-schemas/proto/agent/v1/connection.pb.cc \ - aclk/aclk-schemas/proto/agent/v1/connection.pb.h \ - aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.pb.cc \ - aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.pb.h \ - aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.pb.cc \ - aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.pb.h \ - aclk/aclk-schemas/proto/aclk/v1/lib.pb.cc \ - aclk/aclk-schemas/proto/aclk/v1/lib.pb.h \ - aclk/aclk-schemas/proto/agent/v1/disconnect.pb.cc \ - aclk/aclk-schemas/proto/agent/v1/disconnect.pb.h \ - aclk/aclk-schemas/proto/alarm/v1/config.pb.cc \ - aclk/aclk-schemas/proto/alarm/v1/config.pb.h \ - aclk/aclk-schemas/proto/alarm/v1/stream.pb.cc \ - aclk/aclk-schemas/proto/alarm/v1/stream.pb.h \ - aclk/aclk-schemas/proto/nodeinstance/info/v1/info.pb.cc \ - aclk/aclk-schemas/proto/nodeinstance/info/v1/info.pb.h \ - aclk/aclk-schemas/proto/context/v1/context.pb.cc \ - aclk/aclk-schemas/proto/context/v1/context.pb.h \ - aclk/aclk-schemas/proto/context/v1/stream.pb.cc \ - aclk/aclk-schemas/proto/context/v1/stream.pb.h \ - aclk/aclk-schemas/proto/agent/v1/cmds.pb.cc \ - aclk/aclk-schemas/proto/agent/v1/cmds.pb.h \ - $(NULL) - -BUILT_SOURCES += $(ACLK_PROTO_BUILT_FILES) -nodist_netdata_SOURCES += $(ACLK_PROTO_BUILT_FILES) -CLEANFILES += $(ACLK_PROTO_BUILT_FILES) - -aclk/aclk-schemas/proto/agent/v1/connection.pb.cc \ -aclk/aclk-schemas/proto/agent/v1/connection.pb.h: aclk/aclk-schemas/proto/agent/v1/connection.proto - $(PROTOC) -I=aclk/aclk-schemas --cpp_out=$(builddir)/aclk/aclk-schemas $^ - -aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.pb.cc \ -aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.pb.h: aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.proto - $(PROTOC) -I=aclk/aclk-schemas --cpp_out=$(builddir)/aclk/aclk-schemas $^ - -aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.pb.cc \ -aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.pb.h: aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.proto - $(PROTOC) -I=aclk/aclk-schemas --cpp_out=$(builddir)/aclk/aclk-schemas $^ - -aclk/aclk-schemas/proto/aclk/v1/lib.pb.cc \ -aclk/aclk-schemas/proto/aclk/v1/lib.pb.h: aclk/aclk-schemas/proto/aclk/v1/lib.proto - $(PROTOC) -I=aclk/aclk-schemas --cpp_out=$(builddir)/aclk/aclk-schemas $^ - -aclk/aclk-schemas/proto/agent/v1/disconnect.pb.cc \ |