X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2FMakefile.am;h=630d797b38f6493e25e0037a8397fdaeaad2dec2;hp=e62706007a2b097af442fc6adbe676cfe58e8ee6;hb=67b4c664e2c6c6dc19920555c0abf094ed6cbe00;hpb=e5be53a084ca2d0fd6540c6da59fa8909dfac8f8 diff --git a/tests/regression/ust/low-throughput/Makefile.am b/tests/regression/ust/low-throughput/Makefile.am index e62706007..630d797b3 100644 --- a/tests/regression/ust/low-throughput/Makefile.am +++ b/tests/regression/ust/low-throughput/Makefile.am @@ -2,10 +2,10 @@ AM_CFLAGS = -I$(srcdir) -O2 AM_LDFLAGS = -llttng-ust if LTTNG_TOOLS_BUILD_WITH_LIBDL -AM_LDFLAGS += -ldl +LIBS += -ldl endif if LTTNG_TOOLS_BUILD_WITH_LIBC_DL -AM_LDFLAGS += -lc +LIBS += -lc endif noinst_PROGRAMS = gen-events @@ -14,3 +14,17 @@ gen_events_LDADD = -llttng-ust -lurcu noinst_SCRIPTS = test_low_throughput EXTRA_DIST = test_low_throughput + +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