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