X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2FMakefile.am;fp=tests%2Fregression%2Fust%2Fclock-override%2FMakefile.am;h=a656548de35c6cbff5abbf36777a94b84d38a06f;hb=199800b2c98035f82a87f675e6576ceb89017674;hp=0000000000000000000000000000000000000000;hpb=f95771e88e932a4accf0fa152d8d14b43278920f;p=lttng-tools.git diff --git a/tests/regression/ust/clock-override/Makefile.am b/tests/regression/ust/clock-override/Makefile.am new file mode 100644 index 000000000..a656548de --- /dev/null +++ b/tests/regression/ust/clock-override/Makefile.am @@ -0,0 +1,37 @@ +AM_CPPFLAGS = -I$(srcdir) + +# The rpath is necessary because libtool won't build a shared library +# if it's noinst_ +GETCPU_LIBTOOL_FLAGS = \ + -module \ + -shared \ + -avoid-version \ + --no-as-needed \ + -rpath $(abs_builddir) + +noinst_LTLIBRARIES = lttng-ust-clock-override-test.la +lttng_ust_clock_override_test_la_LDFLAGS = $(GETCPU_LIBTOOL_FLAGS) + +if LTTNG_TOOLS_BUILD_WITH_LIBDL +lttng_ust_clock_override_test_la_LIBADD = -ldl +endif +if LTTNG_TOOLS_BUILD_WITH_LIBC_DL +lttng_ust_clock_override_test_la_LIBADD = -lc +endif + +noinst_SCRIPTS = test_clock_override run-clock-override +EXTRA_DIST = test_clock_override run-clock-override + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi