Skip to content
Newer
Older
100644 103 lines (85 sloc) 2.85 KB
626df76 build all targets at the same time
bellard authored
1 include config-host.mak
766a487 ppc build
bellard authored
2
7d13299 added translation cache
bellard authored
3 CFLAGS=-Wall -O2 -g
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
4 LDFLAGS=-g
766a487 ppc build
bellard authored
5 LIBS=
0ecfa99 prints hello world
bellard authored
6 DEFINES+=-D_GNU_SOURCE
626df76 build all targets at the same time
bellard authored
7 TOOLS=vlmkcow
aa05ae6 added exec.h
bellard authored
8
626df76 build all targets at the same time
bellard authored
9 all: dyngen $(TOOLS) qemu-doc.html
10 for d in $(TARGET_DIRS); do \
11 make -C $$d $@ || exit 1 ; \
12 done
33e3963 added user mode Linux Copy On Write disk image support - added -snaps…
bellard authored
13
14 vlmkcow: vlmkcow.o
626df76 build all targets at the same time
bellard authored
15 $(HOST_CC) -o $@ $^ $(LIBS)
de83cd0 arm emulation support
bellard authored
16
626df76 build all targets at the same time
bellard authored
17 dyngen: dyngen.o
18 $(HOST_CC) -o $@ $^ $(LIBS)
de83cd0 arm emulation support
bellard authored
19
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
20 %.o: %.c
626df76 build all targets at the same time
bellard authored
21 $(HOST_CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
22
23 clean:
2d80ae8 avoid problems if make clean was not made before updating
bellard authored
24 # avoid old build problems by removing potentially incorrect old files
25 rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
626df76 build all targets at the same time
bellard authored
26 rm -f *.o *.a $(TOOLS) dyngen TAGS
27 for d in $(TARGET_DIRS); do \
28 make -C $$d $@ || exit 1 ; \
29 done
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
30
7d13299 added translation cache
bellard authored
31 distclean: clean
2d80ae8 avoid problems if make clean was not made before updating
bellard authored
32 rm -f config-host.mak config-host.h
76bc683 updated
bellard authored
33 for d in $(TARGET_DIRS); do \
34 rm -f $$d/config.h $$d/config.mak || exit 1 ; \
35 done
7d13299 added translation cache
bellard authored
36
626df76 build all targets at the same time
bellard authored
37 install: all
d5a0b50 update
bellard authored
38 mkdir -p $(prefix)/bin
626df76 build all targets at the same time
bellard authored
39 install -m 755 -s $(TOOLS) $(prefix)/bin
40 for d in $(TARGET_DIRS); do \
41 make -C $$d $@ || exit 1 ; \
42 done
612384d added libgemu.a build
bellard authored
43
367e86e new x86 CPU core
bellard authored
44 # various test targets
626df76 build all targets at the same time
bellard authored
45 test speed: all
367e86e new x86 CPU core
bellard authored
46 make -C tests $@
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
47
367e86e new x86 CPU core
bellard authored
48 TAGS:
b9adb4a PowerPC disas code
bellard authored
49 etags *.[ch] tests/*.[ch]
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
50
3ef693a distribution patches
bellard authored
51 # documentation
52 qemu-doc.html: qemu-doc.texi
53 texi2html -monolithic -number $<
54
586314f better debug support
bellard authored
55 FILES= \
fd429f2 update
bellard authored
56 README README.distrib COPYING COPYING.LIB TODO Changelog VERSION \
76bc683 updated
bellard authored
57 configure Makefile Makefile.target \
de83cd0 arm emulation support
bellard authored
58 dyngen.c dyngen.h dyngen-exec.h ioctls.h syscall_types.h \
76bc683 updated
bellard authored
59 elf.h elfload.c main.c signal.c qemu.h \
de83cd0 arm emulation support
bellard authored
60 syscall.c syscall_defs.h vm86.c path.c mmap.c \
76bc683 updated
bellard authored
61 i386.ld ppc.ld alpha.ld s390.ld sparc.ld arm.ld m68k.ld \
62 vl.c i386-vl.ld vl.h block.c vlmkcow.c vga.c vga_template.h sdl.c \
63 thunk.c cpu-exec.c translate.c cpu-all.h cpu-defs.h thunk.h exec.h\
64 exec.c cpu-exec.c gdbstub.c bswap.h \
65 cpu-i386.h op-i386.c helper-i386.c helper2-i386.c syscall-i386.h translate-i386.c \
4690764 update
bellard authored
66 exec-i386.h ops_template.h ops_template_mem.h op_string.h opreg_template.h \
76bc683 updated
bellard authored
67 ops_mem.h softmmu_template.h softmmu_header.h \
de83cd0 arm emulation support
bellard authored
68 cpu-arm.h syscall-arm.h exec-arm.h op-arm.c translate-arm.c op-arm-template.h \
69 dis-asm.h disas.c disas.h alpha-dis.c ppc-dis.c i386-dis.c sparc-dis.c \
70 arm-dis.c \
71 tests/Makefile \
72 tests/test-i386.c tests/test-i386-shift.h tests/test-i386.h \
73 tests/test-i386-muldiv.h tests/test-i386-code16.S tests/test-i386-vm86.S \
322d0c6 update
bellard authored
74 tests/hello-i386.c tests/hello-i386 \
de83cd0 arm emulation support
bellard authored
75 tests/hello-arm.c tests/hello-arm \
76 tests/sha1.c \
3ef693a distribution patches
bellard authored
77 tests/testsig.c tests/testclone.c tests/testthread.c \
fd429f2 update
bellard authored
78 tests/runcom.c tests/pi_10.com \
1eb8725 update
bellard authored
79 tests/test_path.c \
3ef693a distribution patches
bellard authored
80 qemu-doc.texi qemu-doc.html
586314f better debug support
bellard authored
81
3ef693a distribution patches
bellard authored
82 FILE=qemu-$(VERSION)
586314f better debug support
bellard authored
83
84 tar:
85 rm -rf /tmp/$(FILE)
86 mkdir -p /tmp/$(FILE)
87 cp -P $(FILES) /tmp/$(FILE)
88 ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) )
89 rm -rf /tmp/$(FILE)
90
d691f66 glibc2.2 fixes - more command line options - misc doc fixes
bellard authored
91 # generate a binary distribution including the test binary environnment
92 BINPATH=/usr/local/qemu-i386
93
94 tarbin:
1eb8725 update
bellard authored
95 tar zcvf /tmp/qemu-$(VERSION)-i386-glibc21.tar.gz \
96 $(BINPATH)/etc $(BINPATH)/lib $(BINPATH)/bin $(BINPATH)/usr
97 tar zcvf /tmp/qemu-$(VERSION)-i386-wine.tar.gz \
98 $(BINPATH)/wine
d691f66 glibc2.2 fixes - more command line options - misc doc fixes
bellard authored
99
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
100 ifneq ($(wildcard .depend),)
101 include .depend
102 endif
Something went wrong with that request. Please try again.