8b13eac14cc3b38e4a0a23ce8461583aac0a5aad
[lttng-tools.git] / tests / Makefile.am
1 SUBDIRS = .
2
3 AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/libkernelctl \
4 -I$(top_srcdir)/liblttngctl -g -Wall -lurcu -lurcu-cds
5
6 EXTRA_DIST = runall.sh utils.sh lttng/runall.sh lttng/run-kernel-tests.sh
7
8 noinst_PROGRAMS = test_sessions test_kernel_data_trace \
9 kernel_all_events_basic kernel_event_basic
10
11 UTILS=utils.h
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
16
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
20
21 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
22
23
24 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
25
26 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
27
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
32
33 UST_DATA_TRACE=$(top_srcdir)/lttng-sessiond/trace-ust.c
34
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
38
39 ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
40
41 ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
42 endif # HAVE_LIBLTTNG_UST_CTL
43
44 check-am:
45 ./runall.sh
This page took 0.031607 seconds and 4 git commands to generate.