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 \ |
f6a9efaa | 15 | hashtable.c hashtable.h \ |
5eb91c98 | 16 | compat/poll.h $(COMPAT) \ |
62499ad6 | 17 | trace-kernel.c trace-kernel.h \ |
62499ad6 | 18 | kernel-ctl.c kernel-ctl.h \ |
3bd1e081 | 19 | ust-ctl.h ust-app.h trace-ust.h \ |
62499ad6 | 20 | context.c context.h \ |
54d01ffb DG |
21 | channel.c channel.h \ |
22 | event.c event.h \ | |
62499ad6 | 23 | futex.c futex.h \ |
0fdd1e2c | 24 | shm.c shm.h \ |
0177d773 | 25 | session.c session.h \ |
fa68aa62 | 26 | ltt-sessiond.h main.c \ |
f9a76689 | 27 | ../hashtable/rculfhash.c \ |
f6a9efaa DG |
28 | ../hashtable/rculfhash.h \ |
29 | ../hashtable/hash.c ../hashtable/hash.h | |
fac6795d | 30 | |
3bd1e081 MD |
31 | if LTTNG_TOOLS_HAVE_UST |
32 | ltt_sessiond_SOURCES += \ | |
33 | trace-ust.c \ | |
2bdd86d4 | 34 | ust-app.c |
3bd1e081 MD |
35 | endif |
36 | ||
7d8234d9 | 37 | # link on liblttngctl for check if sessiond is already alive. |
f6a9efaa | 38 | ltt_sessiond_LDADD = -lrt -lurcu-cds -lurcu \ |
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 | |
2bdd86d4 | 44 | ltt_sessiond_LDADD += -llttng-ust-comm -lustctl |
f158a754 | 45 | endif |