test_uri_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBHASHTABLE)
# Session unit test
-SESSIONS=$(top_srcdir)/src/bin/lttng-sessiond/session.o \
- $(top_srcdir)/src/bin/lttng-sessiond/consumer.o \
- $(top_srcdir)/src/bin/lttng-sessiond/utils.o \
- $(top_srcdir)/src/bin/lttng-sessiond/health.o \
- $(top_srcdir)/src/common/.libs/uri.o \
- $(top_srcdir)/src/common/.libs/utils.o \
- $(top_srcdir)/src/common/.libs/error.o
+SESSIONS=$(top_builddir)/src/bin/lttng-sessiond/session.o \
+ $(top_builddir)/src/bin/lttng-sessiond/consumer.o \
+ $(top_builddir)/src/bin/lttng-sessiond/utils.o \
+ $(top_builddir)/src/bin/lttng-sessiond/health.o \
+ $(top_builddir)/src/common/.libs/uri.o \
+ $(top_builddir)/src/common/.libs/utils.o \
+ $(top_builddir)/src/common/.libs/error.o
test_session_SOURCES = test_session.c
test_session_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBSESSIOND_COMM) $(LIBHASHTABLE) \
# UST data structures unit test
if HAVE_LIBLTTNG_UST_CTL
-UST_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-ust.o \
- $(top_srcdir)/src/bin/lttng-sessiond/consumer.o \
- $(top_srcdir)/src/bin/lttng-sessiond/utils.o \
- $(top_srcdir)/src/bin/lttng-sessiond/buffer-registry.o \
- $(top_srcdir)/src/bin/lttng-sessiond/ust-registry.o \
- $(top_srcdir)/src/bin/lttng-sessiond/ust-metadata.o \
- $(top_srcdir)/src/bin/lttng-sessiond/ust-app.o \
- $(top_srcdir)/src/bin/lttng-sessiond/ust-consumer.o \
- $(top_srcdir)/src/bin/lttng-sessiond/fd-limit.o \
- $(top_srcdir)/src/bin/lttng-sessiond/health.o \
- $(top_srcdir)/src/bin/lttng-sessiond/session.o \
- $(top_srcdir)/src/common/.libs/uri.o \
- $(top_srcdir)/src/common/.libs/utils.o
+UST_DATA_TRACE=$(top_builddir)/src/bin/lttng-sessiond/trace-ust.o \
+ $(top_builddir)/src/bin/lttng-sessiond/consumer.o \
+ $(top_builddir)/src/bin/lttng-sessiond/utils.o \
+ $(top_builddir)/src/bin/lttng-sessiond/buffer-registry.o \
+ $(top_builddir)/src/bin/lttng-sessiond/ust-registry.o \
+ $(top_builddir)/src/bin/lttng-sessiond/ust-metadata.o \
+ $(top_builddir)/src/bin/lttng-sessiond/ust-app.o \
+ $(top_builddir)/src/bin/lttng-sessiond/ust-consumer.o \
+ $(top_builddir)/src/bin/lttng-sessiond/fd-limit.o \
+ $(top_builddir)/src/bin/lttng-sessiond/health.o \
+ $(top_builddir)/src/bin/lttng-sessiond/session.o \
+ $(top_builddir)/src/common/.libs/uri.o \
+ $(top_builddir)/src/common/.libs/utils.o
test_ust_data_SOURCES = test_ust_data.c
test_ust_data_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBSESSIOND_COMM) $(LIBHASHTABLE) \
endif
# Kernel data structures unit test
-KERN_DATA_TRACE=$(top_srcdir)/src/bin/lttng-sessiond/trace-kernel.o \
- $(top_srcdir)/src/bin/lttng-sessiond/consumer.o \
- $(top_srcdir)/src/bin/lttng-sessiond/health.o \
- $(top_srcdir)/src/bin/lttng-sessiond/utils.o \
- $(top_srcdir)/src/common/.libs/uri.o \
- $(top_srcdir)/src/common/.libs/utils.o
+KERN_DATA_TRACE=$(top_builddir)/src/bin/lttng-sessiond/trace-kernel.o \
+ $(top_builddir)/src/bin/lttng-sessiond/consumer.o \
+ $(top_builddir)/src/bin/lttng-sessiond/health.o \
+ $(top_builddir)/src/bin/lttng-sessiond/utils.o \
+ $(top_builddir)/src/common/.libs/uri.o \
+ $(top_builddir)/src/common/.libs/utils.o
test_kernel_data_SOURCES = test_kernel_data.c
test_kernel_data_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBSESSIOND_COMM) $(LIBHASHTABLE) \
test_kernel_data_LDADD += $(KERN_DATA_TRACE)
# parse_size_suffix unit test
-UTILS_PARSE_SIZE_SUFFIX=$(top_srcdir)/src/common/.libs/utils.o \
- $(top_srcdir)/src/common/.libs/runas.o
+UTILS_PARSE_SIZE_SUFFIX=$(top_builddir)/src/common/.libs/utils.o \
+ $(top_builddir)/src/common/.libs/runas.o
test_utils_parse_size_suffix_SOURCES = test_utils_parse_size_suffix.c
test_utils_parse_size_suffix_LDADD = $(LIBTAP) $(LIBHASHTABLE) $(LIBCOMMON)