2 # Do not build this test if shared libraries support was
5 CLEANFILES = lttng-ust-clock-override-test.so \
6 lttng-ust-clock-override-test.so.debug
8 EXTRA_DIST = test_clock_override lttng-ust-clock-override-test.c
12 # The rpath is necessary because libtool won't build a shared library
14 GETCPU_LIBTOOL_FLAGS = \
19 -rpath $(abs_builddir)
21 noinst_LTLIBRARIES = lttng-ust-clock-override-test.la
22 lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS)
23 lttng_ust_clock_override_test_la_SOURCES = lttng-ust-clock-override-test.c
25 if LTTNG_TOOLS_BUILD_WITH_LIBDL
26 lttng_ust_clock_override_test_la_LIBADD = -ldl
28 if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
29 lttng_ust_clock_override_test_la_LIBADD = -lc
32 noinst_SCRIPTS = test_clock_override
33 EXTRA_DIST = test_clock_override
36 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
37 for script in $(EXTRA_DIST); do \
38 cp -f $(srcdir)/$$script $(builddir); \
43 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
44 for script in $(EXTRA_DIST); do \
45 rm -f $(builddir)/$$script; \