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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [Makefile.am] - Blame information for rev 451

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 410 simons
OR1K_TESTS = basic cache excpt cfg dmatest eth mmu # pic
25 409 markom
IND_TESTS = exit cbasic local_global mul mycompress dhry functest
26 380 markom
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 451 markom
exit_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
39 224 markom
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
40 451 markom
cbasic_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
41 224 markom
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
42 451 markom
local_global_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
43 224 markom
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
44 451 markom
mul_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
45 224 markom
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
46 451 markom
dhry_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
47 224 markom
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
48 451 markom
mycompress_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
49 409 markom
functest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.c
50 451 markom
functest_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
51 224 markom
###############################################
52
 
53
if OR1K_EXCEPT
54
 
55
####### Platform Dependent Tests - OR1K ########
56 424 markom
basic_SOURCES = basic.S spr_defs.h
57 451 markom
basic_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
58 224 markom
basic_LDADD =
59
cache_SOURCES = $(OR1K_SUPPORT_S) support.h cache.c
60 451 markom
cache_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
61 224 markom
excpt_SOURCES = excpt.S spr_defs.h
62 451 markom
excpt_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
63 224 markom
excpt_LDADD =
64
cfg_SOURCES = cfg.S spr_defs.h
65 451 markom
cfg_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
66 224 markom
cfg_LDADD =
67 310 markom
pic_SOURCES = $(OR1K_SUPPORT_S) support.h pic.c
68 451 markom
pic_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
69 258 erez
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
70 451 markom
dmatest_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
71 258 erez
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
72 451 markom
eth_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
73 344 markom
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
74 451 markom
acv_uart_LDFLAGS = -T$(OR1K_SRCDIR)/except.ld
75 410 simons
mmu_SOURCES = $(OR1K_SUPPORT_S) support.h mmu.c mmu_asm.S -DCOPY_SECTIONS
76 451 markom
mmu_LDFLAGS = -T$(OR1K_SRCDIR)/xess.ld
77 224 markom
################################################
78
 
79
else
80
 
81
##### Platform Dependent Tests - not OR1K #####
82
basic_SOURCES =
83
cache_SOURCES =
84
excpt_SOURCES =
85
cfg_SOURCES =
86 310 markom
pic_SOURCES =
87 258 erez
dmatest_SOURCES =
88
eth_SOURCES =
89 344 markom
acv_uart_SOURCES =
90 410 simons
mmu_SOURCES =
91 224 markom
###############################################
92
 
93
endif
94
 
95
## Neccessary stuff
96
 
97
if OR1K_EXCEPT
98
SUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)
99
else
100
SUBDIRS = support $(SUB_TESTS)
101
endif
102
 
103
if OR1K_EXCEPT
104 342 markom
OR1K_SUPPORT_S = except.S
105 224 markom
else
106
OR1K_SUPPORT_S =
107
endif
108
 
109
LDADD = support/libsupport.a
110 451 markom
LDFLAGS =
111 308 markom
TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)
112 224 markom
 
113
again: clean all

powered by: WebSVN 2.1.0

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