Commit | Line | Data |
---|---|---|
b194fbda | 1 | AM_CPPFLAGS = -I$(top_srcdir)/benchmark \ |
ebaeda94 MD |
2 | -DINSTALL_BIN_PATH=\""$(bindir)"\" \ |
3 | -DINSTALL_LIB_PATH=\""$(libdir)"\" | |
3f5fa9ed | 4 | |
5b74c7b1 | 5 | AM_CFLAGS = -fno-strict-aliasing |
fac6795d | 6 | |
32258573 | 7 | bin_PROGRAMS = lttng-sessiond |
fac6795d | 8 | |
32258573 | 9 | lttng_sessiond_SOURCES = utils.c utils.h \ |
62499ad6 | 10 | trace-kernel.c trace-kernel.h \ |
4771f025 | 11 | kernel.c kernel.h \ |
48842b30 | 12 | ust-ctl.h ust-app.h trace-ust.h \ |
62499ad6 | 13 | context.c context.h \ |
54d01ffb DG |
14 | channel.c channel.h \ |
15 | event.c event.h \ | |
62499ad6 | 16 | futex.c futex.h \ |
0fdd1e2c | 17 | shm.c shm.h \ |
0177d773 | 18 | session.c session.h \ |
096102bd | 19 | modprobe.c modprobe.h kern-modules.h \ |
daf282ab | 20 | lttng-ust-ctl.h lttng-ust-abi.h |
fac6795d | 21 | |
74d0b642 | 22 | if HAVE_LIBLTTNG_UST_CTL |
32258573 | 23 | lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h |
3bd1e081 MD |
24 | endif |
25 | ||
48842b30 | 26 | # Add main.c at the end for compile order |
32258573 | 27 | lttng_sessiond_SOURCES += lttng-sessiond.h main.c |
fac6795d | 28 | |
7d8234d9 | 29 | # link on liblttngctl for check if sessiond is already alive. |
68abb9c8 | 30 | lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \ |
10a8a223 DG |
31 | $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ |
32 | $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \ | |
33 | $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \ | |
34 | $(top_builddir)/src/common/hashtable/libhashtable.la \ | |
0ba98ebc | 35 | $(top_builddir)/src/common/libcommon.la \ |
b194fbda | 36 | $(top_builddir)/benchmark/liblttng-benchmark.la \ |
0ba98ebc | 37 | $(top_builddir)/src/common/libcompat.la |
f158a754 | 38 | |
74d0b642 | 39 | if HAVE_LIBLTTNG_UST_CTL |
fa551d12 | 40 | lttng_sessiond_LDADD += -llttng-ust-ctl |
f158a754 | 41 | endif |