Search
lxdream.org :: lxdream/test/Makefile.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/Makefile.in
changeset 731:ee2e929cca3a
prev712:1ef156f22109
next746:3a574a68e793
author nkeynes
date Tue Jul 08 12:29:53 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Fixup out-of-tree builds to work properly, mostly fix dist target
file annotate diff log raw
1.1 --- a/test/Makefile.in Sun Jun 29 03:10:19 2008 +0000
1.2 +++ b/test/Makefile.in Tue Jul 08 12:29:53 2008 +0000
1.3 @@ -1,32 +1,29 @@
1.4 +srcdir = @srcdir@
1.5 +top_srcdir = @top_srcdir@
1.6 +VPATH = @srcdir@
1.7 +
1.8 # host compiler and flags
1.9 HOSTCC = @CC@
1.10 HOSTCFLAGS = @CFLAGS@
1.11 +
1.12 SH4CC = @SHCC@
1.13 -SH4INC = -Iinclude
1.14 +SH4INC = -I$(srcdir)/include
1.15 SH4CFLAGS = $(SH4INC) -D_arch_dreamcast -D_arch_sub_pristine \
1.16 -O2 -fno-builtin -fno-strict-aliasing -ml -m4-single-only \
1.17 -fno-optimize-sibling-calls
1.18 SH4LD = @SHLD@
1.19 SH4LDFLAGS = -fno-builtin -fno-strict-aliasing -ml -m4-single-only \
1.20 - -Wl,-Tdc.x -nostartfiles -nostdlib -Llib
1.21 + -Wl,-T$(srcdir)/dc.x -nostartfiles -nostdlib -L$(srcdir)/lib
1.22 SH4LIBS = -Wl,--start-group -lc -lgcc -lm -Wl,--end-group
1.23 SH4OBJCOPY = @SHOBJCOPY@ -O binary
1.24 +
1.25 ARMCC = @ARMCC@
1.26 ARMCFLAGS = -O2
1.27 ARMLD = @ARMLD@
1.28 ARMOBJCOPY = @ARMOBJCOPY@
1.29
1.30 -RUNTEST = ../src/lxdream -c ./lxdream.rc -puH -A null
1.31 -RUNTESTX = ../src/lxdream -c ./lxdream.rc -xpuH -A null
1.32 -
1.33 -
1.34 -# cygwin
1.35 -# these must point to your sh-elf bfd, not the system one
1.36 -#BFDLIB = -L/usr/local/lib -lbfd -liberty -lintl
1.37 -#BFDINCLUDE = /usr/local/include
1.38 -
1.39 -#SHARED_OBJECTS = crt0.so dcload-syscall.so dcload-syscalls.so memcpy.so lib.so
1.40 -SHARED_OBJECTS =
1.41 +RUNTEST = ../src/lxdream -c $(srcdir)/lxdream.rc -puH -A null
1.42 +RUNTESTX = ../src/lxdream -c $(srcdir)/lxdream.rc -xpuH -A null
1.43
1.44 %.ao: %.c
1.45 $(ARMCC) $(ARMCFLAGS) -o $@ -c $<
1.46 @@ -77,7 +74,7 @@
1.47 sh4/add.so sh4/addc.so sh4/addv.so sh4/and.so sh4/andi.so \
1.48 sh4/bf.so sh4/bsr.so sh4/bt.so sh4/cmp.so sh4/cmpstr.so \
1.49 sh4/div0.so sh4/div1.so sh4/float.so sh4/fmov.so sh4/ftrc.so \
1.50 - sh4/mac.s \
1.51 + sh4/mac.so \
1.52 sh4/rot.so sh4/shl.so sh4/shld.so sh4/sub.so sh4/subc.so \
1.53 sh4/trapa.so sh4/tas.so sh4/xtrct.so \
1.54 sh4/excslot.so sh4/undef.so sh4/tlb.so
.