X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2FMakefile.am;h=8ce8f24397eae0a4d358a9f623bd1c738ca3c529;hp=a1df9f5e2600dcd8304b4beae25cb43d2f347feb;hb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;hpb=9ac429ef32142eaecfec2d1a44569464c4f8f721 diff --git a/tests/regression/ust/low-throughput/Makefile.am b/tests/regression/ust/low-throughput/Makefile.am index a1df9f5e2..8ce8f2439 100644 --- a/tests/regression/ust/low-throughput/Makefile.am +++ b/tests/regression/ust/low-throughput/Makefile.am @@ -1,16 +1,29 @@ -AM_CFLAGS = -I$(srcdir) -O2 -AM_LDFLAGS = -llttng-ust +AM_CPPFLAGS += -I$(srcdir) 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 -lurcu -noinst_SCRIPTS = run -EXTRA_DIST = run +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