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 | |
90da811b | 9 | EXTRA_DIST = test_kernel test_lttng_kernel |
1b368955 JD |
10 | |
11 | if HAVE_LIBLTTNG_UST_CTL | |
90da811b | 12 | EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust |
1b368955 JD |
13 | endif |
14 | ||
729c1fec | 15 | live_test_SOURCES = live_test.cpp |
ef8ce584 | 16 | live_test_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS) |
1b368955 JD |
17 | |
18 | all-local: | |
19 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
20 | for script in $(EXTRA_DIST); do \ | |
21 | cp -f $(srcdir)/$$script $(builddir); \ | |
22 | done; \ | |
23 | fi | |
24 | ||
25 | clean-local: | |
26 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
27 | for script in $(EXTRA_DIST); do \ | |
28 | rm -f $(builddir)/$$script; \ | |
29 | done; \ | |
30 | fi |