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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_42/] [or1ksim/] [testbench/] [Makefile.am] - Blame information for rev 342

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

Line No. Rev Author Line
1 224 markom
## Makefile for or1ksim testsuite
2
## (c) Marko Mlinar, 2001
3
## To add new test, edit between marked areas only
4
#
5
# This file is part of OpenRISC 1000 Architectural Simulator.
6
#
7
# This program is free software; you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 2 of the License, or
10
# (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
#
21
 
22
################### Tests #####################
23
# tests in this directory
24 308 markom
IND_TESTS = exit cbasic local_global mul mycompress dhry
25 310 markom
OR1K_TESTS = basic cache excpt cfg dmatest eth # pic
26 224 markom
# Subdirectory tests
27
SUB_TESTS =
28
OR1K_SUB_TESTS = uos
29
###############################################
30
 
31 308 markom
ALL_TESTS = $(IND_TESTS) $(OR1K_TESTS)
32
TESTS = $(ALL_TESTS)
33
bin_PROGRAMS = $(ALL_TESTS)
34 224 markom
 
35
######### Platform Independent Tests ##########
36
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
37
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
38
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
39
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
40
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
41
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
42
###############################################
43
 
44
if OR1K_EXCEPT
45
 
46
####### Platform Dependent Tests - OR1K ########
47
basic_SOURCES = basic.s spr_defs.h
48
basic_LDFLAGS =
49
basic_LDADD =
50
cache_SOURCES = $(OR1K_SUPPORT_S) support.h cache.c
51
excpt_SOURCES = excpt.S spr_defs.h
52
excpt_LDFLAGS =
53
excpt_LDADD =
54
cfg_SOURCES = cfg.S spr_defs.h
55
cfg_LDFLAGS =
56
cfg_LDADD =
57 310 markom
pic_SOURCES = $(OR1K_SUPPORT_S) support.h pic.c
58 258 erez
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
59
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
60 224 markom
################################################
61
 
62
else
63
 
64
##### Platform Dependent Tests - not OR1K #####
65
basic_SOURCES =
66
basic_LDFLAGS =
67
basic_LDADD =
68
cache_SOURCES =
69
excpt_SOURCES =
70
excpt_LDFLAGS =
71
excpt_LDADD =
72
cfg_SOURCES =
73 310 markom
pic_SOURCES =
74 258 erez
dmatest_SOURCES =
75
eth_SOURCES =
76 224 markom
###############################################
77
 
78
endif
79
 
80
## Neccessary stuff
81
 
82
if OR1K_EXCEPT
83
SUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)
84
else
85
SUBDIRS = support $(SUB_TESTS)
86
endif
87
 
88
if OR1K_EXCEPT
89 342 markom
OR1K_SUPPORT_S = except.S
90 224 markom
else
91
OR1K_SUPPORT_S =
92
endif
93
 
94
LDADD = support/libsupport.a
95
LDFLAGS = -T${top_srcdir}/except.ld
96 308 markom
TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)
97 224 markom
 
98
again: clean all

powered by: WebSVN 2.1.0

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