3 AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \
4 -I$(top_srcdir)/liblttngctl -g -Wall -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)/lttng-sessiond/session.c
13 KERN_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-kernel.c
14 LIBLTTNG=$(top_srcdir)/liblttngctl/lttngctl.c \
15 $(top_srcdir)/liblttng-sessiond-comm/lttng-sessiond-comm.c
17 test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
18 test_sessions_LDADD = $(top_builddir)/common/libcommon.la \
19 $(top_builddir)/liblttng-ht/liblttng-ht.la
21 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
24 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
26 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
28 if HAVE_LIBLTTNG_UST_CTL
29 SUBDIRS += ust-nevents ust-nprocesses
30 EXTRA_DIST += lttng/run-ust-global-tests.sh
31 noinst_PROGRAMS += ust_global_event_basic ust_global_all_events_basic test_ust_data_trace
33 UST_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-ust.c
35 test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
36 test_ust_data_trace_LDADD = $(top_builddir)/common/libcommon.la \
37 $(top_builddir)/liblttng-ht/liblttng-ht.la
39 ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
41 ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
42 endif # HAVE_LIBLTTNG_UST_CTL