X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fhigh-throughput%2FMakefile.am;h=25913c3f4695ffe40bbca44879f8e04b01cb39ef;hb=568d7e2db7370f57e9612eb9b8c1a6b0bf5213cd;hp=cff8fe423051fb8c9f06e7a49ecf730a03d17d6d;hpb=9ac429ef32142eaecfec2d1a44569464c4f8f721;p=lttng-tools.git diff --git a/tests/regression/ust/high-throughput/Makefile.am b/tests/regression/ust/high-throughput/Makefile.am index cff8fe423..25913c3f4 100644 --- a/tests/regression/ust/high-throughput/Makefile.am +++ b/tests/regression/ust/high-throughput/Makefile.am @@ -2,15 +2,29 @@ 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 gen_events_SOURCES = main.c tp.c tp.h gen_events_LDADD = -llttng-ust -noinst_SCRIPTS = run -EXTRA_DIST = run +noinst_SCRIPTS = test_high_throughput +EXTRA_DIST = test_high_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