Build fix: build without lttng-ust
[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
7 LIBCOMMON=$(top_builddir)/src/common/libcommon.la
8 LIBSESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
9 LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
10 LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la
11 LIBHEALTH=$(top_builddir)/src/common/health/libhealth.la
12 LIBCOMPAT=$(top_builddir)/src/common/compat/libcompat.la
13 LIBLTTNG_SESSIOND_COMMON=$(top_builddir)/src/bin/lttng-sessiond/liblttng-sessiond-common.la
14
15 noinst_PROGRAMS = live_test
16 EXTRA_DIST = test_kernel test_lttng_kernel
17
18 if HAVE_LIBLTTNG_UST_CTL
19 EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust
20 endif
21
22 live_test_SOURCES = live_test.c
23 live_test_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS)
24
25 all-local:
26 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
27 for script in $(EXTRA_DIST); do \
28 cp -f $(srcdir)/$$script $(builddir); \
29 done; \
30 fi
31
32 clean-local:
33 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
34 for script in $(EXTRA_DIST); do \
35 rm -f $(builddir)/$$script; \
36 done; \
37 fi
This page took 0.050953 seconds and 4 git commands to generate.