Fix build system for urcu wfqueue
[lttng-tools.git] / lttng-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 5
32258573 6bin_PROGRAMS = lttng-sessiond
fac6795d 7
71615260 8if COMPAT_EPOLL
5eb91c98 9COMPAT=compat/compat-epoll.c
71615260 10else
5eb91c98 11COMPAT=compat/compat-poll.c
71615260
DG
12endif
13
32258573 14lttng_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
74d0b642 30if HAVE_LIBLTTNG_UST_CTL
32258573 31lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
3bd1e081
MD
32endif
33
48842b30 34# Add main.c at the end for compile order
32258573 35lttng_sessiond_SOURCES += lttng-sessiond.h main.c
48842b30 36
7d8234d9 37# link on liblttngctl for check if sessiond is already alive.
68abb9c8 38lttng_sessiond_LDADD = -lrt -lurcu-common -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 42
74d0b642 43if HAVE_LIBLTTNG_UST_CTL
2f5a8a39 44lttng_sessiond_LDADD += -llttng-ust-comm -llttng-ust-ctl
f158a754 45endif
This page took 0.030273 seconds and 4 git commands to generate.