URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [Makefile.am] - Rev 1779
Go to most recent revision | Compare with Previous | Blame | View Log
## Makefile for or1ksim testsuite## (c) Marko Mlinar, 2001## To add new test, edit between marked areas only## This file is part of OpenRISC 1000 Architectural Simulator.## 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# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.#################### Tests ###################### tests in this directoryOR1K_TESTS = basic cache cfg dmatest eth mmu except_test int_test flag fbtest kbdtest tickIND_TESTS = exit cbasic local_global mul mycompress dhry functest mem_test# inst_set_testACV_TESTS = acv_uart acv_gpioMC_TESTS = mc_dram mc_ssram mc_async mc_sync# Subdirectory testsSUB_TESTS =OR1K_SUB_TESTS = uos###############################################ALL_TESTS = $(IND_TESTS) $(OR1K_TESTS) $(ACV_TESTS) $(MC_TESTS)TESTS = $(IND_TESTS) $(OR1K_TESTS)bin_PROGRAMS = $(ALL_TESTS)######### Platform Independent Tests ##########exit_SOURCES = $(OR1K_SUPPORT_S) support.h exit.ccbasic_SOURCES = $(OR1K_SUPPORT_S) support.h cbasic.clocal_global_SOURCES = $(OR1K_SUPPORT_S) support.h local_global.cmul_SOURCES = $(OR1K_SUPPORT_S) support.h mul.cdhry_SOURCES = $(OR1K_SUPPORT_S) support.h dhry.h dhry.cmycompress_SOURCES = $(OR1K_SUPPORT_S) support.h mycompress.cfunctest_SOURCES = $(OR1K_SUPPORT_S) support.h functest.cmem_test_SOURCES = $(OR1K_SUPPORT_S) support.h mem_test.cinst_set_test_SOURCES = $(OR1K_SUPPORT_S) support.h inst_set_test.ctick_SOURCES = $(OR1K_SUPPORT_S) support.h tick.c###############################################if OR1K_EXCEPTexit_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldcbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldlocal_global_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldmul_LDFLAGS = -T$(OR1K_SRCDIR)/default.lddhry_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldmycompress_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldfunctest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldmem_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldinst_set_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldtick_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld######### MC Tests ############################mc_dram_SOURCES = except_mc.S mc_common.h mc_common.c mc_dram.h mc_dram.cmc_dram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ldmc_ssram_SOURCES = except_mc.S mc_common.h mc_common.c mc_ssramh mc_ssram.cmc_ssram_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ldmc_async_SOURCES = except_mc.S mc_common.h mc_common.c mc_async.h mc_async.cmc_async_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ldmc_sync_SOURCES = except_mc.S mc_common.h mc_common.c mc_sync.h mc_sync.cmc_sync_LDFLAGS = -T$(OR1K_SRCDIR)except_mc.ld###################################################### Platform Dependent Tests - OR1K ########basic_SOURCES = basic.S spr_defs.hbasic_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldbasic_LDADD =flag_SOURCES = flag.S spr_defs.hflag_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldflag_LDADD =cache_SOURCES = support.h cache.c cache_asm.Scache_LDFLAGS = -T$(OR1K_SRCDIR)/cache.ldcfg_SOURCES = cfg.S spr_defs.hcfg_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldcfg_LDADD =dmatest_SOURCES = $(OR1K_SUPPORT_S) support.h dmatest.cdmatest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldeth_SOURCES = $(OR1K_SUPPORT_S) support.h eth.ceth_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldacv_uart_SOURCES = $(OR1K_SUPPORT_S) support.h acv_uart.cacv_uart_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldacv_gpio_SOURCES = $(OR1K_SUPPORT_S) support.h acv_gpio.cacv_gpio_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldmmu_SOURCES = $(OR1K_SUPPORT_S) support.h mmu.c mmu_asm.Smmu_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldexcept_test_SOURCES = except_test_s.S except_test.c spr_defs.hexcept_test_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldint_test_SOURCES = spr_defs.h int_test.Sint_test_LDFLAGS = -T$(OR1K_SRCDIR)/int_test.ldfbtest_SOURCES = $(OR1K_SUPPORT_S) support.h fbtest.cfbtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ldkbdtest_SOURCES = $(OR1K_SUPPORT_S) support.h kbdtest.ckbdtest_LDFLAGS = -T$(OR1K_SRCDIR)/default.ld################################################else##### Platform Dependent Tests - not OR1K #####basic_SOURCES =flag_SOURCES =cache_SOURCES =cfg_SOURCES =dmatest_SOURCES =eth_SOURCES =acv_uart_SOURCES =acv_gpio_SOURCES =mmu_SOURCES =except_test_SOURCES =int_test_SOURCES =fbtest_SOURCES =kbdtest_SOURCES =###############################################endif## Neccessary stuffif OR1K_EXCEPTSUBDIRS = support $(SUB_TESTS) $(OR1K_SUB_TESTS)elseSUBDIRS = support $(SUB_TESTS)endifif OR1K_EXCEPTOR1K_SUPPORT_S = except.SelseOR1K_SUPPORT_S =endifLDADD = support/libsupport.aLDFLAGS =TESTS_ENVIRONMENT = $(SHELL) ${top_srcdir}/test $(TESTS_ENV)again: clean all
Go to most recent revision | Compare with Previous | Blame | View Log
