1 AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils/ -I$(srcdir)
4 if LTTNG_TOOLS_BUILD_WITH_LIBDL
7 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
11 LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
13 LIBCOMMON=$(top_builddir)/src/common/libcommon.la
14 LIBSESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
15 LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
16 LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la
17 LIBHEALTH=$(top_builddir)/src/common/health/libhealth.la
19 LIVE=$(top_builddir)/src/bin/lttng-sessiond/session.o \
20 $(top_builddir)/src/bin/lttng-sessiond/consumer.o \
21 $(top_builddir)/src/bin/lttng-sessiond/utils.o \
22 $(top_builddir)/src/bin/lttng-sessiond/snapshot.o
24 noinst_PROGRAMS = live_test
25 EXTRA_DIST = live_test test_kernel
27 if HAVE_LIBLTTNG_UST_CTL
28 EXTRA_DIST += test_ust test_ust_tracefile_count
31 live_test_SOURCES = live_test.c
32 live_test_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \
33 $(LIBHASHTABLE) $(LIBHEALTH) -lrt
34 live_test_LDADD += $(LIVE) \
35 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
38 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
39 for script in $(EXTRA_DIST); do \
40 cp -f $(srcdir)/$$script $(builddir); \
45 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
46 for script in $(EXTRA_DIST); do \
47 rm -f $(builddir)/$$script; \