Commit | Line | Data |
---|---|---|
55009a22 | 1 | SUBDIRS = streaming health |
f4e40ab6 | 2 | |
355f483d DG |
3 | AM_CFLAGS = -g -Wall -I../ |
4 | AM_LDFLAGS = -lurcu -lurcu-cds | |
5 | ||
6 | EXTRA_DIST = runall.sh | |
7 | ||
8acbe07d | 8 | noinst_PROGRAMS = test_sessions test_kernel_data_trace |
355f483d | 9 | |
4a18dcaf | 10 | UTILS=../utils.h |
07424f16 DG |
11 | SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c \ |
12 | $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \ | |
13 | $(top_srcdir)/src/common/uri.c \ | |
f73fabfd DG |
14 | $(top_srcdir)/src/common/utils.c \ |
15 | $(top_srcdir)/src/common/error.c | |
00e2e675 DG |
16 | KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c \ |
17 | $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \ | |
a4b92340 DG |
18 | $(top_srcdir)/src/common/uri.c \ |
19 | $(top_srcdir)/src/common/utils.c | |
355f483d DG |
20 | COMMON=$(top_builddir)/src/common/libcommon.la |
21 | HASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la | |
00e2e675 | 22 | SESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la |
355f483d DG |
23 | |
24 | # Tracing sessions unit tests | |
25 | test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS) | |
07424f16 | 26 | test_sessions_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM) |
355f483d DG |
27 | |
28 | # Kernel trace data unit tests | |
29 | test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE) | |
173af62f | 30 | test_kernel_data_trace_LDADD = $(SESSIOND_COMM) $(HASHTABLE) |
355f483d | 31 | |
8acbe07d DG |
32 | if HAVE_LIBLTTNG_UST_CTL |
33 | noinst_PROGRAMS += test_ust_data_trace | |
00e2e675 DG |
34 | UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c \ |
35 | $(top_srcdir)/src/bin/lttng-sessiond/consumer.c \ | |
a4b92340 DG |
36 | $(top_srcdir)/src/common/uri.c \ |
37 | $(top_srcdir)/src/common/utils.c | |
355f483d DG |
38 | # UST trace data unit tests |
39 | test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE) | |
00e2e675 | 40 | test_ust_data_trace_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM) |
8acbe07d | 41 | endif |