4 AM_LDFLAGS = -lurcu -lurcu-cds
6 EXTRA_DIST = runall.sh utils.sh lttng/runall.sh lttng/run-kernel-tests.sh
8 noinst_PROGRAMS = test_sessions test_kernel_data_trace \
9 kernel_all_events_basic kernel_event_basic
12 SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c
13 KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c
14 LIBLTTNG=$(top_srcdir)/src/lib/lttng-ctl/lttng-ctl.c \
15 $(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c
17 test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
18 test_sessions_LDADD = $(top_builddir)/src/common/libcommon.la \
19 $(top_builddir)/src/common/hashtable/libhashtable.la
21 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
23 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
25 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
27 if HAVE_LIBLTTNG_UST_CTL
28 SUBDIRS += ust-nevents ust-nprocesses
29 EXTRA_DIST += lttng/run-ust-global-tests.sh
30 noinst_PROGRAMS += ust_global_event_basic ust_global_all_events_basic test_ust_data_trace
32 UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c
34 test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
35 test_ust_data_trace_LDADD = $(top_builddir)/src/common/libcommon.la \
36 $(top_builddir)/src/common/hashtable/libhashtable.la
38 ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
40 ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
41 endif # HAVE_LIBLTTNG_UST_CTL