Search
lxdream.org :: lxdream/test/Makefile.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/Makefile.in
changeset 812:8cc61d5ea1f8
prev808:da414654f3fa
next815:866c103d72cd
author nkeynes
date Wed Aug 13 10:32:00 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Add ARM test harness (not quite working on DC but almost...)
file annotate diff log raw
1.1 --- a/test/Makefile.in Sat Aug 09 09:13:29 2008 +0000
1.2 +++ b/test/Makefile.in Wed Aug 13 10:32:00 2008 +0000
1.3 @@ -19,9 +19,12 @@
1.4 SH4OBJCOPY = @SHOBJCOPY@ -O binary
1.5
1.6 ARMCC = @ARMCC@
1.7 -ARMCFLAGS = -O2
1.8 +ARMCFLAGS = -O2 -fno-builtin -fno-strict-aliasing -mlittle-endian
1.9 ARMLD = @ARMLD@
1.10 -ARMOBJCOPY = @ARMOBJCOPY@
1.11 +ARMLDFLAGS = -Wl,-T$(srcdir)/aica.x -nostartfiles -mlittle-endian \
1.12 + -nostdlib -L$(srcdir)/lib-arm
1.13 +ARMLIBS = -Wl,--start-group -lc -lgcc -lm -Wl,--end-group
1.14 +ARMOBJCOPY = @ARMOBJCOPY@ -O binary
1.15
1.16 RUNTEST = ../src/lxdream -c $(srcdir)/lxdream.rc -puH -A null
1.17 RUNTESTX = ../src/lxdream -c $(srcdir)/lxdream.rc -xpuH -A null
1.18 @@ -72,7 +75,7 @@
1.19
1.20 build-tests: testsh4 testmath testide testta testregs testrend testdisp testspu testmmu
1.21
1.22 -testsh4: crt0.so sh4/testsh4.so timer.so interrupt.so \
1.23 +testsh4: lib/crt0.so sh4/testsh4.so timer.so interrupt.so \
1.24 sh4/add.so sh4/addc.so sh4/addv.so sh4/and.so sh4/andi.so \
1.25 sh4/bf.so sh4/bsr.so sh4/bt.so sh4/cmp.so sh4/cmpstr.so \
1.26 sh4/div0.so sh4/div1.so sh4/float.so sh4/fmov.so sh4/ftrc.so \
1.27 @@ -83,57 +86,61 @@
1.28 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.29 $(SH4OBJCOPY) testsh4 testsh4.bin
1.30
1.31 -testide: crt0.so testide.so ide.so lib.so testdata.so
1.32 +testide: lib/crt0.so testide.so ide.so lib.so testdata.so
1.33 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.34 $(SH4OBJCOPY) testide testide.bin
1.35
1.36 -testmmu: crt0.so testmmu.so lib.so
1.37 +testmmu: lib/crt0.so testmmu.so lib.so
1.38 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.39 $(SH4OBJCOPY) testmmu testmmu.bin
1.40
1.41 -testmath: crt0.so $(SHARED_OBJECTS) testmath.so math.so
1.42 +testmath: lib/crt0.so $(SHARED_OBJECTS) testmath.so math.so
1.43 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.44
1.45 -testregs: crt0.so $(SHARED_OBJECTS) testregs.so ide.so
1.46 +testregs: lib/crt0.so $(SHARED_OBJECTS) testregs.so ide.so
1.47 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.48 $(SH4OBJCOPY) testregs testregs.bin
1.49
1.50 -testta: crt0.so $(SHARED_OBJECTS) testta.so pvr.so dmac.so asic.so lib.so testdata.so
1.51 +testta: lib/crt0.so $(SHARED_OBJECTS) testta.so pvr.so dmac.so asic.so lib.so testdata.so
1.52 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.53 $(SH4OBJCOPY) testta testta.bin
1.54
1.55 -testrend: crt0.so $(SHARED_OBJECTS) testrend.so pvr.so dmac.so asic.so lib.so testdata.so
1.56 +testaica: lib/crt0.so $(SHARED_OBJECTS) testaica.so dmac.so asic.so lib.so
1.57 + $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.58 + $(SH4OBJCOPY) testaica testaica.bin
1.59 +
1.60 +testrend: lib/crt0.so $(SHARED_OBJECTS) testrend.so pvr.so dmac.so asic.so lib.so testdata.so
1.61 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.62 $(SH4OBJCOPY) testrend testrend.bin
1.63
1.64 -testblend: crt0.so $(SHARED_OBJECTS) testblend.so pvr.so dmac.so asic.so lib.so testdata.so
1.65 +testblend: lib/crt0.so $(SHARED_OBJECTS) testblend.so pvr.so dmac.so asic.so lib.so testdata.so
1.66 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.67 $(SH4OBJCOPY) testblend testblend.bin
1.68
1.69 -testdisp: crt0.so $(SHARED_OBJECTS) testdisp.so pvr.so asic.so lib.so testdata.so timer.so
1.70 +testdisp: lib/crt0.so $(SHARED_OBJECTS) testdisp.so pvr.so asic.so lib.so testdata.so timer.so
1.71 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.72 $(SH4OBJCOPY) testdisp testdisp.bin
1.73
1.74 -testyuv: crt0.so $(SHARED_OBJECTS) testyuv.so pvr.so asic.so lib.so testdata.so timer.so dmac.so
1.75 +testyuv: lib/crt0.so $(SHARED_OBJECTS) testyuv.so pvr.so asic.so lib.so testdata.so timer.so dmac.so
1.76 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.77 $(SH4OBJCOPY) testyuv testyuv.bin
1.78
1.79 -testspu: crt0.so $(SHARED_OBJECTS) testspu.so asic.so lib.so testdata.so timer.so dmac.so
1.80 +testspu: lib/crt0.so $(SHARED_OBJECTS) testspu.so asic.so lib.so testdata.so timer.so dmac.so
1.81 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.82 $(SH4OBJCOPY) testspu testspu.bin
1.83
1.84 -testg2: crt0.so $(SHARED_OBJECTS) testg2.so asic.so lib.so testdata.so timer.so dmac.so
1.85 +testg2: lib/crt0.so $(SHARED_OBJECTS) testg2.so asic.so lib.so testdata.so timer.so dmac.so
1.86 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.87 $(SH4OBJCOPY) testg2 testg2.bin
1.88
1.89 -readdata: crt0.so readdata.so
1.90 +readdata: lib/crt0.so readdata.so
1.91 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.92
1.93 -rend: crt0.so rendload.so asic.so lib.so timer.so pvr.so
1.94 +rend: lib/crt0.so rendload.so asic.so lib.so timer.so pvr.so
1.95 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.96 $(SH4OBJCOPY) rend rend.bin
1.97
1.98 -testFF10: crt0.so testFF10.so lib.so
1.99 +testFF10: lib/crt0.so testFF10.so lib.so
1.100 $(SH4CC) $(SH4LDFLAGS) $^ -o $@ $(SH4LIBS)
1.101 $(SH4OBJCOPY) testFF10 testFF10.bin
1.102
1.103 @@ -152,7 +159,7 @@
1.104
1.105 uninstall:
1.106
1.107 -DISTFILES = asic.c asic.h bin2c.c crt0.s dma.h dmac.c ide.c ide.h interrupt.s \
1.108 +DISTFILES = asic.c asic.h bin2c.c dma.h dmac.c ide.c ide.h interrupt.s \
1.109 lib.c lib.h math.s pvr.c pvr.h rendload.c sh4/add.s sh4/addc.s \
1.110 sh4/addv.s sh4/and.s sh4/andi.s sh4/bf.s sh4/bsr.s sh4/bt.s sh4/cmp.s \
1.111 sh4/cmpstr.s sh4/div0.s sh4/div1.s sh4/excslot.s sh4/float.s sh4/fmov.s \
1.112 @@ -161,7 +168,8 @@
1.113 sh4/xtrct.s testdata.c testdata.h testdisp.c testide.c testmath.c \
1.114 testmmu.c testregs.c testrend.c testspu.c testta.c testyuv.c timer.c timer.h \
1.115 testta.data testta2.data testta3.data testta4.data testta5.data testsort.data \
1.116 - lxdream.rc dc.x lib/libc.a lib/libm.a lib/newlib-1.8.2-dc.patch \
1.117 + lxdream.rc dc.x lib/crt0.s lib/libc.a lib/libm.a lib/newlib-1.8.2-dc.patch \
1.118 + aica.x lib-arm/libc.a lib-arm/libm.a lib-arm/crt0.s \
1.119 include/_ansi.h include/_syslist.h include/ar.h include/assert.h include/ctype.h \
1.120 include/dirent.h include/errno.h include/fastmath.h include/fcntl.h include/grp.h \
1.121 include/ieeefp.h include/locale.h include/machine/fastmath.h include/machine/ieeefp.h \
.