1 AM_CPPFLAGS = -I$(top_srcdir)/include \
2 -DINSTALL_BIN_PATH=\""$(bindir)"\"
4 AM_CFLAGS = -fno-strict-aliasing
6 bin_PROGRAMS = ltt-sessiond
9 COMPAT=compat/compat-epoll.c
11 COMPAT=compat/compat-poll.c
14 ltt_sessiond_SOURCES = utils.c utils.h \
15 compat/poll.h $(COMPAT) \
16 trace-kernel.c trace-kernel.h \
17 kernel-ctl.c kernel-ctl.h \
18 ust-ctl.h ust-app.h trace-ust.h \
25 ltt-sessiond.h main.c \
26 ../hashtable/rculfhash.c \
27 ../hashtable/rculfhash.h
29 if LTTNG_TOOLS_HAVE_UST
30 ltt_sessiond_SOURCES += \
35 # link on liblttngctl for check if sessiond is already alive.
36 ltt_sessiond_LDADD = -lrt \
37 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
38 $(top_builddir)/libkernelctl/libkernelctl.la \
39 $(top_builddir)/liblttngctl/liblttngctl.la
41 if LTTNG_TOOLS_HAVE_UST
42 ltt_sessiond_LDADD += -llttng-ust-comm -lustctl