mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-25 17:50:29 +01:00
(TESTS_cdep): New macro for configuration-depedent tests.
(noinst_PROGRAMS_cdep): New macro for config-dependent noinst-programs. (TESTS_arch): New macro for architecture-specific tests. (TESTS): New macro, so we can run "make check". (check_PROGRAMS): New macro. (Logical change 1.42)
This commit is contained in:
parent
e55b2e04ce
commit
282413e6ab
1 changed files with 13 additions and 4 deletions
|
@ -3,15 +3,24 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
noinst_PROGRAMS_common =
|
noinst_PROGRAMS_common =
|
||||||
|
|
||||||
if REMOTE_ONLY
|
if REMOTE_ONLY
|
||||||
noinst_PROGRAMS = $(noinst_PROGRAMS_common)
|
TESTS_cdep =
|
||||||
|
noinst_PROGRAMS_cdep = $(noinst_PROGRAMS_common)
|
||||||
else
|
else
|
||||||
if ARCH_IA64
|
if ARCH_IA64
|
||||||
noinst_PROGRAMS_arch = ia64-test-sig ia64-test-stack
|
noinst_PROGRAMS_arch = ia64-test-sig
|
||||||
|
TESTS_arch = ia64-test-stack
|
||||||
endif
|
endif
|
||||||
noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_arch) bt exc \
|
TESTS_cdep = test-dyn1
|
||||||
test-init test-varargs test-dyn1 test-resume-sig
|
noinst_PROGRAMS_cdep = bt exc test-init test-varargs test-dyn1 test-resume-sig
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TESTS = $(TESTS_cdep) $(TESTS_arch)
|
||||||
|
|
||||||
|
check_PROGRAMS = $(TESTS)
|
||||||
|
|
||||||
|
noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \
|
||||||
|
$(noinst_PROGRAMS_arch)
|
||||||
|
|
||||||
ia64_test_stack_SOURCES = ia64-test-stack.c ia64-test-stack-asm.S
|
ia64_test_stack_SOURCES = ia64-test-stack.c ia64-test-stack-asm.S
|
||||||
|
|
||||||
LDADD = ../src/libunwind-$(arch).la
|
LDADD = ../src/libunwind-$(arch).la
|
||||||
|
|
Loading…
Reference in a new issue