You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.5 KiB

if SERVER
SERVER_tests = prometheus_filter_init zbx_prometheus_pattern zbx_prometheus_to_json prometheus_parse_row
noinst_PROGRAMS = $(SERVER_tests)
PROMETHEUS_LIBS = \
$(top_srcdir)/tests/libzbxmocktest.a \
$(top_srcdir)/src/libs/zbxprometheus/libzbxprometheus.a \
$(top_srcdir)/src/libs/zbxeval/libzbxeval.a \
$(top_srcdir)/src/libs/zbxserialize/libzbxserialize.a \
$(top_srcdir)/src/libs/zbxjson/libzbxjson.a \
$(top_srcdir)/src/libs/zbxvariant/libzbxvariant.a \
$(top_srcdir)/src/libs/zbxregexp/libzbxregexp.a \
$(top_srcdir)/src/libs/zbxcomms/libzbxcomms.a \
$(top_srcdir)/src/libs/zbxcompress/libzbxcompress.a \
$(top_srcdir)/src/libs/zbxcrypto/libzbxcrypto.a \
$(top_srcdir)/src/libs/zbxlog/libzbxlog.a \
$(top_srcdir)/src/libs/zbxconf/libzbxconf.a \
$(top_srcdir)/src/libs/zbxmutexs/libzbxmutexs.a \
$(top_srcdir)/src/libs/zbxprof/libzbxprof.a \
$(top_srcdir)/src/libs/zbxalgo/libzbxalgo.a \
$(top_srcdir)/src/libs/zbxip/libzbxip.a \
$(top_srcdir)/src/libs/zbxnix/libzbxnix.a \
$(top_srcdir)/src/libs/zbxstr/libzbxstr.a \
$(top_srcdir)/src/libs/zbxnum/libzbxnum.a \
$(top_srcdir)/src/libs/zbxcommon/libzbxcommon.a \
$(top_srcdir)/src/libs/zbxthreads/libzbxthreads.a \
$(top_srcdir)/tests/libzbxmockdata.a \
$(top_srcdir)/src/libs/zbxtime/libzbxtime.a \
$(top_srcdir)/src/libs/zbxcommon/libzbxcommon.a \
$(CMOCKA_LIBS) $(YAML_LIBS)
prometheus_filter_init_SOURCES = \
prometheus_filter_init.c
prometheus_filter_init_CFLAGS = \
-I@top_srcdir@/tests \
$(CMOCKA_CFLAGS) \
$(YAML_CFLAGS)
prometheus_filter_init_LDADD = $(PROMETHEUS_LIBS) @SERVER_LIBS@
prometheus_filter_init_LDFLAGS = @SERVER_LDFLAGS@ $(CMOCKA_LDFLAGS) $(YAML_LDFLAGS)
zbx_prometheus_pattern_SOURCES = \
zbx_prometheus_pattern.c
zbx_prometheus_pattern_CFLAGS = \
-I@top_srcdir@/tests \
$(CMOCKA_CFLAGS) \
$(YAML_CFLAGS)
zbx_prometheus_pattern_LDADD = $(PROMETHEUS_LIBS) @SERVER_LIBS@
zbx_prometheus_pattern_LDFLAGS = @SERVER_LDFLAGS@ $(CMOCKA_LDFLAGS) $(YAML_LDFLAGS)
zbx_prometheus_to_json_SOURCES = \
zbx_prometheus_to_json.c
zbx_prometheus_to_json_CFLAGS = \
-I@top_srcdir@/tests \
$(CMOCKA_CFLAGS) \
$(YAML_CFLAGS)
zbx_prometheus_to_json_LDADD = $(PROMETHEUS_LIBS) @SERVER_LIBS@
zbx_prometheus_to_json_LDFLAGS = @SERVER_LDFLAGS@ $(CMOCKA_LDFLAGS) $(YAML_LDFLAGS)
prometheus_parse_row_SOURCES = \
prometheus_parse_row.c
prometheus_parse_row_CFLAGS = \
-I@top_srcdir@/tests \
$(CMOCKA_CFLAGS) \
$(YAML_CFLAGS)
prometheus_parse_row_LDADD = $(PROMETHEUS_LIBS) @SERVER_LIBS@
prometheus_parse_row_LDFLAGS = @SERVER_LDFLAGS@ $(CMOCKA_LDFLAGS) $(YAML_LDFLAGS)
endif