Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 105 lines (89 sloc) 2.505 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
67b915a win32 port (initial patch by kazu)
bellard authored
4 ifdef CONFIG_WIN32
5 CFLAGS+=-fpack-struct
6 endif
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
7 LDFLAGS=-g
766a487 ppc build
bellard authored
8 LIBS=
0ecfa99 prints hello world
bellard authored
9 DEFINES+=-D_GNU_SOURCE
67b915a win32 port (initial patch by kazu)
bellard authored
10 ifndef CONFIG_WIN32
1e43adf new directory structure - changed naming of qemu and vl
bellard authored
11 TOOLS=qemu-mkcow
67b915a win32 port (initial patch by kazu)
bellard authored
12 endif
1f50f8d better install
bellard authored
13 ifdef CONFIG_STATIC
14 LDFLAGS+=-static
15 endif
aa05ae6 added exec.h
bellard authored
16
1f67313 doc update
bellard authored
17 all: dyngen$(EXESUF) $(TOOLS) qemu-doc.html qemu-tech.html qemu.1
626df76 build all targets at the same time
bellard authored
18 for d in $(TARGET_DIRS); do \
7d3505c bsd port (Markus Niemisto)
bellard authored
19 $(MAKE) -C $$d $@ || exit 1 ; \
626df76 build all targets at the same time
bellard authored
20 done
33e3963 added user mode Linux Copy On Write disk image support - added -snapshot...
bellard authored
21
11d9f69 win32 cross compile fix
bellard authored
22 qemu-mkcow: qemu-mkcow.c
1f50f8d better install
bellard authored
23 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ $(LIBS)
de83cd0 arm emulation support
bellard authored
24
11d9f69 win32 cross compile fix
bellard authored
25 dyngen$(EXESUF): dyngen.c
26 $(HOST_CC) $(CFLAGS) $(DEFINES) -o $@ $^
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
27
28 clean:
2d80ae8 avoid problems if make clean was not made before updating
bellard authored
29 # avoid old build problems by removing potentially incorrect old files
30 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
67b915a win32 port (initial patch by kazu)
bellard authored
31 rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS qemu.pod
7d3505c bsd port (Markus Niemisto)
bellard authored
32 $(MAKE) -C tests clean
626df76 build all targets at the same time
bellard authored
33 for d in $(TARGET_DIRS); do \
7d3505c bsd port (Markus Niemisto)
bellard authored
34 $(MAKE) -C $$d $@ || exit 1 ; \
626df76 build all targets at the same time
bellard authored
35 done
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
36
7d13299 added translation cache
bellard authored
37 distclean: clean
2d80ae8 avoid problems if make clean was not made before updating
bellard authored
38 rm -f config-host.mak config-host.h
76bc683 updated
bellard authored
39 for d in $(TARGET_DIRS); do \
bc1b050 fixed distclean target
bellard authored
40 rm -rf $$d || exit 1 ; \
76bc683 updated
bellard authored
41 done
7d13299 added translation cache
bellard authored
42
626df76 build all targets at the same time
bellard authored
43 install: all
11d9f69 win32 cross compile fix
bellard authored
44 mkdir -p "$(bindir)"
45 ifndef CONFIG_WIN32
46 install -m 755 -s $(TOOLS) "$(bindir)"
47 endif
7efa438 better packaging support
bellard authored
48 mkdir -p "$(datadir)"
a735aa3 added precompiled linux boot sector
bellard authored
49 install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
7efa438 better packaging support
bellard authored
50 pc-bios/linux_boot.bin "$(datadir)"
1f50f8d better install
bellard authored
51 mkdir -p "$(docdir)"
52 install -m 644 qemu-doc.html qemu-tech.html "$(docdir)"
11d9f69 win32 cross compile fix
bellard authored
53 ifndef CONFIG_WIN32
54 mkdir -p "$(mandir)/man1"
55 install qemu.1 qemu-mkcow.1 "$(mandir)/man1"
56 endif
626df76 build all targets at the same time
bellard authored
57 for d in $(TARGET_DIRS); do \
7d3505c bsd port (Markus Niemisto)
bellard authored
58 $(MAKE) -C $$d $@ || exit 1 ; \
626df76 build all targets at the same time
bellard authored
59 done
612384d added libgemu.a build
bellard authored
60
367e86e new x86 CPU core
bellard authored
61 # various test targets
82c7e2a update
bellard authored
62 test speed test2: all
7d3505c bsd port (Markus Niemisto)
bellard authored
63 $(MAKE) -C tests $@
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
64
367e86e new x86 CPU core
bellard authored
65 TAGS:
b9adb4a PowerPC disas code
bellard authored
66 etags *.[ch] tests/*.[ch]
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
67
3ef693a distribution patches
bellard authored
68 # documentation
1f67313 doc update
bellard authored
69 %.html: %.texi
3ef693a distribution patches
bellard authored
70 texi2html -monolithic -number $<
71
5a67135 automatic man page generation - BIOS installation
bellard authored
72 qemu.1: qemu-doc.texi
73 ./texi2pod.pl $< qemu.pod
74 pod2man --section=1 --center=" " --release=" " qemu.pod > $@
75
1e43adf new directory structure - changed naming of qemu and vl
bellard authored
76 FILE=qemu-$(shell cat VERSION)
586314f better debug support
bellard authored
77
1e43adf new directory structure - changed naming of qemu and vl
bellard authored
78 # tar release (use 'make -k tar' on a checkouted tree)
586314f better debug support
bellard authored
79 tar:
80 rm -rf /tmp/$(FILE)
1e43adf new directory structure - changed naming of qemu and vl
bellard authored
81 cp -r . /tmp/$(FILE)
76b62fd added binary archive
bellard authored
82 ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS )
586314f better debug support
bellard authored
83 rm -rf /tmp/$(FILE)
84
76b62fd added binary archive
bellard authored
85 # generate a binary distribution
d691f66 glibc2.2 fixes - more command line options - misc doc fixes
bellard authored
86 tarbin:
76b62fd added binary archive
bellard authored
87 ( cd / ; tar zcvf ~/qemu-$(VERSION)-i386.tar.gz \
7efa438 better packaging support
bellard authored
88 $(bindir)/qemu $(bindir)/qemu-fast \
89 $(bindir)/qemu-system-ppc \
90 $(bindir)/qemu-i386 \
91 $(bindir)/qemu-arm \
92 $(bindir)/qemu-sparc \
93 $(bindir)/qemu-ppc \
94 $(bindir)/qemu-mkcow \
95 $(datadir)/bios.bin \
96 $(datadir)/vgabios.bin \
97 $(datadir)/linux_boot.bin \
1f50f8d better install
bellard authored
98 $(docdir)/qemu-doc.html \
99 $(docdir)/qemu-tech.html \
100 $(mandir)/man1/qemu.1 $(mandir)/man1/qemu-mkcow.1 )
d691f66 glibc2.2 fixes - more command line options - misc doc fixes
bellard authored
101
31e31b8 This commit was generated by cvs2svn to compensate for changes in r2,
bellard authored
102 ifneq ($(wildcard .depend),)
103 include .depend
104 endif
Something went wrong with that request. Please try again.