Add missing headers for make dist
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" \
2 -DINSTALL_LIB_PATH=\""$(libdir)"\"
3
4AM_CFLAGS = -fno-strict-aliasing
5
6bin_PROGRAMS = lttng-sessiond
7
8if COMPAT_EPOLL
9COMPAT=compat/compat-epoll.c
10else
11COMPAT=compat/compat-poll.c
12endif
13
14lttng_sessiond_SOURCES = utils.c utils.h \
15 compat/poll.h $(COMPAT) \
16 trace-kernel.c trace-kernel.h \
17 kernel.c kernel.h \
18 ust-ctl.h ust-app.h trace-ust.h \
19 context.c context.h \
20 channel.c channel.h \
21 event.c event.h \
22 futex.c futex.h \
23 shm.c shm.h \
24 session.c session.h \
25 lttng-ust-ctl.h lttng-ust-abi.h
26
27if HAVE_LIBLTTNG_UST_CTL
28lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
29endif
30
31# Add main.c at the end for compile order
32lttng_sessiond_SOURCES += lttng-sessiond.h main.c
33
34# link on liblttngctl for check if sessiond is already alive.
35lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
36 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
37 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
38 $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
39 $(top_builddir)/src/common/hashtable/libhashtable.la \
40 $(top_builddir)/src/common/libcommon.la
41
42if HAVE_LIBLTTNG_UST_CTL
43lttng_sessiond_LDADD += -llttng-ust-ctl
44endif
This page took 0.025141 seconds and 5 git commands to generate.