Fix: do not refer to objects as .o
[lttng-tools.git] / tests / regression / tools / live / Makefile.am
CommitLineData
1b368955
JD
1AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_srcdir)/tests/utils/ -I$(srcdir)
2AM_LDFLAGS =
3
4if LTTNG_TOOLS_BUILD_WITH_LIBDL
d7c54334 5LIBS += -ldl
1b368955
JD
6endif
7if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
d7c54334 8LIBS += -lc
1b368955
JD
9endif
10
11LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
12
13LIBCOMMON=$(top_builddir)/src/common/libcommon.la
14LIBSESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
15LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la
16LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la
17LIBHEALTH=$(top_builddir)/src/common/health/libhealth.la
18
827b3af0
MJ
19LIVE=$(top_builddir)/src/bin/lttng-sessiond/session.$(OBJEXT) \
20 $(top_builddir)/src/bin/lttng-sessiond/consumer.$(OBJEXT) \
21 $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \
22 $(top_builddir)/src/bin/lttng-sessiond/snapshot.$(OBJEXT)
1b368955
JD
23
24noinst_PROGRAMS = live_test
90da811b 25EXTRA_DIST = test_kernel test_lttng_kernel
1b368955
JD
26
27if HAVE_LIBLTTNG_UST_CTL
90da811b 28EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust
1b368955
JD
29endif
30
31live_test_SOURCES = live_test.c
32live_test_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \
ffaea1b3
DG
33 $(LIBHASHTABLE) $(LIBHEALTH) -lrt
34live_test_LDADD += $(LIVE) \
35 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
1b368955
JD
36
37all-local:
38 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
39 for script in $(EXTRA_DIST); do \
40 cp -f $(srcdir)/$$script $(builddir); \
41 done; \
42 fi
43
44clean-local:
45 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
46 for script in $(EXTRA_DIST); do \
47 rm -f $(builddir)/$$script; \
48 done; \
49 fi
This page took 0.037241 seconds and 5 git commands to generate.