Commit | Line | Data |
---|---|---|
ca3c5ac0 | 1 | AM_CPPFLAGS = -I$(top_srcdir)/include \ |
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 | |
71615260 | 9 | if COMPAT_EPOLL |
5eb91c98 | 10 | COMPAT=compat/compat-epoll.c |
71615260 | 11 | else |
5eb91c98 | 12 | COMPAT=compat/compat-poll.c |
71615260 DG |
13 | endif |
14 | ||
32258573 | 15 | lttng_sessiond_SOURCES = utils.c utils.h \ |
f6a9efaa | 16 | hashtable.c hashtable.h \ |
5eb91c98 | 17 | compat/poll.h $(COMPAT) \ |
62499ad6 | 18 | trace-kernel.c trace-kernel.h \ |
4771f025 | 19 | kernel.c kernel.h \ |
48842b30 | 20 | ust-ctl.h ust-app.h trace-ust.h \ |
62499ad6 | 21 | context.c context.h \ |
54d01ffb DG |
22 | channel.c channel.h \ |
23 | event.c event.h \ | |
62499ad6 | 24 | futex.c futex.h \ |
0fdd1e2c | 25 | shm.c shm.h \ |
0177d773 | 26 | session.c session.h \ |
f9a76689 | 27 | ../hashtable/rculfhash.c \ |
f6a9efaa DG |
28 | ../hashtable/rculfhash.h \ |
29 | ../hashtable/hash.c ../hashtable/hash.h | |
fac6795d | 30 | |
74d0b642 | 31 | if HAVE_LIBLTTNG_UST_CTL |
32258573 | 32 | lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h |
3bd1e081 MD |
33 | endif |
34 | ||
48842b30 | 35 | # Add main.c at the end for compile order |
32258573 | 36 | lttng_sessiond_SOURCES += lttng-sessiond.h main.c |
48842b30 | 37 | |
7d8234d9 | 38 | # link on liblttngctl for check if sessiond is already alive. |
68abb9c8 | 39 | lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \ |
ca3c5ac0 | 40 | $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \ |
62d3069f | 41 | $(top_builddir)/libkernelctl/libkernelctl.la \ |
7d8234d9 | 42 | $(top_builddir)/liblttngctl/liblttngctl.la |
f158a754 | 43 | |
74d0b642 | 44 | if HAVE_LIBLTTNG_UST_CTL |
fa551d12 | 45 | lttng_sessiond_LDADD += -llttng-ust-ctl |
f158a754 | 46 | endif |