X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2FMakefile.am;h=b4f8d76f0c40770a8447be45e8fddc663958851e;hb=32f754b34658ed4bda092acc56ec3cdb28e4fe98;hp=e1e715da49f23a9fdf129f607fcce1c3316a0f71;hpb=9ac429ef32142eaecfec2d1a44569464c4f8f721;p=lttng-tools.git diff --git a/tests/regression/tools/filtering/Makefile.am b/tests/regression/tools/filtering/Makefile.am index e1e715da4..b4f8d76f0 100644 --- a/tests/regression/tools/filtering/Makefile.am +++ b/tests/regression/tools/filtering/Makefile.am @@ -11,8 +11,22 @@ endif if HAVE_LIBLTTNG_UST_CTL noinst_PROGRAMS = gen-ust-events gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h -gen_ust_events_LDADD = -llttng-ust +gen_ust_events_LDADD = -llttng-ust -lurcu-bp endif -noinst_SCRIPTS = runall unsupported-ops invalid-filters valid-filters babelstats.pl -EXTRA_DIST = runall unsupported-ops invalid-filters valid-filters babelstats.pl +noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter +EXTRA_DIST = test_unsupported_op test_invalid_filter test_valid_filter + +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