Fix: Remove dependency to urcu-cds in tools tests
[lttng-tools.git] / tests / tools / Makefile.am
CommitLineData
2b1745e1 1SUBDIRS = streaming filtering health
f4e40ab6 2
74130cb7 3AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests -g -Wall
845e1607 4AM_LDFLAGS = -lurcu
355f483d
DG
5
6EXTRA_DIST = runall.sh
7
8acbe07d 8noinst_PROGRAMS = test_sessions test_kernel_data_trace
355f483d 9
4a18dcaf 10UTILS=../utils.h
07424f16
DG
11SESSIONS=$(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
16KERN_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
20COMMON=$(top_builddir)/src/common/libcommon.la
21HASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
00e2e675 22SESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
355f483d
DG
23
24# Tracing sessions unit tests
25test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
07424f16 26test_sessions_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM)
355f483d
DG
27
28# Kernel trace data unit tests
29test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
173af62f 30test_kernel_data_trace_LDADD = $(SESSIOND_COMM) $(HASHTABLE)
355f483d 31
8acbe07d
DG
32if HAVE_LIBLTTNG_UST_CTL
33noinst_PROGRAMS += test_ust_data_trace
00e2e675
DG
34UST_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
39test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
00e2e675 40test_ust_data_trace_LDADD = $(COMMON) $(HASHTABLE) $(SESSIOND_COMM)
8acbe07d 41endif
This page took 0.024864 seconds and 4 git commands to generate.