Commit | Line | Data |
---|---|---|
343af227 | 1 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils/ -I$(srcdir) |
1b368955 | 2 | |
1b368955 JD |
3 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la |
4 | ||
5 | LIBCOMMON=$(top_builddir)/src/common/libcommon.la | |
6 | LIBSESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la | |
7 | LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la | |
8 | LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la | |
9 | LIBHEALTH=$(top_builddir)/src/common/health/libhealth.la | |
10 | ||
827b3af0 MJ |
11 | LIVE=$(top_builddir)/src/bin/lttng-sessiond/session.$(OBJEXT) \ |
12 | $(top_builddir)/src/bin/lttng-sessiond/consumer.$(OBJEXT) \ | |
13 | $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \ | |
14 | $(top_builddir)/src/bin/lttng-sessiond/snapshot.$(OBJEXT) | |
1b368955 JD |
15 | |
16 | noinst_PROGRAMS = live_test | |
90da811b | 17 | EXTRA_DIST = test_kernel test_lttng_kernel |
1b368955 JD |
18 | |
19 | if HAVE_LIBLTTNG_UST_CTL | |
90da811b | 20 | EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust |
1b368955 JD |
21 | endif |
22 | ||
23 | live_test_SOURCES = live_test.c | |
24 | live_test_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \ | |
b1c46f87 | 25 | $(LIBHASHTABLE) $(LIBHEALTH) $(DL_LIBS) -lrt |
ffaea1b3 | 26 | live_test_LDADD += $(LIVE) \ |
b1c46f87 | 27 | $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la |
1b368955 JD |
28 | |
29 | all-local: | |
30 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
31 | for script in $(EXTRA_DIST); do \ | |
32 | cp -f $(srcdir)/$$script $(builddir); \ | |
33 | done; \ | |
34 | fi | |
35 | ||
36 | clean-local: | |
37 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
38 | for script in $(EXTRA_DIST); do \ | |
39 | rm -f $(builddir)/$$script; \ | |
40 | done; \ | |
41 | fi |