Introduce libcommon-lgpl for liblttng-ctl
[lttng-tools.git] / tests / regression / tools / live / Makefile.am
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ -I$(srcdir)
4
5 LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
6 LIBLTTNG_SESSIOND_COMMON=$(top_builddir)/src/bin/lttng-sessiond/liblttng-sessiond-common.la
7
8 noinst_PROGRAMS = live_test
9 EXTRA_DIST = test_kernel test_lttng_kernel
10
11 if HAVE_LIBLTTNG_UST_CTL
12 EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust
13 endif
14
15 live_test_SOURCES = live_test.cpp
16 live_test_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS)
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
This page took 0.028956 seconds and 4 git commands to generate.