Copyright ownership transfer
[lttng-tools.git] / src / bin / lttng-sessiond / Makefile.am
CommitLineData
ab5be9fa
MJ
1# SPDX-License-Identifier: GPL-2.0-only
2
343af227
MJ
3AM_CPPFLAGS +=-DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \
4 -DINSTALL_LIB_PATH=\""$(libdir)"\"
3f5fa9ed 5
4fc83d94
PP
6if EMBED_HELP
7AM_CPPFLAGS += -I$(top_builddir)/doc/man
8endif
9
3efe5ec9 10noinst_LTLIBRARIES = liblttng-sessiond-common.la
fac6795d 11
7966af57
SM
12liblttng_sessiond_common_la_SOURCES = utils.cpp utils.h \
13 trace-kernel.cpp trace-kernel.h \
14 kernel.cpp kernel.h \
881fc67f 15 ust-app.h ust-sigbus.h trace-ust.h notify-apps.h \
75018ab6
JG
16 lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
17 ust-ctl-internal.h ust-abi-internal.h ust-error-internal.h \
7972aab2 18 ust-registry.h \
7966af57
SM
19 condition-internal.cpp condition-internal.h \
20 context.cpp context.h \
21 channel.cpp channel.h \
22 event.cpp event.h \
23 consumer.cpp consumer.h \
24 session.cpp session.h \
25 modprobe.cpp modprobe.h kern-modules.h \
26 fd-limit.cpp fd-limit.h \
27 kernel-consumer.cpp kernel-consumer.h \
025faf73 28 consumer.h \
55d09795 29 health-sessiond.h \
7966af57
SM
30 cmd.cpp cmd.h \
31 buffer-registry.cpp buffer-registry.h \
32 testpoint.h ht-cleanup.cpp ht-cleanup.h \
33 snapshot.cpp snapshot.h \
34 agent.cpp agent.h \
35 save.h save.cpp \
36 lttng-syscall.h lttng-syscall.cpp \
37 notification-thread.h notification-thread.cpp \
8abe313a 38 notification-thread-internal.h \
7966af57
SM
39 notification-thread-commands.h notification-thread-commands.cpp \
40 notification-thread-events.h notification-thread-events.cpp \
41 sessiond-config.h sessiond-config.cpp \
42 rotate.h rotate.cpp \
43 rotation-thread.h rotation-thread.cpp \
44 timer.cpp timer.h \
45 globals.cpp \
46 thread-utils.cpp \
47 process-utils.cpp \
48 thread.cpp thread.h \
49 health.cpp \
50 client.cpp client.h \
51 dispatch.cpp dispatch.h \
52 register.cpp register.h \
53 manage-apps.cpp manage-apps.h \
54 manage-kernel.cpp manage-kernel.h \
55 manage-consumer.cpp manage-consumer.h \
56 clear.cpp clear.h \
57 tracker.cpp tracker.h \
58 event-notifier-error-accounting.cpp event-notifier-error-accounting.h \
59 action-executor.cpp action-executor.h\
60 trigger-error-query.cpp
fac6795d 61
74d0b642 62if HAVE_LIBLTTNG_UST_CTL
7966af57
SM
63liblttng_sessiond_common_la_SOURCES += trace-ust.cpp ust-registry.cpp ust-app.cpp \
64 ust-consumer.cpp ust-consumer.h notify-apps.cpp \
65 ust-metadata.cpp ust-clock.h agent-thread.cpp agent-thread.h \
66 ust-field-utils.h ust-field-utils.cpp \
67 ust-sigbus.cpp
3bd1e081
MD
68endif
69
7d8234d9 70# link on liblttngctl for check if sessiond is already alive.
3efe5ec9 71liblttng_sessiond_common_la_LIBADD = $(URCU_LIBS) $(KMOD_LIBS) \
10a8a223
DG
72 $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
73 $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
74 $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
75 $(top_builddir)/src/common/hashtable/libhashtable.la \
0ba98ebc 76 $(top_builddir)/src/common/libcommon.la \
00e2e675 77 $(top_builddir)/src/common/compat/libcompat.la \
8ac94142 78 $(top_builddir)/src/common/relayd/librelayd.la \
55d09795 79 $(top_builddir)/src/common/testpoint/libtestpoint.la \
26296c48 80 $(top_builddir)/src/common/health/libhealth.la \
9f449915
PP
81 $(top_builddir)/src/common/config/libconfig.la \
82 $(top_builddir)/src/common/string-utils/libstring-utils.la
26296c48 83
f158a754 84
74d0b642 85if HAVE_LIBLTTNG_UST_CTL
3efe5ec9 86liblttng_sessiond_common_la_LIBADD += $(UST_CTL_LIBS)
f158a754 87endif
3efe5ec9 88
89bin_PROGRAMS = lttng-sessiond
90
7966af57 91lttng_sessiond_SOURCES = lttng-sessiond.h main.cpp
3efe5ec9 92
93lttng_sessiond_LDFLAGS = -rdynamic
94
95lttng_sessiond_LDADD = liblttng-sessiond-common.la
This page took 0.098245 seconds and 4 git commands to generate.