X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2FMakefile.am;h=9bb79c2e19999523eda6ef2d0680ee70e8b3528c;hb=030ccc250152b15afa188608e0952f79991a1ce3;hp=feae65a58ada4ea328b6c846a3798168e7ace37b;hpb=5d2e1e66a968d9e555f9b8b00d0589ebfaf3de32;p=lttng-tools.git diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index feae65a58..9bb79c2e1 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -1 +1,22 @@ -SUBDIRS = tap +SUBDIRS = . tap testapp + +EXTRA_DIST = utils.sh test_utils.py babelstats.pl warn_processes.sh \ + parse-callstack.py +dist_noinst_SCRIPTS = utils.sh test_utils.py babelstats.pl +noinst_LTLIBRARIES = libtestutils.la + +libtestutils_la_SOURCES = utils.c utils.h + +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