VirtualBox

Ignore:
Timestamp:
Apr 30, 2007 12:36:15 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20835
Message:

Removed the old recompiler code. (wonder why subversion didn't pick up these changes right way)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/tests/Makefile

    r1 r2426  
    1 #-include ../config-host.mak
    2 CC=gcc
     1-include ../config-host.mak
     2
    33CFLAGS=-Wall -O2 -g
     4#CFLAGS+=-msse2
    45LDFLAGS=
    56
    67ifeq ($(ARCH),i386)
    78TESTS=linux-test testthread sha1-i386 test-i386 runcom
     9endif
     10ifeq ($(ARCH),x86_64)
     11TESTS=test-x86_64
    812endif
    913TESTS+=sha1# test_path
     
    2529        ./$@ || { rm $@; exit 1; }
    2630
    27 # i386 emulation test (test various opcodes) */
     31# i386/x86_64 emulation test (test various opcodes) */
    2832test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \
    2933           test-i386.h test-i386-shift.h test-i386-muldiv.h
    30         $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c \
    31               test-i386-code16.S test-i386-vm86.S -lm
     34        $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \
     35              test-i386.c test-i386-code16.S test-i386-vm86.S -lm
     36
     37test-x86_64: test-i386.c \
     38           test-i386.h test-i386-shift.h test-i386-muldiv.h
     39        $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm
    3240
    3341ifeq ($(ARCH),i386)
     
    6573# NOTE: -fomit-frame-pointer is currently needed : this is a bug in libqemu
    6674qruncom: qruncom.c ../i386-user/libqemu.a
    67         $(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -I../target-i386 -I.. -I../i386-user \
     75        $(CC) $(CFLAGS) -fomit-frame-pointer $(LDFLAGS) -I../target-i386 -I.. -I../i386-user -I../fpu \
    6876              -o $@ $< -L../i386-user -lqemu -lm
    6977
     
    7583        arm-linux-gcc -Wall -g -O2 -c -o $@ $<
    7684
     85# MIPS test
     86hello-mips: hello-mips.c
     87        mips-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $<
     88
     89hello-mipsel: hello-mips.c
     90        mipsel-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $<
     91
    7792# XXX: find a way to compile easily a test for each arch
    7893test2:
    79         @for arch in i386 arm sparc ppc; do \
     94        @for arch in i386 arm armeb sparc ppc mips mipsel; do \
    8095           ../$${arch}-user/qemu-$${arch} $${arch}/ls -l linux-test.c ; \
    8196        done
    8297
    8398clean:
    84         rm -f *~ *.o test-i386.out test-i386.ref qruncom $(TESTS)
     99        rm -f *~ *.o test-i386.out test-i386.ref \
     100           test-x86_64.log test-x86_64.ref qruncom $(TESTS)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette