Preliminary work for full UST support
[lttng-tools.git] / ltt-sessiond / Makefile.am
CommitLineData
ca3c5ac0 1AM_CPPFLAGS = -I$(top_srcdir)/include \
1e307fab 2 -DINSTALL_BIN_PATH=\""$(bindir)"\"
3f5fa9ed 3
5b74c7b1 4AM_CFLAGS = -fno-strict-aliasing
fac6795d
DG
5
6bin_PROGRAMS = ltt-sessiond
7
71615260 8if COMPAT_EPOLL
5eb91c98 9COMPAT=compat/compat-epoll.c
71615260 10else
5eb91c98 11COMPAT=compat/compat-poll.c
71615260
DG
12endif
13
62499ad6 14ltt_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 \
48842b30 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 \
f9a76689 26 ../hashtable/rculfhash.c \
f6a9efaa
DG
27 ../hashtable/rculfhash.h \
28 ../hashtable/hash.c ../hashtable/hash.h
fac6795d 29
3bd1e081 30if LTTNG_TOOLS_HAVE_UST
48842b30 31ltt_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
3bd1e081
MD
32endif
33
48842b30
DG
34# Add main.c at the end for compile order
35ltt_sessiond_SOURCES += ltt-sessiond.h main.c
36
7d8234d9 37# link on liblttngctl for check if sessiond is already alive.
f6a9efaa 38ltt_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
43if LTTNG_TOOLS_HAVE_UST
2bdd86d4 44ltt_sessiond_LDADD += -llttng-ust-comm -lustctl
f158a754 45endif
This page took 0.036491 seconds and 4 git commands to generate.