X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=8d84b16b8db3e90595868130ea19de89312d88e6;hb=19ae15ed55fb6857ff469b60a3f3cbe32590c6e2;hp=47891e90af0945d3accf10f7d3cd0fe1351af031;hpb=aa968dde60d1c3cff4dcebcca4b6f5c2b9737829;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 47891e90..8d84b16b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,12 +1,24 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include +SUBDIRS = utils bin lib -SUBDIRS = lib +EXTRA_DIST = ctf-traces/** tests -noinst_PROGRAMS = test-bitfield +SCRIPT_LIST = run.sh -test_bitfield_SOURCES = test-bitfield.c +dist_noinst_SCRIPTS = $(SCRIPT_LIST) -EXTRA_DIST = runall.sh ctf-traces/** +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi check-am: - ./runall.sh + ./run.sh tests