Add missing headers for make dist
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
1 AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" \
2 -DINSTALL_LIB_PATH=\""$(libdir)"\"
3
4 AM_CFLAGS = -fno-strict-aliasing
5
6 bin_PROGRAMS = lttng-sessiond
7
8 if COMPAT_EPOLL
9 COMPAT=compat/compat-epoll.c
10 else
11 COMPAT=compat/compat-poll.c
12 endif
13
14 lttng_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
27 if HAVE_LIBLTTNG_UST_CTL
28 lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
29 endif
30
31 # Add main.c at the end for compile order
32 lttng_sessiond_SOURCES += lttng-sessiond.h main.c
33
34 # link on liblttngctl for check if sessiond is already alive.
35 lttng_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
42 if HAVE_LIBLTTNG_UST_CTL
43 lttng_sessiond_LDADD += -llttng-ust-ctl
44 endif
This page took 0.032935 seconds and 6 git commands to generate.