OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [inst-set-test/] [Makefile.am] - Blame information for rev 121

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 107 jeremybenn
# Makefile.am for or1ksim instruction set test programs:
2 90 jeremybenn
 
3
# Copyright (C) Embecosm Limited, 2010
4
 
5
# Contributor Jeremy Bennett 
6
 
7
# This file is part of OpenRISC 1000 Architectural Simulator.
8
 
9
# This program is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by the Free
11
# Software Foundation; either version 3 of the License, or (at your option)
12
# any later version.
13
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
17
# more details.
18
 
19
# You should have received a copy of the GNU General Public License along
20
# with this program.  If not, see .  */
21
 
22
# -----------------------------------------------------------------------------
23
# This code is commented throughout for use with Doxygen.
24
# -----------------------------------------------------------------------------
25
 
26
 
27 107 jeremybenn
# Tests of the instruction set. Broken out into separate tests, to avoid them
28
# getting too large. The original instruction set test is still here, but not
29
# built by default.
30 112 jeremybenn
EXTRA_DIST = inst-set-test.ld
31 107 jeremybenn
 
32 90 jeremybenn
if BUILD_ALL_TESTS
33 107 jeremybenn
INST_SET_TEST_OLD = inst-set-test-old
34
else
35
INST_SET_TEST_OLD =
36 90 jeremybenn
endif
37
 
38 107 jeremybenn
# Support library for use when testing the instruction set.
39
check_LTLIBRARIES           = libinst-set-test.la
40 90 jeremybenn
 
41 107 jeremybenn
libinst_set_test_la_SOURCES = inst-set-test.S
42 90 jeremybenn
 
43 107 jeremybenn
# The test programs
44 112 jeremybenn
check_PROGRAMS = is-add-test          \
45
                 is-div-test          \
46 115 jeremybenn
                 is-find-test         \
47 121 jeremybenn
                 is-jump-test         \
48 118 jeremybenn
                 is-lws-test          \
49 116 jeremybenn
                 is-mac-test          \
50 118 jeremybenn
                 is-mul-test          \
51 107 jeremybenn
                 $(INST_SET_TEST_OLD)
52
 
53
# The new instruction set tests.
54 115 jeremybenn
is_add_test_SOURCES  = inst-set-test.h \
55
                       is-add-test.S
56
is_add_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
57
is_add_test_LDADD    = inst-set-test.lo
58 112 jeremybenn
 
59 115 jeremybenn
is_div_test_SOURCES  = inst-set-test.h \
60
                       is-div-test.S
61
is_div_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
62
is_div_test_LDADD    = inst-set-test.lo
63 107 jeremybenn
 
64 115 jeremybenn
is_find_test_SOURCES = inst-set-test.h \
65
                       is-find-test.S
66
is_find_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
67
is_find_test_LDADD   = inst-set-test.lo
68 107 jeremybenn
 
69 121 jeremybenn
is_jump_test_SOURCES = inst-set-test.h \
70
                       is-jump-test.S
71
is_jump_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
72
is_jump_test_LDADD   = inst-set-test.lo
73
 
74 118 jeremybenn
is_lws_test_SOURCES  = inst-set-test.h \
75
                       is-lws-test.S
76
is_lws_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
77
is_lws_test_LDADD    = inst-set-test.lo
78
 
79 116 jeremybenn
is_mac_test_SOURCES  = inst-set-test.h \
80
                       is-mac-test.S
81
is_mac_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
82
is_mac_test_LDADD    = inst-set-test.lo
83
 
84 118 jeremybenn
is_mul_test_SOURCES  = inst-set-test.h \
85
                       is-mul-test.S
86
is_mul_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
87
is_mul_test_LDADD    = inst-set-test.lo
88 115 jeremybenn
 
89 107 jeremybenn
# The old test which builds with warnings and runs with errors
90
inst_set_test_old_SOURCES = inst-set-test-old.c
91
 
92
inst_set_test_old_LDFLAGS = -T$(srcdir)/../default.ld
93
 
94
inst_set_test_old_LDADD   = ../except/except.lo      \
95
                            ../support/libsupport.la

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.