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