Send ust and kernel domain directory handle to consumer
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
1 AM_CPPFLAGS +=-DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \
2 -DINSTALL_LIB_PATH=\""$(libdir)"\"
3
4 if EMBED_HELP
5 AM_CPPFLAGS += -I$(top_builddir)/doc/man
6 endif
7
8 bin_PROGRAMS = lttng-sessiond
9
10 lttng_sessiond_SOURCES = utils.c utils.h \
11 trace-kernel.c trace-kernel.h \
12 kernel.c kernel.h \
13 ust-app.h trace-ust.h notify-apps.h \
14 lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
15 ust-ctl-internal.h ust-abi-internal.h ust-error-internal.h \
16 ust-registry.h \
17 context.c context.h \
18 channel.c channel.h \
19 event.c event.h \
20 shm.c shm.h \
21 consumer.c consumer.h \
22 session.c session.h \
23 modprobe.c modprobe.h kern-modules.h \
24 fd-limit.c fd-limit.h \
25 kernel-consumer.c kernel-consumer.h \
26 consumer.h \
27 health-sessiond.h \
28 cmd.c cmd.h \
29 buffer-registry.c buffer-registry.h \
30 testpoint.h ht-cleanup.c ht-cleanup.h \
31 snapshot.c snapshot.h \
32 agent.c agent.h \
33 save.h save.c \
34 lttng-syscall.h lttng-syscall.c \
35 notification-thread.h notification-thread.c \
36 notification-thread-internal.h \
37 notification-thread-commands.h notification-thread-commands.c \
38 notification-thread-events.h notification-thread-events.c \
39 sessiond-config.h sessiond-config.c \
40 rotate.h rotate.c \
41 rotation-thread.h rotation-thread.c \
42 timer.c timer.h \
43 globals.c \
44 thread-utils.c \
45 process-utils.c \
46 thread.c thread.h \
47 health.c \
48 client.c client.h \
49 dispatch.c dispatch.h \
50 register.c register.h \
51 manage-apps.c manage-apps.h \
52 manage-kernel.c manage-kernel.h \
53 manage-consumer.c manage-consumer.h
54
55 if HAVE_LIBLTTNG_UST_CTL
56 lttng_sessiond_SOURCES += trace-ust.c ust-registry.c ust-app.c \
57 ust-consumer.c ust-consumer.h notify-apps.c \
58 ust-metadata.c ust-clock.h agent-thread.c agent-thread.h \
59 ust-field-utils.h ust-field-utils.c
60 endif
61
62 # Add main.c at the end for compile order
63 lttng_sessiond_SOURCES += lttng-sessiond.h main.c
64
65 # link on liblttngctl for check if sessiond is already alive.
66 lttng_sessiond_LDADD = -lurcu-common -lurcu $(KMOD_LIBS) \
67 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
68 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
69 $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
70 $(top_builddir)/src/common/hashtable/libhashtable.la \
71 $(top_builddir)/src/common/libcommon.la \
72 $(top_builddir)/src/common/compat/libcompat.la \
73 $(top_builddir)/src/common/relayd/librelayd.la \
74 $(top_builddir)/src/common/testpoint/libtestpoint.la \
75 $(top_builddir)/src/common/health/libhealth.la \
76 $(top_builddir)/src/common/config/libconfig.la \
77 $(top_builddir)/src/common/string-utils/libstring-utils.la
78
79
80 if HAVE_LIBLTTNG_UST_CTL
81 lttng_sessiond_LDADD += $(UST_CTL_LIBS)
82 endif
This page took 0.03074 seconds and 4 git commands to generate.