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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [or1ksim/] [or1ksim-0.3.0/] [testbench/] [Makefile.am] - Diff between revs 19 and 21

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 19 Rev 21
## Makefile for or1ksim testsuite
## Makefile for or1ksim testsuite
## (c) Marko Mlinar, 2001
## (c) Marko Mlinar, 2001
## To add new test, edit between marked areas only
## To add new test, edit between marked areas only
#
#
# This file is part of OpenRISC 1000 Architectural Simulator.
# This file is part of OpenRISC 1000 Architectural Simulator.
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
################### Tests #####################
################### Tests #####################
# tests in this directory
# tests in this directory
OR1K_TESTS = basic cache cfg dmatest eth mmu except_test int_test flag fbtest kbdtest tick ext
OR1K_TESTS = basic cache cfg dmatest eth mmu except_test int_test flag fbtest kbdtest tick ext
IND_TESTS = exit cbasic local_global mul mycompress dhry functest mem_test
IND_TESTS = exit cbasic local_global mul mycompress dhry functest mem_test
# inst_set_test
# inst_set_test
ACV_TESTS = acv_uart acv_gpio
ACV_TESTS = acv_uart acv_gpio
MC_TESTS = mc_dram mc_ssram mc_async mc_sync
MC_TESTS = mc_dram mc_ssram mc_async mc_sync
# Subdirectory tests
# Subdirectory tests
SUB_TESTS =
SUB_TESTS =
OR1K_SUB_TESTS = uos
OR1K_SUB_TESTS = uos
###############################################
###############################################
ALL_TESTS = $(IND_TESTS) $(OR1K_TESTS) $(ACV_TESTS) $(MC_TESTS)
ALL_TESTS = $(IND_TESTS) $(OR1K_TESTS) $(ACV_TESTS) $(MC_TESTS)
TESTS = $(IND_TESTS) $(OR1K_TESTS)
TESTS = $(IND_TESTS) $(OR1K_TESTS)
bin_PROGRAMS = $(ALL_TESTS)
bin_PROGRAMS = $(ALL_TESTS)
######### Platform Independent Tests ##########
######### Platform Independent Tests ##########
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.c
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
cbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.c
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
local_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.c
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
mul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.c
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
dhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.c
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
mycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.c
functest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.c
functest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.c
mem_test_SOURCES = $(OR1K_SUPPORT_S) support.h mem_test.c
mem_test_SOURCES = $(OR1K_SUPPORT_S) support.h mem_test.c
inst_set_test_SOURCES = $(OR1K_SUPPORT_S) support.h inst_set_test.c
inst_set_test_SOURCES = $(OR1K_SUPPORT_S) support.h inst_set_test.c
tick_SOURCES = $(OR1K_SUPPORT_S) support.h tick.c
tick_SOURCES = $(OR1K_SUPPORT_S) support.h tick.c
###############################################
###############################################
if OR1K_EXCEPT
if OR1K_EXCEPT
exit_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
exit_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
cbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
cbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
local_global_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
local_global_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mul_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mul_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
dhry_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
dhry_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mycompress_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mycompress_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
functest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
functest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mem_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mem_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
inst_set_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
inst_set_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
tick_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
tick_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
######### MC Tests ############################
######### MC Tests ############################
mc_dram_SOURCES = except_mc.S mc_common.h mc_common.c mc_dram.h mc_dram.c
mc_dram_SOURCES = except_mc.S mc_common.h mc_common.c mc_dram.h mc_dram.c
mc_dram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_dram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_ssram_SOURCES = except_mc.S mc_common.h mc_common.c mc_ssramh mc_ssram.c
mc_ssram_SOURCES = except_mc.S mc_common.h mc_common.c mc_ssramh mc_ssram.c
mc_ssram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_ssram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_async_SOURCES = except_mc.S mc_common.h mc_common.c mc_async.h mc_async.c
mc_async_SOURCES = except_mc.S mc_common.h mc_common.c mc_async.h mc_async.c
mc_async_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_async_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_sync_SOURCES = except_mc.S mc_common.h mc_common.c mc_sync.h mc_sync.c
mc_sync_SOURCES = except_mc.S mc_common.h mc_common.c mc_sync.h mc_sync.c
mc_sync_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
mc_sync_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld
###############################################
###############################################
####### Platform Dependent Tests - OR1K ########
####### Platform Dependent Tests - OR1K ########
basic_SOURCES = basic.S spr_defs.h
basic_SOURCES = basic.S spr_defs.h
basic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
basic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
basic_LDADD =
basic_LDADD =
flag_SOURCES = flag.S spr_defs.h
flag_SOURCES = flag.S spr_defs.h
flag_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
flag_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
flag_LDADD =
flag_LDADD =
cache_SOURCES = support.h cache.c cache_asm.S
cache_SOURCES = support.h cache.c cache_asm.S
cache_LDFLAGS = -T$(OR1K_SRCDIR)/cache.ld
cache_LDFLAGS = -T$(OR1K_SRCDIR)/cache.ld
cfg_SOURCES = cfg.S spr_defs.h
cfg_SOURCES = cfg.S spr_defs.h
cfg_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
cfg_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
cfg_LDADD =
cfg_LDADD =
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.c
dmatest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
dmatest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
eth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.c
eth_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
eth_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
acv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.c
acv_uart_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
acv_uart_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
acv_gpio_SOURCES = $(OR1K_SUPPORT_S) support.h acv_gpio.c
acv_gpio_SOURCES = $(OR1K_SUPPORT_S) support.h acv_gpio.c
acv_gpio_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
acv_gpio_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mmu_SOURCES = $(OR1K_SUPPORT_S) support.h mmu.c mmu_asm.S
mmu_SOURCES = $(OR1K_SUPPORT_S) support.h mmu.c mmu_asm.S
mmu_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
mmu_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
except_test_SOURCES = except_test_s.S except_test.c spr_defs.h
except_test_SOURCES = except_test_s.S except_test.c spr_defs.h
except_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
except_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
int_test_SOURCES = spr_defs.h int_test.S
int_test_SOURCES = spr_defs.h int_test.S
int_test_LDFLAGS = -T$(OR1K_SRCDIR)/int_test.ld
int_test_LDFLAGS = -T$(OR1K_SRCDIR)/int_test.ld
fbtest_SOURCES = $(OR1K_SUPPORT_S) support.h fbtest.c
fbtest_SOURCES = $(OR1K_SUPPORT_S) support.h fbtest.c
fbtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
fbtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
kbdtest_SOURCES = $(OR1K_SUPPORT_S) support.h kbdtest.c
kbdtest_SOURCES = $(OR1K_SUPPORT_S) support.h kbdtest.c
kbdtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
kbdtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
ext_SOURCES = ext.S
ext_SOURCES = ext.S
ext_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
ext_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld
################################################
################################################
else
else
##### Platform Dependent Tests - not OR1K #####
##### Platform Dependent Tests - not OR1K #####
basic_SOURCES =
basic_SOURCES =
flag_SOURCES =
flag_SOURCES =
cache_SOURCES =
cache_SOURCES =
cfg_SOURCES =
cfg_SOURCES =
dmatest_SOURCES =
dmatest_SOURCES =
eth_SOURCES =
eth_SOURCES =
acv_uart_SOURCES =
acv_uart_SOURCES =
acv_gpio_SOURCES =
acv_gpio_SOURCES =
mmu_SOURCES =
mmu_SOURCES =
except_test_SOURCES =
except_test_SOURCES =
int_test_SOURCES =
int_test_SOURCES =
fbtest_SOURCES =
fbtest_SOURCES =
kbdtest_SOURCES =
kbdtest_SOURCES =
###############################################
###############################################
endif
endif
## Neccessary stuff
## Neccessary stuff
if OR1K_EXCEPT
if OR1K_EXCEPT
SUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)
SUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)
else
else
SUBDIRS = support $(SUB_TESTS)
SUBDIRS = support $(SUB_TESTS)
endif
endif
if OR1K_EXCEPT
if OR1K_EXCEPT
OR1K_SUPPORT_S = except.S
OR1K_SUPPORT_S = except.S
else
else
OR1K_SUPPORT_S =
OR1K_SUPPORT_S =
endif
endif
LDADD = support/libsupport.a
LDADD = support/libsupport.a
LDFLAGS =
LDFLAGS =
TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)
TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)
again: clean all
again: clean all
 
 

powered by: WebSVN 2.1.0

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