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 380

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 380 markom
OR1K_TESTS = basic cache excpt cfg dmatest eth # pic
26
ACV_TESTS = acv_uart
27 224 markom
# Subdirectory tests
28
SUB_TESTS =
29
OR1K_SUB_TESTS = uos
30
###############################################
31
 
32 380 markom
ALL_TESTS = $(IND_TESTS) $(OR1K_TESTS) $(ACV_TESTS)
33
TESTS = $(IND_TESTS) $(OR1K_TESTS)
34 308 markom
bin_PROGRAMS = $(ALL_TESTS)
35 224 markom
 
36
######### Platform Independent Tests ##########
37
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
38
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
39
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
40
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
41
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
42
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
43
###############################################
44
 
45
if OR1K_EXCEPT
46
 
47
####### Platform Dependent Tests - OR1K ########
48
basic_SOURCES = basic.s spr_defs.h
49
basic_LDFLAGS =
50
basic_LDADD =
51
cache_SOURCES = $(OR1K_SUPPORT_S) support.h cache.c
52
excpt_SOURCES = excpt.S spr_defs.h
53
excpt_LDFLAGS =
54
excpt_LDADD =
55
cfg_SOURCES = cfg.S spr_defs.h
56
cfg_LDFLAGS =
57
cfg_LDADD =
58 310 markom
pic_SOURCES = $(OR1K_SUPPORT_S) support.h pic.c
59 258 erez
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
60
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
61 344 markom
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
62 224 markom
################################################
63
 
64
else
65
 
66
##### Platform Dependent Tests - not OR1K #####
67
basic_SOURCES =
68
basic_LDFLAGS =
69
basic_LDADD =
70
cache_SOURCES =
71
excpt_SOURCES =
72
excpt_LDFLAGS =
73
excpt_LDADD =
74
cfg_SOURCES =
75 310 markom
pic_SOURCES =
76 258 erez
dmatest_SOURCES =
77
eth_SOURCES =
78 344 markom
acv_uart_SOURCES =
79 224 markom
###############################################
80
 
81
endif
82
 
83
## Neccessary stuff
84
 
85
if OR1K_EXCEPT
86
SUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)
87
else
88
SUBDIRS = support $(SUB_TESTS)
89
endif
90
 
91
if OR1K_EXCEPT
92 342 markom
OR1K_SUPPORT_S = except.S
93 224 markom
else
94
OR1K_SUPPORT_S =
95
endif
96
 
97
LDADD = support/libsupport.a
98
LDFLAGS = -T${top_srcdir}/except.ld
99 308 markom
TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)
100 224 markom
 
101
again: clean all

powered by: WebSVN 2.1.0

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