Commit | Line | Data |
---|---|---|
19badea8 | 1 | SUBDIRS = utils bin lib |
ac65e355 | 2 | |
471381ff | 3 | EXTRA_DIST = $(srcdir)/ctf-traces/** tests |
33ba099b AB |
4 | if ENABLE_DEBUGINFO |
5 | EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo | |
6 | endif | |
4cdc32cf | 7 | |
15553d19 MD |
8 | SCRIPT_LIST = run.sh |
9 | ||
10 | dist_noinst_SCRIPTS = $(SCRIPT_LIST) | |
11 | ||
12 | all-local: | |
13 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
14 | for script in $(SCRIPT_LIST); do \ | |
15 | cp -f $(srcdir)/$$script $(builddir); \ | |
16 | done; \ | |
17 | fi | |
18 | ||
19 | clean-local: | |
20 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
21 | for script in $(SCRIPT_LIST); do \ | |
22 | rm -f $(builddir)/$$script; \ | |
23 | done; \ | |
24 | fi | |
f094cdcc | 25 | |
c5db7b7f | 26 | TEMPLIST := $(shell mktemp -u) |
f094cdcc | 27 | check-am: |
c5db7b7f | 28 | @cat $(srcdir)/tests > $(TEMPLIST) |
33ba099b | 29 | if ENABLE_DEBUGINFO |
c5db7b7f JG |
30 | @echo '' >> $(TEMPLIST) |
31 | @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST) | |
33ba099b | 32 | endif |
c5db7b7f JG |
33 | ./run.sh $(TEMPLIST) |
34 | rm $(TEMPLIST) |