X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2FMakefile.am;h=455e749a25f2a553217d43df2ddcaf549964ca11;hb=9f2636716abf0d6cc188fed380ba77a621a370c1;hp=feae65a58ada4ea328b6c846a3798168e7ace37b;hpb=86a96e6cf3b4bab2fc7edd0db1b7c87c2374d27a;p=lttng-tools.git diff --git a/tests/utils/Makefile.am b/tests/utils/Makefile.am index feae65a58..455e749a2 100644 --- a/tests/utils/Makefile.am +++ b/tests/utils/Makefile.am @@ -1 +1,26 @@ -SUBDIRS = tap +# SPDX-License-Identifier: GPL-2.0-only + +SUBDIRS = . tap testapp xml-utils lttngtest bt2_plugins + +EXTRA_DIST = utils.sh test_utils.py warn_processes.sh \ + parse-callstack.py +dist_noinst_SCRIPTS = utils.sh test_utils.py tap-driver.sh +noinst_LTLIBRARIES = libtestutils.la + +libtestutils_la_SOURCES = \ + utils.cpp \ + 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