+# SPDX-License-Identifier: GPL-2.0-only
+
AM_CPPFLAGS +=-DINSTALL_BIN_PATH=\""$(lttnglibexecdir)"\" \
-DINSTALL_LIB_PATH=\""$(libdir)"\"
lttng_sessiond_SOURCES = utils.c utils.h \
trace-kernel.c trace-kernel.h \
kernel.c kernel.h \
- ust-ctl.h ust-app.h trace-ust.h notify-apps.h \
+ ust-app.h trace-ust.h notify-apps.h \
+ lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
+ ust-ctl-internal.h ust-abi-internal.h ust-error-internal.h \
ust-registry.h \
context.c context.h \
channel.c channel.h \
consumer.c consumer.h \
session.c session.h \
modprobe.c modprobe.h kern-modules.h \
- lttng-ust-ctl.h lttng-ust-abi.h lttng-ust-error.h \
fd-limit.c fd-limit.h \
kernel-consumer.c kernel-consumer.h \
consumer.h \
register.c register.h \
manage-apps.c manage-apps.h \
manage-kernel.c manage-kernel.h \
- manage-consumer.c manage-consumer.h
+ manage-consumer.c manage-consumer.h \
+ clear.c clear.h \
+ tracker.c tracker.h \
+ action-executor.c action-executor.h
if HAVE_LIBLTTNG_UST_CTL
lttng_sessiond_SOURCES += trace-ust.c ust-registry.c ust-app.c \
lttng_sessiond_SOURCES += lttng-sessiond.h main.c
# link on liblttngctl for check if sessiond is already alive.
-lttng_sessiond_LDADD = -lurcu-common -lurcu $(KMOD_LIBS) \
+lttng_sessiond_LDADD = -lurcu-common $(URCU_LIBS) $(KMOD_LIBS) \
$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
$(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
if HAVE_LIBLTTNG_UST_CTL
-lttng_sessiond_LDADD += -llttng-ust-ctl
+lttng_sessiond_LDADD += $(UST_CTL_LIBS)
endif