X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fhigh-throughput%2FMakefile.am;h=22a31e18b062df7f43b6ec27e08199e2fc09dda0;hb=87e96404184f6c8e06d693d89684674f2e63d1e5;hp=544640469df393feb7ed069564767311a615fe9f;hpb=e5be53a084ca2d0fd6540c6da59fa8909dfac8f8;p=lttng-tools.git diff --git a/tests/regression/ust/high-throughput/Makefile.am b/tests/regression/ust/high-throughput/Makefile.am index 544640469..22a31e18b 100644 --- a/tests/regression/ust/high-throughput/Makefile.am +++ b/tests/regression/ust/high-throughput/Makefile.am @@ -1,11 +1,10 @@ -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 @@ -14,3 +13,17 @@ gen_events_LDADD = -llttng-ust 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