| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/benchmark \ |
| 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/compat-epoll.c |
| 10 | else |
| 11 | COMPAT=compat/compat-poll.c |
| 12 | endif |
| 13 | |
| 14 | ltt_sessiond_SOURCES = utils.c utils.h \ |
| 15 | compat/poll.h $(COMPAT) \ |
| 16 | trace-kernel.c trace-kernel.h \ |
| 17 | trace-ust.c trace-ust.h \ |
| 18 | traceable-app.c traceable-app.h \ |
| 19 | ust-comm.c ust-comm.h \ |
| 20 | ust-ctl.c ust-ctl.h \ |
| 21 | kernel-ctl.c kernel-ctl.h \ |
| 22 | context.c context.h \ |
| 23 | channel.c channel.h \ |
| 24 | event.c event.h \ |
| 25 | futex.c futex.h \ |
| 26 | shm.c shm.h \ |
| 27 | session.c session.h \ |
| 28 | ltt-sessiond.h main.c |
| 29 | |
| 30 | # link on liblttngctl for check if sessiond is already alive. |
| 31 | ltt_sessiond_LDADD = -lrt \ |
| 32 | $(top_builddir)/liblttng-sessiond-comm/liblttng-sessiond-comm.la \ |
| 33 | $(top_builddir)/libkernelctl/libkernelctl.la \ |
| 34 | $(top_builddir)/libustctl/libustctl.la \ |
| 35 | $(top_builddir)/liblttngctl/liblttngctl.la \ |
| 36 | $(top_builddir)/benchmark/liblttng-benchmark.la |