Fix unused variables
[lttng-tools.git] / lttng-sessiond / Makefile.am
CommitLineData
ca3c5ac0 1AM_CPPFLAGS = -I$(top_srcdir)/include \
ebaeda94
MD
2 -DINSTALL_BIN_PATH=\""$(bindir)"\" \
3 -DINSTALL_LIB_PATH=\""$(libdir)"\"
3f5fa9ed 4
5b74c7b1 5AM_CFLAGS = -fno-strict-aliasing
fac6795d 6
32258573 7bin_PROGRAMS = lttng-sessiond
fac6795d 8
71615260 9if COMPAT_EPOLL
5eb91c98 10COMPAT=compat/compat-epoll.c
71615260 11else
5eb91c98 12COMPAT=compat/compat-poll.c
71615260
DG
13endif
14
32258573 15lttng_sessiond_SOURCES = utils.c utils.h \
f6a9efaa 16 hashtable.c hashtable.h \
5eb91c98 17 compat/poll.h $(COMPAT) \
62499ad6 18 trace-kernel.c trace-kernel.h \
4771f025 19 kernel.c kernel.h \
48842b30 20 ust-ctl.h ust-app.h trace-ust.h \
62499ad6 21 context.c context.h \
54d01ffb
DG
22 channel.c channel.h \
23 event.c event.h \
62499ad6 24 futex.c futex.h \
0fdd1e2c 25 shm.c shm.h \
0177d773 26 session.c session.h \
f9a76689 27 ../hashtable/rculfhash.c \
f6a9efaa
DG
28 ../hashtable/rculfhash.h \
29 ../hashtable/hash.c ../hashtable/hash.h
fac6795d 30
74d0b642 31if HAVE_LIBLTTNG_UST_CTL
32258573 32lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
3bd1e081
MD
33endif
34
48842b30 35# Add main.c at the end for compile order
32258573 36lttng_sessiond_SOURCES += lttng-sessiond.h main.c
48842b30 37
7d8234d9 38# link on liblttngctl for check if sessiond is already alive.
68abb9c8 39lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
ca3c5ac0 40 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
62d3069f 41 $(top_builddir)/libkernelctl/libkernelctl.la \
7d8234d9 42 $(top_builddir)/liblttngctl/liblttngctl.la
f158a754 43
74d0b642 44if HAVE_LIBLTTNG_UST_CTL
fa551d12 45lttng_sessiond_LDADD += -llttng-ust-ctl
f158a754 46endif
This page took 0.027949 seconds and 4 git commands to generate.