blob: 0388018cc5f0e7f8d88036abb2109d17b3b49057 [file] [log] [blame]
hp.com!davidm0f1a0c42002-04-03 06:51:34 +00001AM_CPPFLAGS = -I$(top_srcdir)/include
2
mostang.com!davidm623c4cb2003-03-06 06:14:36 +00003EXTRA_DIST = run-ia64-test-dyn1
4
hp.com!davidm0f1a0c42002-04-03 06:51:34 +00005noinst_PROGRAMS_common =
mostang.com!davidm9fe5e682003-03-28 07:43:22 +00006check_PROGRAMS_common = Gtest-init Ltest-init
mostang.com!davidm405a7d82003-02-27 09:58:57 +00007check_SCRIPTS_common =
hp.com!davidm0f1a0c42002-04-03 06:51:34 +00008
9if REMOTE_ONLY
mostang.com!davidm405a7d82003-02-27 09:58:57 +000010 check_SCRIPTS_cdep =
11 check_PROGRAMS_cdep =
mostang.com!davidm282413e2003-01-23 18:47:51 +000012 noinst_PROGRAMS_cdep = $(noinst_PROGRAMS_common)
hp.com!davidm0f1a0c42002-04-03 06:51:34 +000013else
mostang.com!davidm053cda22002-04-25 06:47:29 +000014if ARCH_IA64
mostang.com!davidm405a7d82003-02-27 09:58:57 +000015 noinst_PROGRAMS_arch = ia64-test-sig ia64-test-dyn1
16 check_SCRIPTS_arch = run-ia64-test-dyn1
17 check_PROGRAMS_arch = Gia64-test-stack Lia64-test-stack \
18 Gia64-test-rbs Lia64-test-rbs
mostang.com!davidm053cda22002-04-25 06:47:29 +000019endif
mostang.com!davidm405a7d82003-02-27 09:58:57 +000020 check_SCRIPTS_cdep =
21 check_PROGRAMS_cdep = Gtest-exc Ltest-exc Gtest-resume-sig Ltest-resume-sig \
22 Gtest-dyn1 Ltest-dyn1 test-setjmp test-ptrace
mostang.com!davidm9fe5e682003-03-28 07:43:22 +000023 noinst_PROGRAMS_cdep = bt test-varargs
hp.com!davidm0f1a0c42002-04-03 06:51:34 +000024endif
25
mostang.com!davidm405a7d82003-02-27 09:58:57 +000026check_PROGRAMS = $(check_PROGRAMS_common) $(check_PROGRAMS_cdep) \
27 $(check_PROGRAMS_arch)
28check_SCRIPTS = $(check_SCRIPTS_common) $(check_SCRIPTS_cdep) \
29 $(check_SCRIPTS_arch)
mostang.com!davidm282413e2003-01-23 18:47:51 +000030
mostang.com!davidm405a7d82003-02-27 09:58:57 +000031
32TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
mostang.com!davidm282413e2003-01-23 18:47:51 +000033
34noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \
35 $(noinst_PROGRAMS_arch)
36
mostang.com!davidm623c4cb2003-03-06 06:14:36 +000037Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S \
38 ia64-test-stack.h
39Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S \
40 ia64-test-stack.h
41Lia64_test_rbs_SOURCES = Lia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h
42Gia64_test_rbs_SOURCES = Gia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h
mostang.com!davidm0231ae52003-03-27 04:29:07 +000043ia64_test_dyn1_SOURCES = ia64-test-dyn1.c ia64-dyn-asm.S flush-cache.S
mostang.com!davidm9fe5e682003-03-28 07:43:22 +000044Gtest_init_SOURCES = Gtest-init.cxx
45Ltest_init_SOURCES = Ltest-init.cxx
mostang.com!davidm0231ae52003-03-27 04:29:07 +000046Gtest_dyn1_SOURCES = Gtest-dyn1.c flush-cache.S
47Ltest_dyn1_SOURCES = Ltest-dyn1.c flush-cache.S
mostang.com!davidm57df2a22003-01-23 10:04:09 +000048
mostang.com!davidm053cda22002-04-25 06:47:29 +000049LDADD = ../src/libunwind-$(arch).la
mostang.com!davidm5db39392003-02-08 10:10:59 +000050
51test_setjmp_LDADD = ../src/libunwind-setjmp.la