test_uri_SOURCES = test_uri.c
test_uri_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBHASHTABLE) $(DL_LIBS)
-# Sessiond objects
-SESSIOND_OBJS = $(top_builddir)/src/bin/lttng-sessiond/buffer-registry.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/cmd.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/condition-internal.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/save.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/notification-thread-commands.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/kernel.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ht-cleanup.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/notification-thread.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/action-executor.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/lttng-syscall.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/channel.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/agent.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/kernel-consumer.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/trace-kernel.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/rotation-thread.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/context.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/consumer.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/fd-limit.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/notification-thread-events.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/event.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/event-notifier-error-accounting.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/timer.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/snapshot.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/sessiond-config.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/rotate.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/modprobe.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/session.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/globals.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/thread-utils.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/process-utils.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/thread.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/tracker.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/trigger-error-query.$(OBJEXT) \
- $(top_builddir)/src/common/libcommon.la \
- $(top_builddir)/src/common/testpoint/libtestpoint.la \
- $(top_builddir)/src/common/compat/libcompat.la \
- $(top_builddir)/src/common/health/libhealth.la \
- $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la
-
-if HAVE_LIBLTTNG_UST_CTL
-SESSIOND_OBJS += $(top_builddir)/src/bin/lttng-sessiond/trace-ust.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ust-registry.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ust-app.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ust-consumer.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/notify-apps.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ust-metadata.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/agent-thread.$(OBJEXT) \
- $(top_builddir)/src/bin/lttng-sessiond/ust-field-utils.$(OBJEXT)
-endif
-
RELAYD_OBJS = $(top_builddir)/src/bin/lttng-relayd/backward-compatibility-group-by.$(OBJEXT)
test_session_SOURCES = test_session.c
-test_session_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \
- $(LIBHASHTABLE) $(DL_LIBS) -lrt $(URCU_LIBS) \
- $(KMOD_LIBS) \
- $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
- $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
- $(top_builddir)/src/common/compat/libcompat.la \
- $(top_builddir)/src/common/testpoint/libtestpoint.la \
- $(top_builddir)/src/common/health/libhealth.la \
- $(top_builddir)/src/common/config/libconfig.la \
- $(top_builddir)/src/common/string-utils/libstring-utils.la
-
-test_session_LDADD += $(SESSIOND_OBJS)
+test_session_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS)
if HAVE_LIBLTTNG_UST_CTL
test_session_SOURCES += ust-sigbus.c
# UST data structures unit test
if HAVE_LIBLTTNG_UST_CTL
test_ust_data_SOURCES = test_ust_data.c
-test_ust_data_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \
- $(LIBHASHTABLE) $(DL_LIBS) -lrt $(URCU_LIBS) \
- $(UST_CTL_LIBS) \
- $(KMOD_LIBS) \
- $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \
- $(top_builddir)/src/common/kernel-ctl/libkernel-ctl.la \
- $(top_builddir)/src/common/compat/libcompat.la \
- $(top_builddir)/src/common/testpoint/libtestpoint.la \
- $(top_builddir)/src/common/health/libhealth.la \
- $(top_builddir)/src/common/config/libconfig.la \
- $(top_builddir)/src/common/string-utils/libstring-utils.la
-test_ust_data_LDADD += $(SESSIOND_OBJS)
+test_ust_data_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS)
endif
test_kernel_data_SOURCES = test_kernel_data.c