592d55a13320e41d5caaad17387d5e7e4a21ca9f
[lttng-tools.git] / lttng-sessiond / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/include \
2 -DINSTALL_BIN_PATH=\""$(bindir)"\" \
3 -DINSTALL_LIB_PATH=\""$(libdir)"\"
4
5 AM_CFLAGS = -fno-strict-aliasing
6
7 bin_PROGRAMS = lttng-sessiond
8
9 if COMPAT_EPOLL
10 COMPAT=compat/compat-epoll.c
11 else
12 COMPAT=compat/compat-poll.c
13 endif
14
15 lttng_sessiond_SOURCES = utils.c utils.h \
16 hashtable.c hashtable.h \
17 compat/poll.h $(COMPAT) \
18 trace-kernel.c trace-kernel.h \
19 kernel.c kernel.h \
20 ust-ctl.h ust-app.h trace-ust.h \
21 context.c context.h \
22 channel.c channel.h \
23 event.c event.h \
24 futex.c futex.h \
25 shm.c shm.h \
26 session.c session.h \
27 lttng-ust-ctl.h lttng-ust-abi.h \
28 ../hashtable/rculfhash.c \
29 ../hashtable/rculfhash.h \
30 ../hashtable/hash.c ../hashtable/hash.h
31
32 if HAVE_LIBLTTNG_UST_CTL
33 lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
34 endif
35
36 # Add main.c at the end for compile order
37 lttng_sessiond_SOURCES += lttng-sessiond.h main.c
38
39 # link on liblttngctl for check if sessiond is already alive.
40 lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
41 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
42 $(top_builddir)/libkernelctl/libkernelctl.la \
43 $(top_builddir)/liblttngctl/liblttngctl.la
44
45 if HAVE_LIBLTTNG_UST_CTL
46 lttng_sessiond_LDADD += -llttng-ust-ctl
47 endif
This page took 0.029587 seconds and 3 git commands to generate.