Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
else
-AM_CPPFLAGS = -I$(srcdir)
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src
# The rpath is necessary because libtool won't build a shared library
# if it's noinst_
noinst_LTLIBRARIES = lttng-ust-clock-override-test.la
lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
+lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c
if LTTNG_TOOLS_BUILD_WITH_LIBDL
lttng_ust_clock_override_test_la_LIBADD = -ldl
else
-AM_CPPFLAGS = -I$(srcdir)
+AM_CPPFLAGS = -I$(srcdir) -I$(top_srcdir)/src
# The rpath is necessary because libtool won't build a shared library
# if it's noinst_
noinst_LTLIBRARIES = lttng-ust-getcpu-override-test.la
lttng_ust_getcpu_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
+lttng_ust_getcpu_override_test_la_SOURCES = lttng-ust-getcpu-override-test.c
if LTTNG_TOOLS_BUILD_WITH_LIBDL
lttng_ust_getcpu_override_test_la_LIBADD = -ldl