Fix tests when lttng-ust is disabled
[lttng-tools.git] / tests / tools / Makefile.am
CommitLineData
355f483d
DG
1AM_CFLAGS = -g -Wall -I../
2AM_LDFLAGS = -lurcu -lurcu-cds
3
4EXTRA_DIST = runall.sh
5
8acbe07d 6noinst_PROGRAMS = test_sessions test_kernel_data_trace
355f483d
DG
7
8UTILS=utils.h
9SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c
10KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c
355f483d
DG
11COMMON=$(top_builddir)/src/common/libcommon.la
12HASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
13
14# Tracing sessions unit tests
15test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
16test_sessions_LDADD = $(COMMON) $(HASHTABLE)
17
18# Kernel trace data unit tests
19test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
20
8acbe07d
DG
21if HAVE_LIBLTTNG_UST_CTL
22noinst_PROGRAMS += test_ust_data_trace
23UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c
355f483d
DG
24# UST trace data unit tests
25test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
26test_ust_data_trace_LDADD = $(COMMON) $(HASHTABLE)
8acbe07d 27endif
This page took 0.032881 seconds and 4 git commands to generate.