summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-05-21 18:55:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-05-21 18:55:22 +0000
commit61d0027904ee9c040985b1642ca228737d616d03 (patch)
treec90838c137b4dc4a2de1cff9f2d7be5552d605e7 /Makefile.am
parentAdding upstream version 1.14.0. (diff)
downloadnetdata-61d0027904ee9c040985b1642ca228737d616d03.tar.xz
netdata-61d0027904ee9c040985b1642ca228737d616d03.zip
Adding upstream version 1.15.0.upstream/1.15.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am41
1 files changed, 40 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ee5ba9f17..41d0fe279 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -311,6 +311,24 @@ RRD_PLUGIN_FILES = \
database/rrdvar.h \
$(NULL)
+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 \
+ $(NULL)
+endif
+
API_PLUGIN_FILES = \
web/api/badges/web_buffer_svg.c \
web/api/badges/web_buffer_svg.h \
@@ -412,6 +430,13 @@ BACKENDS_PLUGIN_FILES = \
backends/prometheus/backend_prometheus.h \
$(NULL)
+KINESIS_BACKEND_FILES = \
+ backends/aws_kinesis/aws_kinesis.c \
+ backends/aws_kinesis/aws_kinesis.h \
+ backends/aws_kinesis/aws_kinesis_put_record.cc \
+ backends/aws_kinesis/aws_kinesis_put_record.h \
+ $(NULL)
+
DAEMON_FILES = \
daemon/common.c \
daemon/common.h \
@@ -470,14 +495,23 @@ NETDATA_COMMON_LIBS = \
$(OPTIONAL_MATH_LIBS) \
$(OPTIONAL_ZLIB_LIBS) \
$(OPTIONAL_UUID_LIBS) \
+ $(OPTIONAL_UV_LIBS) \
+ $(OPTIONAL_LZ4_LIBS) \
+ $(OPTIONAL_JUDY_LIBS) \
+ $(OPTIONAL_SSL_LIBS) \
$(NULL)
-
+# TODO: Find more graceful way to add libs for AWS Kinesis
sbin_PROGRAMS += netdata
netdata_SOURCES = $(NETDATA_FILES)
netdata_LDADD = \
$(NETDATA_COMMON_LIBS) \
$(NULL)
+if ENABLE_BACKEND_KINESIS
+ netdata_LINK = $(CXXLD) $(CXXFLAGS) $(LDFLAGS) -o $@
+else
+ netdata_LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
+endif
if ENABLE_PLUGIN_APPS
plugins_PROGRAMS += apps.plugin
@@ -531,3 +565,8 @@ if ENABLE_PLUGIN_XENSTAT
$(OPTIONAL_XENSTAT_LIBS) \
$(NULL)
endif
+
+if ENABLE_BACKEND_KINESIS
+ netdata_SOURCES += $(KINESIS_BACKEND_FILES)
+ netdata_LDADD += $(OPTIONAL_KINESIS_LIBS)
+endif