78179bd7abae946d5692620a56e809dda17b5119
[lttng-tools.git] / lttng-sessiond / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include \
2 -DINSTALL_BIN_PATH=\""$(bindir)"\"
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 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
30 if LTTNG_TOOLS_HAVE_UST
31 lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
32 endif
33
34 # Add main.c at the end for compile order
35 lttng_sessiond_SOURCES += lttng-sessiond.h main.c
36
37 # link on liblttngctl for check if sessiond is already alive.
38 lttng_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
43 if LTTNG_TOOLS_HAVE_UST
44 lttng_sessiond_LDADD += -llttng-ust-comm -lustctl
45 endif
This page took 0.041736 seconds and 3 git commands to generate.