root / Makefile @ 5824d651
History | View | Annotate | Download (9.5 kB)
1 | 0cb3fb1e | pbrook | # Makefile for QEMU. |
---|---|---|---|
2 | 0cb3fb1e | pbrook | |
3 | ad064840 | pbrook | include config-host.mak |
4 | 17759187 | aliguori | include $(SRC_PATH)/rules.mak |
5 | 766a487a | bellard | |
6 | 818220f5 | aliguori | .PHONY: all clean cscope distclean dvi html info install install-doc \ |
7 | 818220f5 | aliguori | recurse-all speed tar tarbin test |
8 | 0cb3fb1e | pbrook | |
9 | 8c462f8f | pbrook | VPATH=$(SRC_PATH):$(SRC_PATH)/hw |
10 | 8c462f8f | pbrook | |
11 | 17759187 | aliguori | |
12 | 40293e58 | bellard | CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS) |
13 | 40293e58 | bellard | LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS) |
14 | 3142255c | blueswir1 | |
15 | 96935aa4 | malc | CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@ |
16 | 4fb240a4 | bellard | CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
17 | 766a487a | bellard | LIBS= |
18 | 1f50f8d1 | bellard | ifdef CONFIG_STATIC |
19 | 40293e58 | bellard | LDFLAGS += -static |
20 | 1f50f8d1 | bellard | endif |
21 | cc8ae6de | pbrook | ifdef BUILD_DOCS |
22 | 7a5ca864 | bellard | DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 |
23 | cc8ae6de | pbrook | else |
24 | cc8ae6de | pbrook | DOCS= |
25 | cc8ae6de | pbrook | endif |
26 | aa05ae6f | bellard | |
27 | 70956b77 | ths | LIBS+=$(AIOLIBS) |
28 | 83f64091 | bellard | |
29 | 7e00eb9b | aliguori | ifdef CONFIG_SOLARIS |
30 | 7e00eb9b | aliguori | LIBS+=-lsocket -lnsl -lresolv |
31 | 7e00eb9b | aliguori | endif |
32 | 7e00eb9b | aliguori | |
33 | 03ff3ca3 | aliguori | ifdef CONFIG_WIN32 |
34 | 03ff3ca3 | aliguori | LIBS+=-lwinmm -lws2_32 -liphlpapi |
35 | 03ff3ca3 | aliguori | endif |
36 | 03ff3ca3 | aliguori | |
37 | 818220f5 | aliguori | all: $(TOOLS) $(DOCS) recurse-all |
38 | b9dea4fb | pbrook | |
39 | cec7d0b6 | pbrook | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) |
40 | cec7d0b6 | pbrook | |
41 | 86e840ee | aurel32 | subdir-%: |
42 | 28c699a2 | aliguori | $(call quiet-command,$(MAKE) -C $* V="$(V)" TARGET_DIR="$*/" all,) |
43 | 4aa42531 | pbrook | |
44 | cec7d0b6 | pbrook | $(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a |
45 | cec7d0b6 | pbrook | $(filter %-user,$(SUBDIR_RULES)): libqemu_user.a |
46 | cec7d0b6 | pbrook | |
47 | cec7d0b6 | pbrook | recurse-all: $(SUBDIR_RULES) |
48 | 83f64091 | bellard | |
49 | faf07963 | pbrook | ####################################################################### |
50 | faf07963 | pbrook | # BLOCK_OBJS is code used by both qemu system emulation and qemu-img |
51 | faf07963 | pbrook | |
52 | 17e2377a | pbrook | BLOCK_OBJS=cutils.o qemu-malloc.o |
53 | faf07963 | pbrook | BLOCK_OBJS+=block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o |
54 | faf07963 | pbrook | BLOCK_OBJS+=block-dmg.o block-bochs.o block-vpc.o block-vvfat.o |
55 | 03ff3ca3 | aliguori | BLOCK_OBJS+=block-qcow2.o block-parallels.o block-nbd.o |
56 | a76bab49 | aliguori | BLOCK_OBJS+=nbd.o block.o aio.o |
57 | 03ff3ca3 | aliguori | |
58 | 03ff3ca3 | aliguori | ifdef CONFIG_WIN32 |
59 | 03ff3ca3 | aliguori | BLOCK_OBJS += block-raw-win32.o |
60 | 03ff3ca3 | aliguori | else |
61 | 3c529d93 | aliguori | ifdef CONFIG_AIO |
62 | 3c529d93 | aliguori | BLOCK_OBJS += posix-aio-compat.o |
63 | 3c529d93 | aliguori | endif |
64 | 03ff3ca3 | aliguori | BLOCK_OBJS += block-raw-posix.o |
65 | 03ff3ca3 | aliguori | endif |
66 | 03ff3ca3 | aliguori | |
67 | 4fb240a4 | bellard | ###################################################################### |
68 | 2e2ea909 | bellard | # libqemu_common.a: Target independent part of system emulation. The |
69 | 4fb240a4 | bellard | # long term path is to suppress *all* target specific code in case of |
70 | 4fb240a4 | bellard | # system emulation, i.e. a single QEMU executable should support all |
71 | 4fb240a4 | bellard | # CPUs and machines. |
72 | 47cea614 | bellard | |
73 | cd01b4a3 | aliguori | OBJS=$(BLOCK_OBJS) |
74 | 87ecb68b | pbrook | OBJS+=readline.o console.o |
75 | cd01b4a3 | aliguori | |
76 | 87ecb68b | pbrook | OBJS+=irq.o |
77 | 87ecb68b | pbrook | OBJS+=i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o |
78 | 7e7c5e4c | balrog | OBJS+=ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o |
79 | 1d4e547b | balrog | OBJS+=tmp105.o lm832x.o |
80 | 87ecb68b | pbrook | OBJS+=scsi-disk.o cdrom.o |
81 | 985a03b0 | ths | OBJS+=scsi-generic.o |
82 | 68063649 | blueswir1 | OBJS+=usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o |
83 | 6c9f886c | balrog | OBJS+=usb-serial.o usb-net.o |
84 | 775616c3 | pbrook | OBJS+=sd.o ssi-sd.o |
85 | e6a6d5ab | balrog | OBJS+=bt.o bt-host.o bt-vhci.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o usb-bt.o |
86 | 559b90fb | aliguori | OBJS+=buffered_file.o migration.o migration-tcp.o net.o qemu-sockets.o |
87 | 902b3d5c | malc | OBJS+=qemu-char.o aio.o net-checksum.o savevm.o cache-utils.o |
88 | 87ecb68b | pbrook | |
89 | 2e4d9fb1 | aurel32 | ifdef CONFIG_BRLAPI |
90 | 2e4d9fb1 | aurel32 | OBJS+= baum.o |
91 | 2e4d9fb1 | aurel32 | LIBS+=-lbrlapi |
92 | 2e4d9fb1 | aurel32 | endif |
93 | 2e4d9fb1 | aurel32 | |
94 | 4fb240a4 | bellard | ifdef CONFIG_WIN32 |
95 | 4fb240a4 | bellard | OBJS+=tap-win32.o |
96 | 559b90fb | aliguori | else |
97 | 559b90fb | aliguori | OBJS+=migration-exec.o |
98 | 4fb240a4 | bellard | endif |
99 | 4fb240a4 | bellard | |
100 | 4fb240a4 | bellard | AUDIO_OBJS = audio.o noaudio.o wavaudio.o mixeng.o |
101 | 4fb240a4 | bellard | ifdef CONFIG_SDL |
102 | 4fb240a4 | bellard | AUDIO_OBJS += sdlaudio.o |
103 | 4fb240a4 | bellard | endif |
104 | 4fb240a4 | bellard | ifdef CONFIG_OSS |
105 | 4fb240a4 | bellard | AUDIO_OBJS += ossaudio.o |
106 | 4fb240a4 | bellard | endif |
107 | 4fb240a4 | bellard | ifdef CONFIG_COREAUDIO |
108 | 4fb240a4 | bellard | AUDIO_OBJS += coreaudio.o |
109 | ca9cc28c | balrog | AUDIO_PT = yes |
110 | 4fb240a4 | bellard | endif |
111 | 4fb240a4 | bellard | ifdef CONFIG_ALSA |
112 | 4fb240a4 | bellard | AUDIO_OBJS += alsaaudio.o |
113 | 4fb240a4 | bellard | endif |
114 | 4fb240a4 | bellard | ifdef CONFIG_DSOUND |
115 | 4fb240a4 | bellard | AUDIO_OBJS += dsoundaudio.o |
116 | 4fb240a4 | bellard | endif |
117 | 4fb240a4 | bellard | ifdef CONFIG_FMOD |
118 | 4fb240a4 | bellard | AUDIO_OBJS += fmodaudio.o |
119 | 4fb240a4 | bellard | audio/audio.o audio/fmodaudio.o: CPPFLAGS := -I$(CONFIG_FMOD_INC) $(CPPFLAGS) |
120 | 4fb240a4 | bellard | endif |
121 | ca9cc28c | balrog | ifdef CONFIG_ESD |
122 | ca9cc28c | balrog | AUDIO_PT = yes |
123 | ca9cc28c | balrog | AUDIO_PT_INT = yes |
124 | ca9cc28c | balrog | AUDIO_OBJS += esdaudio.o |
125 | ca9cc28c | balrog | endif |
126 | b8e59f18 | malc | ifdef CONFIG_PA |
127 | b8e59f18 | malc | AUDIO_PT = yes |
128 | b8e59f18 | malc | AUDIO_PT_INT = yes |
129 | b8e59f18 | malc | AUDIO_OBJS += paaudio.o |
130 | b8e59f18 | malc | endif |
131 | ca9cc28c | balrog | ifdef AUDIO_PT |
132 | ca9cc28c | balrog | LDFLAGS += -pthread |
133 | ca9cc28c | balrog | endif |
134 | ca9cc28c | balrog | ifdef AUDIO_PT_INT |
135 | ca9cc28c | balrog | AUDIO_OBJS += audio_pt_int.o |
136 | ca9cc28c | balrog | endif |
137 | 4fb240a4 | bellard | AUDIO_OBJS+= wavcapture.o |
138 | 4fb240a4 | bellard | OBJS+=$(addprefix audio/, $(AUDIO_OBJS)) |
139 | 4fb240a4 | bellard | |
140 | 0483755a | aliguori | OBJS+=keymaps.o |
141 | 4fb240a4 | bellard | ifdef CONFIG_SDL |
142 | 4fb240a4 | bellard | OBJS+=sdl.o x_keymap.o |
143 | 4fb240a4 | bellard | endif |
144 | 4d3b6f6e | balrog | ifdef CONFIG_CURSES |
145 | 4d3b6f6e | balrog | OBJS+=curses.o |
146 | 4d3b6f6e | balrog | endif |
147 | 76655d6d | aliguori | OBJS+=vnc.o acl.o d3des.o |
148 | 5fb6c7a8 | aliguori | ifdef CONFIG_VNC_TLS |
149 | 5fb6c7a8 | aliguori | OBJS+=vnc-tls.o vnc-auth-vencrypt.o |
150 | 5fb6c7a8 | aliguori | endif |
151 | 2f9606b3 | aliguori | ifdef CONFIG_VNC_SASL |
152 | 2f9606b3 | aliguori | OBJS+=vnc-auth-sasl.o |
153 | 2f9606b3 | aliguori | endif |
154 | 4fb240a4 | bellard | |
155 | 4fb240a4 | bellard | ifdef CONFIG_COCOA |
156 | 4fb240a4 | bellard | OBJS+=cocoa.o |
157 | 4fb240a4 | bellard | endif |
158 | 4fb240a4 | bellard | |
159 | 4fb240a4 | bellard | ifdef CONFIG_SLIRP |
160 | 4fb240a4 | bellard | CPPFLAGS+=-I$(SRC_PATH)/slirp |
161 | 4fb240a4 | bellard | SLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \ |
162 | 4fb240a4 | bellard | slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \ |
163 | 4fb240a4 | bellard | tcp_subr.o tcp_timer.o udp.o bootp.o debug.o tftp.o |
164 | 4fb240a4 | bellard | OBJS+=$(addprefix slirp/, $(SLIRP_OBJS)) |
165 | 4fb240a4 | bellard | endif |
166 | 4fb240a4 | bellard | |
167 | 8a16d273 | ths | LIBS+=$(VDE_LIBS) |
168 | 8a16d273 | ths | |
169 | 4fb240a4 | bellard | cocoa.o: cocoa.m |
170 | 4fb240a4 | bellard | |
171 | 0483755a | aliguori | keymaps.o: keymaps.c keymaps.h |
172 | 0483755a | aliguori | |
173 | 0483755a | aliguori | sdl.o: sdl.c keymaps.h sdl_keysym.h |
174 | 807544e2 | aliguori | |
175 | 807544e2 | aliguori | sdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS) |
176 | 4fb240a4 | bellard | |
177 | 76655d6d | aliguori | acl.o: acl.h acl.c |
178 | 76655d6d | aliguori | |
179 | 2f9606b3 | aliguori | vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h |
180 | 5fb6c7a8 | aliguori | |
181 | 76655d6d | aliguori | vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h |
182 | 4fb240a4 | bellard | |
183 | 807544e2 | aliguori | vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) |
184 | 4d3b6f6e | balrog | |
185 | 5fb6c7a8 | aliguori | vnc-tls.o: vnc-tls.c vnc.h |
186 | 5fb6c7a8 | aliguori | |
187 | 5fb6c7a8 | aliguori | vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h |
188 | 5fb6c7a8 | aliguori | |
189 | 2f9606b3 | aliguori | vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h |
190 | 2f9606b3 | aliguori | |
191 | 0483755a | aliguori | curses.o: curses.c keymaps.h curses_keys.h |
192 | fb599c9a | balrog | |
193 | 807544e2 | aliguori | bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS) |
194 | 4fb240a4 | bellard | |
195 | 4fb240a4 | bellard | libqemu_common.a: $(OBJS) |
196 | 4fb240a4 | bellard | |
197 | cec7d0b6 | pbrook | ####################################################################### |
198 | cec7d0b6 | pbrook | # USER_OBJS is code used by qemu userspace emulation |
199 | 902b3d5c | malc | USER_OBJS=cutils.o cache-utils.o |
200 | cec7d0b6 | pbrook | |
201 | cec7d0b6 | pbrook | libqemu_user.a: $(USER_OBJS) |
202 | cec7d0b6 | pbrook | |
203 | 4fb240a4 | bellard | ###################################################################### |
204 | 4fb240a4 | bellard | |
205 | 03ff3ca3 | aliguori | qemu-img$(EXESUF): qemu-img.o qemu-tool.o osdep.o $(BLOCK_OBJS) |
206 | 4fb240a4 | bellard | |
207 | 03ff3ca3 | aliguori | qemu-nbd$(EXESUF): qemu-nbd.o qemu-tool.o osdep.o $(BLOCK_OBJS) |
208 | 3aa892d7 | aliguori | |
209 | 3aa892d7 | aliguori | qemu-img$(EXESUF) qemu-nbd$(EXESUF): LIBS += -lz |
210 | 7a5ca864 | bellard | |
211 | 31e31b8a | bellard | clean: |
212 | 2d80ae89 | bellard | # avoid old build problems by removing potentially incorrect old files |
213 | 5fafdf24 | ths | 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 |
214 | 86e840ee | aurel32 | rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~ |
215 | 4fb240a4 | bellard | rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d |
216 | 7d3505c5 | bellard | $(MAKE) -C tests clean |
217 | 626df76a | bellard | for d in $(TARGET_DIRS); do \ |
218 | 7d3505c5 | bellard | $(MAKE) -C $$d $@ || exit 1 ; \ |
219 | 626df76a | bellard | done |
220 | 31e31b8a | bellard | |
221 | 7d13299d | bellard | distclean: clean |
222 | cc8ae6de | pbrook | rm -f config-host.mak config-host.h $(DOCS) |
223 | 0cb3fb1e | pbrook | rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr} |
224 | 76bc6838 | bellard | for d in $(TARGET_DIRS); do \ |
225 | bc1b050d | bellard | rm -rf $$d || exit 1 ; \ |
226 | 76bc6838 | bellard | done |
227 | 7d13299d | bellard | |
228 | fed4a9ad | bellard | KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ |
229 | fed4a9ad | bellard | ar de en-us fi fr-be hr it lv nl pl ru th \ |
230 | fed4a9ad | bellard | common de-ch es fo fr-ca hu ja mk nl-be pt sl tr |
231 | fed4a9ad | bellard | |
232 | 77755340 | ths | ifdef INSTALL_BLOBS |
233 | 77755340 | ths | BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ |
234 | e5d01b06 | aurel32 | video.x openbios-sparc32 openbios-sparc64 openbios-ppc \ |
235 | e5d01b06 | aurel32 | pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \ |
236 | e5d01b06 | aurel32 | bamboo.dtb |
237 | 77755340 | ths | else |
238 | 77755340 | ths | BLOBS= |
239 | 77755340 | ths | endif |
240 | 77755340 | ths | |
241 | 38954dca | pbrook | install-doc: $(DOCS) |
242 | 38954dca | pbrook | mkdir -p "$(DESTDIR)$(docdir)" |
243 | 38954dca | pbrook | $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" |
244 | 38954dca | pbrook | ifndef CONFIG_WIN32 |
245 | 38954dca | pbrook | mkdir -p "$(DESTDIR)$(mandir)/man1" |
246 | 6473e68f | aliguori | $(INSTALL) -m 644 qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" |
247 | 7a5ca864 | bellard | mkdir -p "$(DESTDIR)$(mandir)/man8" |
248 | 6473e68f | aliguori | $(INSTALL) -m 644 qemu-nbd.8 "$(DESTDIR)$(mandir)/man8" |
249 | 38954dca | pbrook | endif |
250 | 38954dca | pbrook | |
251 | 38954dca | pbrook | install: all $(if $(BUILD_DOCS),install-doc) |
252 | 1236cab7 | pbrook | mkdir -p "$(DESTDIR)$(bindir)" |
253 | 932a79df | ths | ifneq ($(TOOLS),) |
254 | 6a882643 | pbrook | $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" |
255 | 932a79df | ths | endif |
256 | 77755340 | ths | ifneq ($(BLOBS),) |
257 | 1236cab7 | pbrook | mkdir -p "$(DESTDIR)$(datadir)" |
258 | 77755340 | ths | set -e; for x in $(BLOBS); do \ |
259 | 6a882643 | pbrook | $(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \ |
260 | ad064840 | pbrook | done |
261 | 77755340 | ths | endif |
262 | 11d9f695 | bellard | ifndef CONFIG_WIN32 |
263 | 1236cab7 | pbrook | mkdir -p "$(DESTDIR)$(datadir)/keymaps" |
264 | 18be8d77 | blueswir1 | set -e; for x in $(KEYMAPS); do \ |
265 | 6a882643 | pbrook | $(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \ |
266 | ad064840 | pbrook | done |
267 | 11d9f695 | bellard | endif |
268 | 626df76a | bellard | for d in $(TARGET_DIRS); do \ |
269 | 7d3505c5 | bellard | $(MAKE) -C $$d $@ || exit 1 ; \ |
270 | 626df76a | bellard | done |
271 | 612384d7 | bellard | |
272 | 367e86e8 | bellard | # various test targets |
273 | 9b0b8203 | bellard | test speed: all |
274 | 7d3505c5 | bellard | $(MAKE) -C tests $@ |
275 | 31e31b8a | bellard | |
276 | 5fafdf24 | ths | TAGS: |
277 | b9adb4a6 | bellard | etags *.[ch] tests/*.[ch] |
278 | 31e31b8a | bellard | |
279 | 6688bc6d | bellard | cscope: |
280 | 6688bc6d | bellard | rm -f ./cscope.* |
281 | ede46085 | aurel32 | find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files |
282 | 6688bc6d | bellard | cscope -b |
283 | 6688bc6d | bellard | |
284 | 3ef693a0 | bellard | # documentation |
285 | 1f673135 | bellard | %.html: %.texi |
286 | 5824d651 | blueswir1 | texi2html -I=. -monolithic -number $< |
287 | 3ef693a0 | bellard | |
288 | f3548328 | bellard | %.info: %.texi |
289 | 5824d651 | blueswir1 | makeinfo -I . $< -o $@ |
290 | f3548328 | bellard | |
291 | f3548328 | bellard | %.dvi: %.texi |
292 | 5824d651 | blueswir1 | texi2dvi -I . $< |
293 | 5824d651 | blueswir1 | |
294 | 5824d651 | blueswir1 | qemu-options.texi: $(SRC_PATH)/qemu-options.hx |
295 | 5824d651 | blueswir1 | sh ./hxtool -t < $< > $@ |
296 | f3548328 | bellard | |
297 | 5a67135a | bellard | qemu.1: qemu-doc.texi |
298 | 72fcd388 | blueswir1 | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod |
299 | 5a67135a | bellard | pod2man --section=1 --center=" " --release=" " qemu.pod > $@ |
300 | 5a67135a | bellard | |
301 | acd935ef | bellard | qemu-img.1: qemu-img.texi |
302 | 72fcd388 | blueswir1 | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod |
303 | acd935ef | bellard | pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@ |
304 | acd935ef | bellard | |
305 | 7a5ca864 | bellard | qemu-nbd.8: qemu-nbd.texi |
306 | 72fcd388 | blueswir1 | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod |
307 | 7a5ca864 | bellard | pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@ |
308 | 7a5ca864 | bellard | |
309 | 0cb3fb1e | pbrook | info: qemu-doc.info qemu-tech.info |
310 | 0cb3fb1e | pbrook | |
311 | 0cb3fb1e | pbrook | dvi: qemu-doc.dvi qemu-tech.dvi |
312 | 0cb3fb1e | pbrook | |
313 | 0cb3fb1e | pbrook | html: qemu-doc.html qemu-tech.html |
314 | 0cb3fb1e | pbrook | |
315 | 5824d651 | blueswir1 | qemu-doc.dvi qemu-doc.html qemu-doc.info: qemu-img.texi qemu-nbd.texi qemu-options.texi |
316 | 818220f5 | aliguori | |
317 | df5cf721 | ths | VERSION ?= $(shell cat VERSION) |
318 | df5cf721 | ths | FILE = qemu-$(VERSION) |
319 | 586314f2 | bellard | |
320 | 1e43adfc | bellard | # tar release (use 'make -k tar' on a checkouted tree) |
321 | 586314f2 | bellard | tar: |
322 | 586314f2 | bellard | rm -rf /tmp/$(FILE) |
323 | 1e43adfc | bellard | cp -r . /tmp/$(FILE) |
324 | 99c6c082 | aurel32 | cd /tmp && tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS --exclude .git --exclude .svn |
325 | 586314f2 | bellard | rm -rf /tmp/$(FILE) |
326 | 586314f2 | bellard | |
327 | 76b62fd0 | bellard | # generate a binary distribution |
328 | d691f669 | bellard | tarbin: |
329 | 18be8d77 | blueswir1 | cd / && tar zcvf ~/qemu-$(VERSION)-$(ARCH).tar.gz \ |
330 | 43095f31 | bellard | $(bindir)/qemu \ |
331 | 43095f31 | bellard | $(bindir)/qemu-system-x86_64 \ |
332 | 40e8a53b | aurel32 | $(bindir)/qemu-system-arm \ |
333 | 40e8a53b | aurel32 | $(bindir)/qemu-system-cris \ |
334 | 40e8a53b | aurel32 | $(bindir)/qemu-system-m68k \ |
335 | 93856aac | bellard | $(bindir)/qemu-system-mips \ |
336 | 38260998 | pbrook | $(bindir)/qemu-system-mipsel \ |
337 | fbe4f65b | ths | $(bindir)/qemu-system-mips64 \ |
338 | fbe4f65b | ths | $(bindir)/qemu-system-mips64el \ |
339 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppc \ |
340 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppcemb \ |
341 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppc64 \ |
342 | ff1aaf65 | ths | $(bindir)/qemu-system-sh4 \ |
343 | 85ffbdfc | ths | $(bindir)/qemu-system-sh4eb \ |
344 | 40e8a53b | aurel32 | $(bindir)/qemu-system-sparc \ |
345 | 7efa4387 | bellard | $(bindir)/qemu-i386 \ |
346 | f0403c03 | bellard | $(bindir)/qemu-x86_64 \ |
347 | 40e8a53b | aurel32 | $(bindir)/qemu-alpha \ |
348 | 40e8a53b | aurel32 | $(bindir)/qemu-arm \ |
349 | 40e8a53b | aurel32 | $(bindir)/qemu-armeb \ |
350 | 40e8a53b | aurel32 | $(bindir)/qemu-cris \ |
351 | 40e8a53b | aurel32 | $(bindir)/qemu-m68k \ |
352 | 40e8a53b | aurel32 | $(bindir)/qemu-mips \ |
353 | 40e8a53b | aurel32 | $(bindir)/qemu-mipsel \ |
354 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc \ |
355 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc64 \ |
356 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc64abi32 \ |
357 | 40e8a53b | aurel32 | $(bindir)/qemu-sh4 \ |
358 | 40e8a53b | aurel32 | $(bindir)/qemu-sh4eb \ |
359 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc \ |
360 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc64 \ |
361 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc32plus \ |
362 | 40e8a53b | aurel32 | $(bindir)/qemu-img \ |
363 | 40e8a53b | aurel32 | $(bindir)/qemu-nbd \ |
364 | 7efa4387 | bellard | $(datadir)/bios.bin \ |
365 | 7efa4387 | bellard | $(datadir)/vgabios.bin \ |
366 | de9258a8 | bellard | $(datadir)/vgabios-cirrus.bin \ |
367 | 637f6cd7 | bellard | $(datadir)/ppc_rom.bin \ |
368 | d5295253 | bellard | $(datadir)/video.x \ |
369 | 0986ac3b | bellard | $(datadir)/openbios-sparc32 \ |
370 | 938255d2 | blueswir1 | $(datadir)/openbios-sparc64 \ |
371 | e5d01b06 | aurel32 | $(datadir)/openbios-ppc \ |
372 | 40e8a53b | aurel32 | $(datadir)/pxe-ne2k_pci.bin \ |
373 | 19c80e50 | bellard | $(datadir)/pxe-rtl8139.bin \ |
374 | 40e8a53b | aurel32 | $(datadir)/pxe-pcnet.bin \ |
375 | 2991990b | aliguori | $(datadir)/pxe-e1000.bin \ |
376 | 1f50f8d1 | bellard | $(docdir)/qemu-doc.html \ |
377 | 1f50f8d1 | bellard | $(docdir)/qemu-tech.html \ |
378 | 40e8a53b | aurel32 | $(mandir)/man1/qemu.1 \ |
379 | 40e8a53b | aurel32 | $(mandir)/man1/qemu-img.1 \ |
380 | 7a5ca864 | bellard | $(mandir)/man8/qemu-nbd.8 |
381 | d691f669 | bellard | |
382 | 4fb240a4 | bellard | # Include automatically generated dependency files |
383 | 4fb240a4 | bellard | -include $(wildcard *.d audio/*.d slirp/*.d) |