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 112

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 107 jeremybenn
                 is-lws-test          \
47
                 $(INST_SET_TEST_OLD)
48
 
49
# The new instruction set tests.
50 112 jeremybenn
is_add_test_SOURCES = inst-set-test.h \
51
                      is-add-test.S
52
is_add_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
53
is_add_test_LDADD   = inst-set-test.lo
54
 
55
is_div_test_SOURCES = inst-set-test.h \
56
                      is-div-test.S
57 107 jeremybenn
is_div_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
58
is_div_test_LDADD   = inst-set-test.lo
59
 
60 112 jeremybenn
is_lws_test_SOURCES = inst-set-test.h \
61
                      is-lws-test.S
62 107 jeremybenn
is_lws_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
63
is_lws_test_LDADD   = inst-set-test.lo
64
 
65
# The old test which builds with warnings and runs with errors
66
inst_set_test_old_SOURCES = inst-set-test-old.c
67
 
68
inst_set_test_old_LDFLAGS = -T$(srcdir)/../default.ld
69
 
70
inst_set_test_old_LDADD   = ../except/except.lo      \
71
                            ../support/libsupport.la

powered by: WebSVN 2.1.0

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