Add epoll check to autoconf and Makefile
[lttng-tools.git] / ltt-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 = ltt-sessiond
7
8 if COMPAT_EPOLL
9 COMPAT=compat-epoll.c
10 else
11 COMPAT=compat-poll.c
12 endif
13
14 ltt_sessiond_SOURCES = utils.c utils.h \
15 trace-kernel.c trace-kernel.h \
16 trace-ust.c trace-ust.h \
17 traceable-app.c traceable-app.h \
18 ust-comm.c ust-comm.h \
19 ust-ctl.c ust-ctl.h \
20 kernel-ctl.c kernel-ctl.h \
21 context.c context.h \
22 futex.c futex.h \
23 shm.c shm.h \
24 poll.h \
25 $(COMPAT) \
26 session.c session.h \
27 ltt-sessiond.h main.c
28
29 # link on liblttngctl for check if sessiond is already alive.
30 ltt_sessiond_LDADD = -lrt \
31 $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \
32 $(top_builddir)/libkernelctl/libkernelctl.la \
33 $(top_builddir)/libustctl/libustctl.la \
34 $(top_builddir)/liblttngctl/liblttngctl.la
This page took 0.039207 seconds and 4 git commands to generate.