1# Makefile.am automatically generated by testcase-maker. 2# If you make changes here they will go away. 3 4VMIPSTOOL = ../../vmipstool -n -F ../../vmipsrc --ld-script=@top_srcdir@/sample_code/ld.script 5AM_CFLAGS = -g -I@top_srcdir@ -I@top_srcdir@/sample_code 6SETUP = ../../sample_code/setup.o 7 8# empty 9 10# empty 11 12# simple_asm bdexcp 13# multifile_asm -setup 0 bdexcp bdexcp.S 14bdexcp_SOURCES = bdexcp.S 15bdexcp.rom: bdexcp.exe 16 $(VMIPSTOOL) --make-rom bdexcp.exe bdexcp.rom 17 18# simple_c dzhello 19# multifile_c dzhello dzhello.c 20dzhello_LDFLAGS = $(SETUP) 21dzhello_SOURCES = dzhello.c 22dzhello.rom: dzhello.exe 23 $(VMIPSTOOL) --make-rom dzhello.exe dzhello.rom 24 25# simple_c emptymain 26# multifile_c emptymain emptymain.c 27emptymain_LDFLAGS = $(SETUP) 28emptymain_SOURCES = emptymain.c 29emptymain.rom: emptymain.exe 30 $(VMIPSTOOL) --make-rom emptymain.exe emptymain.rom 31 32# simple_asm exception 33# multifile_asm -setup 0 exception exception.S 34exception_SOURCES = exception.S 35exception.rom: exception.exe 36 $(VMIPSTOOL) --make-rom exception.exe exception.rom 37 38# simple_c hello 39# multifile_c hello hello.c 40hello_LDFLAGS = $(SETUP) 41hello_SOURCES = hello.c 42hello.rom: hello.exe 43 $(VMIPSTOOL) --make-rom hello.exe hello.rom 44 45# simple_c hello2 46# multifile_c hello2 hello2.c 47hello2_LDFLAGS = $(SETUP) 48hello2_SOURCES = hello2.c 49hello2.rom: hello2.exe 50 $(VMIPSTOOL) --make-rom hello2.exe hello2.rom 51 52# simple_asm instcounts 53# multifile_asm -setup 0 instcounts instcounts.S 54instcounts_SOURCES = instcounts.S 55instcounts.rom: instcounts.exe 56 $(VMIPSTOOL) --make-rom instcounts.exe instcounts.rom 57 58# makefile_fragment loser 59loser_SOURCES = loser.S 60loser.rom: loser.exe 61 $(VMIPSTOOL) --make-rom loser.exe loser.tmp 62 dd if=loser.tmp bs=4 count=1 of=loser.rom >/dev/null 2>&1 63 rm loser.tmp 64 65# empty 66 67# simple_asm poke2 68# multifile_asm -setup 0 poke2 poke2.S 69poke2_SOURCES = poke2.S 70poke2.rom: poke2.exe 71 $(VMIPSTOOL) --make-rom poke2.exe poke2.rom 72 73# simple_asm sb-print 74# multifile_asm -setup 0 sb-print sb-print.S 75sb_print_SOURCES = sb-print.S 76sb-print.rom: sb-print.exe 77 $(VMIPSTOOL) --make-rom sb-print.exe sb-print.rom 78 79# simple_asm simpledis 80# multifile_asm -setup 0 simpledis simpledis.S 81simpledis_SOURCES = simpledis.S 82simpledis.rom: simpledis.exe 83 $(VMIPSTOOL) --make-rom simpledis.exe simpledis.rom 84 85# simple_asm unaligned 86# multifile_asm -setup 0 unaligned unaligned.S 87unaligned_SOURCES = unaligned.S 88unaligned.rom: unaligned.exe 89 $(VMIPSTOOL) --make-rom unaligned.exe unaligned.rom 90 91noinst_PROGRAMS = bdexcp dzhello emptymain exception hello hello2 instcounts loser poke2 sb-print simpledis unaligned 92 93CCLD = $(VMIPSTOOL) --link 94COMPILE = $(VMIPSTOOL) --compile $(AM_CFLAGS) 95ASCOMPILE = $(VMIPSTOOL) --compile $(AM_CFLAGS) 96CPPASCOMPILE = $(VMIPSTOOL) --compile $(AM_CFLAGS) 97EXEEXT = .exe 98 99CLEANFILES = bdexcp.rom dzhello.rom emptymain.rom exception.rom hello.rom hello2.rom instcounts.rom loser.rom poke2.rom sb-print.rom simpledis.rom unaligned.rom 100 101EXTRA_DIST = outcheck.exp badargs.par badoption.par bdexcp.par dzhello.par emptymain.par exception.par hello.par hello2.par instcounts.par loser.par nonexistent.par poke2.par sb-print.par simpledis.par unaligned.par 102 103# 4 C testcases and 7 asm testcases. 104# 4 custom makefile fragment testcases. 105