root / Makefile @ 012f0879
History | View | Annotate | Download (10 kB)
1 | 0cb3fb1e | pbrook | # Makefile for QEMU. |
---|---|---|---|
2 | 0cb3fb1e | pbrook | |
3 | a992fe3d | Paul Brook | GENERATED_HEADERS = config-host.h |
4 | f527c579 | Juan Quintela | |
5 | 55d7e8f6 | aurel32 | ifneq ($(wildcard config-host.mak),) |
6 | 1ad2134f | Paul Brook | # Put the all: rule here so that config-host.mak can contain dependencies. |
7 | 1ad2134f | Paul Brook | all: build-all |
8 | ad064840 | pbrook | include config-host.mak |
9 | 17759187 | aliguori | include $(SRC_PATH)/rules.mak |
10 | e5efe7f5 | Juan Quintela | config-host.mak: configure |
11 | e5efe7f5 | Juan Quintela | @echo $@ is out-of-date, running configure |
12 | e5efe7f5 | Juan Quintela | @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh |
13 | 55d7e8f6 | aurel32 | else |
14 | 55d7e8f6 | aurel32 | config-host.mak: |
15 | 55d7e8f6 | aurel32 | @echo "Please call configure before running make!" |
16 | 55d7e8f6 | aurel32 | @exit 1 |
17 | 55d7e8f6 | aurel32 | endif |
18 | 766a487a | bellard | |
19 | d9ace8b3 | Juan Quintela | # Don't try to regenerate Makefile or configure |
20 | d9ace8b3 | Juan Quintela | # We don't generate any of them |
21 | d9ace8b3 | Juan Quintela | Makefile: ; |
22 | d9ace8b3 | Juan Quintela | configure: ; |
23 | d9ace8b3 | Juan Quintela | |
24 | 818220f5 | aliguori | .PHONY: all clean cscope distclean dvi html info install install-doc \ |
25 | 9c927650 | Juan Quintela | recurse-all speed tar tarbin test build-all |
26 | 0cb3fb1e | pbrook | |
27 | 076d2471 | Paolo Bonzini | $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw) |
28 | 8c462f8f | pbrook | |
29 | 3e2e0e6b | Juan Quintela | LIBS+=-lz $(LIBS_TOOLS) |
30 | 67c0f08d | Juan Quintela | |
31 | cc8ae6de | pbrook | ifdef BUILD_DOCS |
32 | 7a5ca864 | bellard | DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 |
33 | cc8ae6de | pbrook | else |
34 | cc8ae6de | pbrook | DOCS= |
35 | cc8ae6de | pbrook | endif |
36 | aa05ae6f | bellard | |
37 | 1215c6e7 | Juan Quintela | SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory) |
38 | 1f3d3c8f | Juan Quintela | SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) |
39 | 1f3d3c8f | Juan Quintela | |
40 | 1f3d3c8f | Juan Quintela | config-all-devices.mak: $(SUBDIR_DEVICES_MAK) |
41 | 01d86a85 | Stefan Weil | $(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep =y | sort -u > $@," GEN $@") |
42 | 1f3d3c8f | Juan Quintela | |
43 | a992fe3d | Paul Brook | %/config-devices.mak: default-configs/%.mak |
44 | a992fe3d | Paul Brook | $(call quiet-command,cat $< > $@.tmp, " GEN $@") |
45 | 012f0879 | Stefan Weil | @if test -f $@; then \ |
46 | 012f0879 | Stefan Weil | if cmp -s $@.old $@ || cmp -s $@ $@.tmp; then \ |
47 | 012f0879 | Stefan Weil | mv $@.tmp $@; \ |
48 | 012f0879 | Stefan Weil | cp -p $@ $@.old; \ |
49 | 012f0879 | Stefan Weil | else \ |
50 | 012f0879 | Stefan Weil | if test -f $@.old; then \ |
51 | 012f0879 | Stefan Weil | echo "WARNING: $@ (user modified) out of date.";\ |
52 | 012f0879 | Stefan Weil | else \ |
53 | 012f0879 | Stefan Weil | echo "WARNING: $@ out of date.";\ |
54 | 012f0879 | Stefan Weil | fi; \ |
55 | 012f0879 | Stefan Weil | echo "Run \"make defconfig\" to regenerate."; \ |
56 | 012f0879 | Stefan Weil | rm $@.tmp; \ |
57 | 012f0879 | Stefan Weil | fi; \ |
58 | a992fe3d | Paul Brook | else \ |
59 | 012f0879 | Stefan Weil | mv $@.tmp $@; \ |
60 | 012f0879 | Stefan Weil | cp -p $@ $@.old; \ |
61 | a992fe3d | Paul Brook | fi |
62 | a992fe3d | Paul Brook | |
63 | a992fe3d | Paul Brook | defconfig: |
64 | a992fe3d | Paul Brook | rm -f config-all-devices.mak $(SUBDIR_DEVICES_MAK) |
65 | a992fe3d | Paul Brook | |
66 | 1f3d3c8f | Juan Quintela | -include config-all-devices.mak |
67 | 1215c6e7 | Juan Quintela | |
68 | f527c579 | Juan Quintela | build-all: $(DOCS) $(TOOLS) recurse-all |
69 | b9dea4fb | pbrook | |
70 | 1215c6e7 | Juan Quintela | config-host.h: config-host.h-timestamp |
71 | 1215c6e7 | Juan Quintela | config-host.h-timestamp: config-host.mak |
72 | 1215c6e7 | Juan Quintela | |
73 | cec7d0b6 | pbrook | SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) |
74 | cec7d0b6 | pbrook | |
75 | f527c579 | Juan Quintela | subdir-%: $(GENERATED_HEADERS) |
76 | 0087375e | Paul Brook | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,) |
77 | 4aa42531 | pbrook | |
78 | 0e8c9214 | Andreas Färber | include $(SRC_PATH)/Makefile.objs |
79 | 0e8c9214 | Andreas Färber | |
80 | 0e8c9214 | Andreas Färber | $(common-obj-y): $(GENERATED_HEADERS) |
81 | 0e8c9214 | Andreas Färber | $(filter %-softmmu,$(SUBDIR_RULES)): $(common-obj-y) |
82 | c05ac895 | Paul Brook | |
83 | add16157 | Blue Swirl | $(filter %-user,$(SUBDIR_RULES)): libuser.a |
84 | add16157 | Blue Swirl | |
85 | c1bb0dce | Juergen Lock | libuser.a: $(GENERATED_HEADERS) |
86 | 6a8a2803 | Blue Swirl | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libuser V="$(V)" TARGET_DIR="libuser/" all,) |
87 | add16157 | Blue Swirl | |
88 | c05ac895 | Paul Brook | ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS)) |
89 | c05ac895 | Paul Brook | romsubdir-%: |
90 | c05ac895 | Paul Brook | $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pc-bios/$* V="$(V)" TARGET_DIR="$*/",) |
91 | c05ac895 | Paul Brook | |
92 | c05ac895 | Paul Brook | ALL_SUBDIRS=$(TARGET_DIRS) $(patsubst %,pc-bios/%, $(ROMS)) |
93 | c05ac895 | Paul Brook | |
94 | c05ac895 | Paul Brook | recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) |
95 | 83f64091 | bellard | |
96 | 98b068a9 | Juan Quintela | audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS) |
97 | 0e22fd2f | Juan Quintela | |
98 | a558ee17 | Juan Quintela | QEMU_CFLAGS+=$(CURL_CFLAGS) |
99 | 769ce76d | Alexander Graf | |
100 | 4fb240a4 | bellard | cocoa.o: cocoa.m |
101 | 4fb240a4 | bellard | |
102 | 0483755a | aliguori | keymaps.o: keymaps.c keymaps.h |
103 | 0483755a | aliguori | |
104 | c18a2c36 | Stefano Stabellini | sdl_zoom.o: sdl_zoom.c sdl_zoom.h sdl_zoom_template.h |
105 | c18a2c36 | Stefano Stabellini | |
106 | c18a2c36 | Stefano Stabellini | sdl.o: sdl.c keymaps.h sdl_keysym.h sdl_zoom.h |
107 | 807544e2 | aliguori | |
108 | a558ee17 | Juan Quintela | sdl.o audio/sdlaudio.o sdl_zoom.o baum.o: QEMU_CFLAGS += $(SDL_CFLAGS) |
109 | 4fb240a4 | bellard | |
110 | 76655d6d | aliguori | acl.o: acl.h acl.c |
111 | 76655d6d | aliguori | |
112 | 2f9606b3 | aliguori | vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h |
113 | 5fb6c7a8 | aliguori | |
114 | 76655d6d | aliguori | vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h |
115 | 4fb240a4 | bellard | |
116 | a558ee17 | Juan Quintela | vnc.o: QEMU_CFLAGS += $(VNC_TLS_CFLAGS) |
117 | 4d3b6f6e | balrog | |
118 | 5fb6c7a8 | aliguori | vnc-tls.o: vnc-tls.c vnc.h |
119 | 5fb6c7a8 | aliguori | |
120 | 5fb6c7a8 | aliguori | vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h |
121 | 5fb6c7a8 | aliguori | |
122 | 2f9606b3 | aliguori | vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h |
123 | 2f9606b3 | aliguori | |
124 | 0483755a | aliguori | curses.o: curses.c keymaps.h curses_keys.h |
125 | fb599c9a | balrog | |
126 | a558ee17 | Juan Quintela | bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS) |
127 | 4fb240a4 | bellard | |
128 | 4fb240a4 | bellard | ###################################################################### |
129 | 4fb240a4 | bellard | |
130 | a73e8e43 | Stefan Weil | qemu-img.o: qemu-img-cmds.h |
131 | 153859be | Stuart Brady | |
132 | 0e8c9214 | Andreas Färber | obj-y = qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y) |
133 | 0e8c9214 | Andreas Färber | |
134 | 0e8c9214 | Andreas Färber | qemu-img$(EXESUF): $(obj-y) |
135 | 0e8c9214 | Andreas Färber | |
136 | 0e8c9214 | Andreas Färber | obj-y = qemu-nbd.o qemu-tool.o $(block-obj-y) $(qobject-obj-y) |
137 | 0e8c9214 | Andreas Färber | $(obj-y): $(GENERATED_HEADERS) |
138 | 0e8c9214 | Andreas Färber | |
139 | 0e8c9214 | Andreas Färber | qemu-nbd$(EXESUF): $(obj-y) |
140 | 4fb240a4 | bellard | |
141 | 0e8c9214 | Andreas Färber | obj-y = qemu-io.o qemu-tool.o cmd.o $(block-obj-y) $(qobject-obj-y) |
142 | 0e8c9214 | Andreas Färber | $(obj-y): $(GENERATED_HEADERS) |
143 | 3aa892d7 | aliguori | |
144 | 0e8c9214 | Andreas Färber | qemu-io$(EXESUF): $(obj-y) |
145 | 0a8e1acd | aliguori | |
146 | 153859be | Stuart Brady | qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx |
147 | 153859be | Stuart Brady | $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $@") |
148 | 153859be | Stuart Brady | |
149 | 33837ba6 | Luiz Capitulino | check-qint: check-qint.o qint.o qemu-malloc.o |
150 | 5de65a07 | Luiz Capitulino | check-qstring: check-qstring.o qstring.o qemu-malloc.o |
151 | f2e17508 | Luiz Capitulino | check-qdict: check-qdict.o qdict.o qint.o qstring.o qbool.o qemu-malloc.o qlist.o |
152 | 3aa3dcff | Luiz Capitulino | check-qlist: check-qlist.o qlist.o qint.o qemu-malloc.o |
153 | 9c9efb6b | Anthony Liguori | check-qfloat: check-qfloat.o qfloat.o qemu-malloc.o |
154 | 422c46a8 | Anthony Liguori | check-qjson: check-qjson.o qfloat.o qint.o qdict.o qstring.o qlist.o qbool.o qjson.o json-streamer.o json-lexer.o json-parser.o qemu-malloc.o |
155 | 33837ba6 | Luiz Capitulino | |
156 | 31e31b8a | bellard | clean: |
157 | 2d80ae89 | bellard | # avoid old build problems by removing potentially incorrect old files |
158 | 25be210f | Juan Quintela | rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h |
159 | 86e840ee | aurel32 | rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~ |
160 | e1144d00 | Mark McLoughlin | rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d block/*.o block/*.d net/*.o net/*.d |
161 | 07b44ce9 | Blue Swirl | rm -f qemu-img-cmds.h |
162 | 7d3505c5 | bellard | $(MAKE) -C tests clean |
163 | add16157 | Blue Swirl | for d in $(ALL_SUBDIRS) libhw32 libhw64 libuser; do \ |
164 | fc8e320e | Magnus Damm | if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \ |
165 | 626df76a | bellard | done |
166 | 31e31b8a | bellard | |
167 | 7d13299d | bellard | distclean: clean |
168 | fc8e320e | Magnus Damm | rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi |
169 | a992fe3d | Paul Brook | rm -f config-all-devices.mak |
170 | fc8e320e | Magnus Damm | rm -f roms/seabios/config.mak roms/vgabios/config.mak |
171 | 0cb3fb1e | pbrook | rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr} |
172 | add16157 | Blue Swirl | for d in $(TARGET_DIRS) libhw32 libhw64 libuser; do \ |
173 | bc1b050d | bellard | rm -rf $$d || exit 1 ; \ |
174 | 76bc6838 | bellard | done |
175 | 7d13299d | bellard | |
176 | fed4a9ad | bellard | KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ |
177 | fed4a9ad | bellard | ar de en-us fi fr-be hr it lv nl pl ru th \ |
178 | fed4a9ad | bellard | common de-ch es fo fr-ca hu ja mk nl-be pt sl tr |
179 | fed4a9ad | bellard | |
180 | 77755340 | ths | ifdef INSTALL_BLOBS |
181 | 77755340 | ths | BLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ |
182 | e5d01b06 | aurel32 | video.x openbios-sparc32 openbios-sparc64 openbios-ppc \ |
183 | 88e2b0a5 | Stefan Weil | pxe-e1000.bin pxe-i82559er.bin \ |
184 | 88e2b0a5 | Stefan Weil | pxe-ne2k_pci.bin pxe-pcnet.bin \ |
185 | 88e2b0a5 | Stefan Weil | pxe-rtl8139.bin pxe-virtio.bin \ |
186 | 253d0942 | Alexander Graf | bamboo.dtb petalogix-s3adsp1800.dtb \ |
187 | cfc6d90a | Alexander Graf | multiboot.bin linuxboot.bin |
188 | 77755340 | ths | else |
189 | 77755340 | ths | BLOBS= |
190 | 77755340 | ths | endif |
191 | 77755340 | ths | |
192 | 38954dca | pbrook | install-doc: $(DOCS) |
193 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(docdir)" |
194 | 58f8aead | aliguori | $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" |
195 | 96d409eb | Juan Quintela | ifdef CONFIG_POSIX |
196 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" |
197 | 58f8aead | aliguori | $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" |
198 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8" |
199 | 58f8aead | aliguori | $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8" |
200 | 38954dca | pbrook | endif |
201 | 38954dca | pbrook | |
202 | 38954dca | pbrook | install: all $(if $(BUILD_DOCS),install-doc) |
203 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(bindir)" |
204 | 932a79df | ths | ifneq ($(TOOLS),) |
205 | 58f8aead | aliguori | $(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)" |
206 | 932a79df | ths | endif |
207 | 77755340 | ths | ifneq ($(BLOBS),) |
208 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(datadir)" |
209 | 77755340 | ths | set -e; for x in $(BLOBS); do \ |
210 | 58f8aead | aliguori | $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \ |
211 | ad064840 | pbrook | done |
212 | 77755340 | ths | endif |
213 | 58f8aead | aliguori | $(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps" |
214 | 18be8d77 | blueswir1 | set -e; for x in $(KEYMAPS); do \ |
215 | 79fd42aa | Anthony Liguori | $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \ |
216 | ad064840 | pbrook | done |
217 | 626df76a | bellard | for d in $(TARGET_DIRS); do \ |
218 | 7d3505c5 | bellard | $(MAKE) -C $$d $@ || exit 1 ; \ |
219 | 626df76a | bellard | done |
220 | 612384d7 | bellard | |
221 | 367e86e8 | bellard | # various test targets |
222 | 9b0b8203 | bellard | test speed: all |
223 | 7d3505c5 | bellard | $(MAKE) -C tests $@ |
224 | 31e31b8a | bellard | |
225 | 21d4e8e3 | Alexandre Bique | .PHONY: TAGS |
226 | 5fafdf24 | ths | TAGS: |
227 | 21d4e8e3 | Alexandre Bique | find "$(SRC_PATH)" -name '*.[hc]' -print0 | xargs -0 etags |
228 | 31e31b8a | bellard | |
229 | 6688bc6d | bellard | cscope: |
230 | 6688bc6d | bellard | rm -f ./cscope.* |
231 | ede46085 | aurel32 | find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files |
232 | 6688bc6d | bellard | cscope -b |
233 | 6688bc6d | bellard | |
234 | 3ef693a0 | bellard | # documentation |
235 | 1f673135 | bellard | %.html: %.texi |
236 | 0d00e563 | aliguori | $(call quiet-command,texi2html -I=. -monolithic -number $<," GEN $@") |
237 | 3ef693a0 | bellard | |
238 | f3548328 | bellard | %.info: %.texi |
239 | 0d00e563 | aliguori | $(call quiet-command,makeinfo -I . $< -o $@," GEN $@") |
240 | f3548328 | bellard | |
241 | f3548328 | bellard | %.dvi: %.texi |
242 | 0d00e563 | aliguori | $(call quiet-command,texi2dvi -I . $<," GEN $@") |
243 | 5824d651 | blueswir1 | |
244 | 5824d651 | blueswir1 | qemu-options.texi: $(SRC_PATH)/qemu-options.hx |
245 | 0d00e563 | aliguori | $(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@," GEN $@") |
246 | f3548328 | bellard | |
247 | 2313086a | Blue Swirl | qemu-monitor.texi: $(SRC_PATH)/qemu-monitor.hx |
248 | 2313086a | Blue Swirl | $(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@," GEN $@") |
249 | 2313086a | Blue Swirl | |
250 | 153859be | Stuart Brady | qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx |
251 | 153859be | Stuart Brady | $(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@," GEN $@") |
252 | 153859be | Stuart Brady | |
253 | 2313086a | Blue Swirl | qemu.1: qemu-doc.texi qemu-options.texi qemu-monitor.texi |
254 | 0d00e563 | aliguori | $(call quiet-command, \ |
255 | 0d00e563 | aliguori | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod && \ |
256 | 0d00e563 | aliguori | pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \ |
257 | 0d00e563 | aliguori | " GEN $@") |
258 | 5a67135a | bellard | |
259 | 153859be | Stuart Brady | qemu-img.1: qemu-img.texi qemu-img-cmds.texi |
260 | 0d00e563 | aliguori | $(call quiet-command, \ |
261 | 0d00e563 | aliguori | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod && \ |
262 | 0d00e563 | aliguori | pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@, \ |
263 | 0d00e563 | aliguori | " GEN $@") |
264 | acd935ef | bellard | |
265 | 7a5ca864 | bellard | qemu-nbd.8: qemu-nbd.texi |
266 | 0d00e563 | aliguori | $(call quiet-command, \ |
267 | 0d00e563 | aliguori | perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod && \ |
268 | 0d00e563 | aliguori | pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \ |
269 | 0d00e563 | aliguori | " GEN $@") |
270 | 7a5ca864 | bellard | |
271 | 0cb3fb1e | pbrook | info: qemu-doc.info qemu-tech.info |
272 | 0cb3fb1e | pbrook | |
273 | 0cb3fb1e | pbrook | dvi: qemu-doc.dvi qemu-tech.dvi |
274 | 0cb3fb1e | pbrook | |
275 | 0cb3fb1e | pbrook | html: qemu-doc.html qemu-tech.html |
276 | 0cb3fb1e | pbrook | |
277 | 153859be | Stuart Brady | qemu-doc.dvi qemu-doc.html qemu-doc.info: qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-monitor.texi qemu-img-cmds.texi |
278 | 818220f5 | aliguori | |
279 | df5cf721 | ths | VERSION ?= $(shell cat VERSION) |
280 | df5cf721 | ths | FILE = qemu-$(VERSION) |
281 | 586314f2 | bellard | |
282 | 1e43adfc | bellard | # tar release (use 'make -k tar' on a checkouted tree) |
283 | 586314f2 | bellard | tar: |
284 | 586314f2 | bellard | rm -rf /tmp/$(FILE) |
285 | 1e43adfc | bellard | cp -r . /tmp/$(FILE) |
286 | 99c6c082 | aurel32 | cd /tmp && tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS --exclude .git --exclude .svn |
287 | 586314f2 | bellard | rm -rf /tmp/$(FILE) |
288 | 586314f2 | bellard | |
289 | 76b62fd0 | bellard | # generate a binary distribution |
290 | d691f669 | bellard | tarbin: |
291 | 18be8d77 | blueswir1 | cd / && tar zcvf ~/qemu-$(VERSION)-$(ARCH).tar.gz \ |
292 | 43095f31 | bellard | $(bindir)/qemu \ |
293 | 43095f31 | bellard | $(bindir)/qemu-system-x86_64 \ |
294 | 40e8a53b | aurel32 | $(bindir)/qemu-system-arm \ |
295 | 40e8a53b | aurel32 | $(bindir)/qemu-system-cris \ |
296 | 40e8a53b | aurel32 | $(bindir)/qemu-system-m68k \ |
297 | bc6291a1 | Edgar E. Iglesias | $(bindir)/qemu-system-microblaze \ |
298 | 93856aac | bellard | $(bindir)/qemu-system-mips \ |
299 | 38260998 | pbrook | $(bindir)/qemu-system-mipsel \ |
300 | fbe4f65b | ths | $(bindir)/qemu-system-mips64 \ |
301 | fbe4f65b | ths | $(bindir)/qemu-system-mips64el \ |
302 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppc \ |
303 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppcemb \ |
304 | 40e8a53b | aurel32 | $(bindir)/qemu-system-ppc64 \ |
305 | ff1aaf65 | ths | $(bindir)/qemu-system-sh4 \ |
306 | 85ffbdfc | ths | $(bindir)/qemu-system-sh4eb \ |
307 | 40e8a53b | aurel32 | $(bindir)/qemu-system-sparc \ |
308 | 7efa4387 | bellard | $(bindir)/qemu-i386 \ |
309 | f0403c03 | bellard | $(bindir)/qemu-x86_64 \ |
310 | 40e8a53b | aurel32 | $(bindir)/qemu-alpha \ |
311 | 40e8a53b | aurel32 | $(bindir)/qemu-arm \ |
312 | 40e8a53b | aurel32 | $(bindir)/qemu-armeb \ |
313 | 40e8a53b | aurel32 | $(bindir)/qemu-cris \ |
314 | 40e8a53b | aurel32 | $(bindir)/qemu-m68k \ |
315 | bc6291a1 | Edgar E. Iglesias | $(bindir)/qemu-microblaze \ |
316 | 40e8a53b | aurel32 | $(bindir)/qemu-mips \ |
317 | 40e8a53b | aurel32 | $(bindir)/qemu-mipsel \ |
318 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc \ |
319 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc64 \ |
320 | 40e8a53b | aurel32 | $(bindir)/qemu-ppc64abi32 \ |
321 | 40e8a53b | aurel32 | $(bindir)/qemu-sh4 \ |
322 | 40e8a53b | aurel32 | $(bindir)/qemu-sh4eb \ |
323 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc \ |
324 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc64 \ |
325 | 40e8a53b | aurel32 | $(bindir)/qemu-sparc32plus \ |
326 | 40e8a53b | aurel32 | $(bindir)/qemu-img \ |
327 | 40e8a53b | aurel32 | $(bindir)/qemu-nbd \ |
328 | 7efa4387 | bellard | $(datadir)/bios.bin \ |
329 | 7efa4387 | bellard | $(datadir)/vgabios.bin \ |
330 | de9258a8 | bellard | $(datadir)/vgabios-cirrus.bin \ |
331 | 637f6cd7 | bellard | $(datadir)/ppc_rom.bin \ |
332 | d5295253 | bellard | $(datadir)/video.x \ |
333 | 0986ac3b | bellard | $(datadir)/openbios-sparc32 \ |
334 | 938255d2 | blueswir1 | $(datadir)/openbios-sparc64 \ |
335 | e5d01b06 | aurel32 | $(datadir)/openbios-ppc \ |
336 | 40e8a53b | aurel32 | $(datadir)/pxe-ne2k_pci.bin \ |
337 | 19c80e50 | bellard | $(datadir)/pxe-rtl8139.bin \ |
338 | 40e8a53b | aurel32 | $(datadir)/pxe-pcnet.bin \ |
339 | 2991990b | aliguori | $(datadir)/pxe-e1000.bin \ |
340 | 1f50f8d1 | bellard | $(docdir)/qemu-doc.html \ |
341 | 1f50f8d1 | bellard | $(docdir)/qemu-tech.html \ |
342 | 40e8a53b | aurel32 | $(mandir)/man1/qemu.1 \ |
343 | 40e8a53b | aurel32 | $(mandir)/man1/qemu-img.1 \ |
344 | 7a5ca864 | bellard | $(mandir)/man8/qemu-nbd.8 |
345 | d691f669 | bellard | |
346 | 4fb240a4 | bellard | # Include automatically generated dependency files |
347 | e1144d00 | Mark McLoughlin | -include $(wildcard *.d audio/*.d slirp/*.d block/*.d net/*.d) |