ust consumer: flag shm/wait fd as copy
[lttng-tools.git] / lttng-sessiond / Makefile.am
... / ...
CommitLineData
1AM_CPPFLAGS = -I$(top_srcdir)/include \
2 -DINSTALL_BIN_PATH=\""$(bindir)"\"
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 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 \
20 context.c context.h \
21 channel.c channel.h \
22 event.c event.h \
23 futex.c futex.h \
24 shm.c shm.h \
25 session.c session.h \
26 ../hashtable/rculfhash.c \
27 ../hashtable/rculfhash.h \
28 ../hashtable/hash.c ../hashtable/hash.h
29
30if LTTNG_TOOLS_HAVE_UST
31lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
32endif
33
34# Add main.c at the end for compile order
35lttng_sessiond_SOURCES += lttng-sessiond.h main.c
36
37# link on liblttngctl for check if sessiond is already alive.
38lttng_sessiond_LDADD = -lrt -lurcu-cds -lurcu \
39 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
40 $(top_builddir)/libkernelctl/libkernelctl.la \
41 $(top_builddir)/liblttngctl/liblttngctl.la
42
43if LTTNG_TOOLS_HAVE_UST
44lttng_sessiond_LDADD += -llttng-ust-comm -llttng-ust-ctl
45endif
This page took 0.022109 seconds and 4 git commands to generate.