Add missing headers for make dist
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
CommitLineData
1c39da61 1AM_CPPFLAGS = -DINSTALL_BIN_PATH=\""$(bindir)"\" \
ebaeda94 2 -DINSTALL_LIB_PATH=\""$(libdir)"\"
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 \
5eb91c98 15 compat/poll.h $(COMPAT) \
62499ad6 16 trace-kernel.c trace-kernel.h \
4771f025 17 kernel.c kernel.h \
48842b30 18 ust-ctl.h ust-app.h trace-ust.h \
62499ad6 19 context.c context.h \
54d01ffb
DG
20 channel.c channel.h \
21 event.c event.h \
62499ad6 22 futex.c futex.h \
0fdd1e2c 23 shm.c shm.h \
0177d773 24 session.c session.h \
daf282ab 25 lttng-ust-ctl.h lttng-ust-abi.h
fac6795d 26
74d0b642 27if HAVE_LIBLTTNG_UST_CTL
32258573 28lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
3bd1e081
MD
29endif
30
48842b30 31# Add main.c at the end for compile order
32258573 32lttng_sessiond_SOURCES += lttng-sessiond.h main.c
48842b30 33
7d8234d9 34# link on liblttngctl for check if sessiond is already alive.
68abb9c8 35lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
10a8a223
DG
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
f158a754 41
74d0b642 42if HAVE_LIBLTTNG_UST_CTL
fa551d12 43lttng_sessiond_LDADD += -llttng-ust-ctl
f158a754 44endif
This page took 0.032887 seconds and 5 git commands to generate.