Commit | Line | Data |
---|---|---|
ca3c5ac0 | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include \ |
1e307fab | 2 | -DINSTALL_BIN_PATH=\""$(bindir)"\" |
3f5fa9ed | 3 | |
5b74c7b1 | 4 | AM_CFLAGS = -fno-strict-aliasing |
fac6795d DG |
5 | |
6 | bin_PROGRAMS = ltt-sessiond | |
7 | ||
71615260 | 8 | if COMPAT_EPOLL |
5eb91c98 | 9 | COMPAT=compat/compat-epoll.c |
71615260 | 10 | else |
5eb91c98 | 11 | COMPAT=compat/compat-poll.c |
71615260 DG |
12 | endif |
13 | ||
62499ad6 | 14 | ltt_sessiond_SOURCES = utils.c utils.h \ |
5eb91c98 | 15 | compat/poll.h $(COMPAT) \ |
62499ad6 | 16 | trace-kernel.c trace-kernel.h \ |
62499ad6 | 17 | kernel-ctl.c kernel-ctl.h \ |
3bd1e081 | 18 | ust-ctl.h ust-app.h trace-ust.h \ |
62499ad6 | 19 | context.c context.h \ |
54d01ffb DG |
20 | channel.c channel.h \ |
21 | event.c event.h \ | |
62499ad6 | 22 | futex.c futex.h \ |
0fdd1e2c | 23 | shm.c shm.h \ |
0177d773 | 24 | session.c session.h \ |
fa68aa62 | 25 | ltt-sessiond.h main.c \ |
f9a76689 MD |
26 | ../hashtable/rculfhash.c \ |
27 | ../hashtable/rculfhash.h | |
fac6795d | 28 | |
3bd1e081 MD |
29 | if LTTNG_TOOLS_HAVE_UST |
30 | ltt_sessiond_SOURCES += \ | |
31 | trace-ust.c \ | |
32 | ust-app.c \ | |
33 | ust-comm.c ust-comm.h \ | |
34 | ust-ctl.c | |
35 | endif | |
36 | ||
7d8234d9 | 37 | # link on liblttngctl for check if sessiond is already alive. |
0fdd1e2c | 38 | ltt_sessiond_LDADD = -lrt \ |
ca3c5ac0 | 39 | $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \ |
62d3069f | 40 | $(top_builddir)/libkernelctl/libkernelctl.la \ |
7d8234d9 | 41 | $(top_builddir)/liblttngctl/liblttngctl.la |
f158a754 MD |
42 | |
43 | if LTTNG_TOOLS_HAVE_UST | |
44 | ltt_sessiond_LDADD += -llttng-ust-comm | |
45 | endif |