Complete change of the source directory tree
[lttng-tools.git] / tests / Makefile.am
1 SUBDIRS = .
2
3 AM_CFLAGS=-g -Wall -lurcu -lurcu-cds
4
5 EXTRA_DIST = runall.sh utils.sh lttng/runall.sh lttng/run-kernel-tests.sh
6
7 noinst_PROGRAMS = test_sessions test_kernel_data_trace \
8 kernel_all_events_basic kernel_event_basic
9
10 UTILS=utils.h
11 SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.c
12 KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.c
13 LIBLTTNG=$(top_srcdir)/src/lib/lttng-ctl/lttng-ctl.c \
14 $(top_srcdir)/src/common/sessiond-comm/sessiond-comm.c
15
16 test_sessions_SOURCES = test_sessions.c $(UTILS) $(SESSIONS)
17 test_sessions_LDADD = $(top_builddir)/src/common/libcommon.la \
18 $(top_builddir)/src/common/hashtable/libhashtable.la
19
20 test_kernel_data_trace_SOURCES = test_kernel_data_trace.c $(UTILS) $(KERN_DATA_TRACE)
21
22 kernel_all_events_basic_SOURCES = lttng/kernel_all_events_basic.c $(UTILS) $(LIBLTTNG)
23
24 kernel_event_basic_SOURCES = lttng/kernel_event_basic.c $(UTILS) $(LIBLTTNG)
25
26 if HAVE_LIBLTTNG_UST_CTL
27 SUBDIRS += ust-nevents ust-nprocesses
28 EXTRA_DIST += lttng/run-ust-global-tests.sh
29 noinst_PROGRAMS += ust_global_event_basic ust_global_all_events_basic test_ust_data_trace
30
31 UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.c
32
33 test_ust_data_trace_SOURCES = test_ust_data_trace.c $(UTILS) $(UST_DATA_TRACE)
34 test_ust_data_trace_LDADD = $(top_builddir)/src/common/libcommon.la \
35 $(top_builddir)/src/common/hashtable/libhashtable.la
36
37 ust_global_all_events_basic_SOURCES = lttng/ust_global_all_events_basic.c $(UTILS) $(LIBLTTNG)
38
39 ust_global_event_basic_SOURCES = lttng/ust_global_event_basic.c $(UTILS) $(LIBLTTNG)
40 endif # HAVE_LIBLTTNG_UST_CTL
41
42 check-am:
43 ./runall.sh
This page took 0.04473 seconds and 5 git commands to generate.