/[qemu]/qemu/tests/Makefile
ViewVC logotype

Diff of /qemu/tests/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31 by bellard, Sat Jan 8 18:54:40 2005 UTC revision 1.32 by bellard, Wed Mar 2 22:19:12 2005 UTC
# Line 6  LDFLAGS= Line 6  LDFLAGS=
6  ifeq ($(ARCH),i386)  ifeq ($(ARCH),i386)
7  TESTS=linux-test testthread sha1-i386 test-i386 runcom  TESTS=linux-test testthread sha1-i386 test-i386 runcom
8  endif  endif
9    ifeq ($(ARCH),x86_64)
10    TESTS=test-x86_64
11    endif
12  TESTS+=sha1# test_path  TESTS+=sha1# test_path
13  #TESTS+=test_path  #TESTS+=test_path
14    
# Line 24  test_path: test_path.c Line 27  test_path: test_path.c
27          $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<          $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
28          ./$@ || { rm $@; exit 1; }          ./$@ || { rm $@; exit 1; }
29    
30  # i386 emulation test (test various opcodes) */  # i386/x86_64 emulation test (test various opcodes) */
31  test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \  test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S \
32             test-i386.h test-i386-shift.h test-i386-muldiv.h             test-i386.h test-i386-shift.h test-i386-muldiv.h
33          $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c \          $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ \
34                test-i386-code16.S test-i386-vm86.S -lm                test-i386.c test-i386-code16.S test-i386-vm86.S -lm
35    
36    test-x86_64: test-i386.c \
37               test-i386.h test-i386-shift.h test-i386-muldiv.h
38            $(CC) $(CFLAGS) $(LDFLAGS) -static -o $@ test-i386.c -lm
39    
40  ifeq ($(ARCH),i386)  ifeq ($(ARCH),i386)
41  test: test-i386  test: test-i386

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26