1 AM_CPPFLAGS = -I$(top_srcdir)/include \
2 -DINSTALL_BIN_PATH=\""$(bindir)"\"
4 AM_CFLAGS = -fno-strict-aliasing
6 bin_PROGRAMS = lttng-sessiond
9 COMPAT=compat/compat-epoll.c
11 COMPAT=compat/compat-poll.c
14 lttng_sessiond_SOURCES = utils.c utils.h \
15 hashtable.c hashtable.h \
16 compat/poll.h $(COMPAT) \
17 trace-kernel.c trace-kernel.h \
18 kernel-ctl.c kernel-ctl.h \
19 ust-ctl.h ust-app.h trace-ust.h \
26 ../hashtable/rculfhash.c \
27 ../hashtable/rculfhash.h \
28 ../hashtable/hash.c ../hashtable/hash.h
30 if HAVE_LIBLTTNG_UST_CTL
31 lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
34 # Add main.c at the end for compile order
35 lttng_sessiond_SOURCES += lttng-sessiond.h main.c
37 # link on liblttngctl for check if sessiond is already alive.
38 lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
39 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
40 $(top_builddir)/libkernelctl/libkernelctl.la \
41 $(top_builddir)/liblttngctl/liblttngctl.la
43 if HAVE_LIBLTTNG_UST_CTL
44 lttng_sessiond_LDADD += -llttng-ust-ctl