-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+SUBDIRS = utils bin lib
-SUBDIRS = lib
+EXTRA_DIST = $(srcdir)/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 $(srcdir)/tests