Update version to 2.0-pre17
[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 \
5eb91c98 16 compat/poll.h $(COMPAT) \
62499ad6 17 trace-kernel.c trace-kernel.h \
4771f025 18 kernel.c kernel.h \
48842b30 19 ust-ctl.h ust-app.h trace-ust.h \
62499ad6 20 context.c context.h \
54d01ffb
DG
21 channel.c channel.h \
22 event.c event.h \
62499ad6 23 futex.c futex.h \
0fdd1e2c 24 shm.c shm.h \
0177d773 25 session.c session.h \
daf282ab 26 lttng-ust-ctl.h lttng-ust-abi.h
fac6795d 27
74d0b642 28if HAVE_LIBLTTNG_UST_CTL
32258573 29lttng_sessiond_SOURCES += trace-ust.c ust-app.c ust-consumer.c ust-consumer.h
3bd1e081
MD
30endif
31
48842b30 32# Add main.c at the end for compile order
32258573 33lttng_sessiond_SOURCES += lttng-sessiond.h main.c
48842b30 34
7d8234d9 35# link on liblttngctl for check if sessiond is already alive.
68abb9c8 36lttng_sessiond_LDADD = -lrt -lurcu-common -lurcu \
ca3c5ac0 37 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
62d3069f 38 $(top_builddir)/libkernelctl/libkernelctl.la \
60b6c79c 39 $(top_builddir)/liblttngctl/liblttngctl.la \
bec39940
DG
40 $(top_builddir)/common/libcommon.la \
41 $(top_builddir)/liblttng-ht/liblttng-ht.la
f158a754 42
74d0b642 43if HAVE_LIBLTTNG_UST_CTL
fa551d12 44lttng_sessiond_LDADD += -llttng-ust-ctl
f158a754 45endif
This page took 0.044503 seconds and 5 git commands to generate.