Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
343af227 | 3 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ -I$(srcdir) |
1b368955 | 4 | |
1b368955 | 5 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la |
ef8ce584 | 6 | LIBLTTNG_SESSIOND_COMMON=$(top_builddir)/src/bin/lttng-sessiond/liblttng-sessiond-common.la |
1b368955 JD |
7 | |
8 | noinst_PROGRAMS = live_test | |
9a28bc04 | 9 | EXTRA_DIST = test_kernel test_lttng_kernel test_per_application_leaks.py |
1b368955 JD |
10 | |
11 | if HAVE_LIBLTTNG_UST_CTL | |
b3b5de19 KS |
12 | EXTRA_DIST += test_lttng_ust \ |
13 | test_miss_short_lived_app.py \ | |
14 | test_ust \ | |
15 | test_ust_tracefile_count | |
1b368955 JD |
16 | endif |
17 | ||
729c1fec | 18 | live_test_SOURCES = live_test.cpp |
ef8ce584 | 19 | live_test_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS) |
1b368955 JD |
20 | |
21 | all-local: | |
22 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
23 | for script in $(EXTRA_DIST); do \ | |
24 | cp -f $(srcdir)/$$script $(builddir); \ | |
25 | done; \ | |
26 | fi | |
27 | ||
28 | clean-local: | |
29 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
30 | for script in $(EXTRA_DIST); do \ | |
31 | rm -f $(builddir)/$$script; \ | |
32 | done; \ | |
33 | fi |