xref: /openbmc/qemu/Makefile (revision 88ca2a59)
10cb3fb1eSpbrook# Makefile for QEMU.
20cb3fb1eSpbrook
355d7e8f6Saurel32ifneq ($(wildcard config-host.mak),)
4ad064840Spbrookinclude config-host.mak
517759187Saliguoriinclude $(SRC_PATH)/rules.mak
655d7e8f6Saurel32else
755d7e8f6Saurel32config-host.mak:
855d7e8f6Saurel32	@echo "Please call configure before running make!"
955d7e8f6Saurel32	@exit 1
1055d7e8f6Saurel32endif
11766a487aSbellard
12818220f5Saliguori.PHONY: all clean cscope distclean dvi html info install install-doc \
13818220f5Saliguori	recurse-all speed tar tarbin test
140cb3fb1eSpbrook
158c462f8fSpbrookVPATH=$(SRC_PATH):$(SRC_PATH)/hw
168c462f8fSpbrook
1717759187Saliguori
1840293e58SbellardCFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS)
1940293e58SbellardLDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
203142255cSblueswir1
2196935aa4SmalcCPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@
224fb240a4SbellardCPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
23766a487aSbellardLIBS=
241f50f8d1Sbellardifdef CONFIG_STATIC
2540293e58SbellardLDFLAGS += -static
261f50f8d1Sbellardendif
27cc8ae6deSpbrookifdef BUILD_DOCS
287a5ca864SbellardDOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8
29cc8ae6deSpbrookelse
30cc8ae6deSpbrookDOCS=
31cc8ae6deSpbrookendif
327d13299dSbellard
33e5d355d1SaliguoriLIBS+=$(PTHREADLIBS)
34e5d355d1SaliguoriLIBS+=$(CLOCKLIBS)
3583f64091Sbellard
367e00eb9bSaliguoriifdef CONFIG_SOLARIS
377e00eb9bSaliguoriLIBS+=-lsocket -lnsl -lresolv
387e00eb9bSaliguoriendif
397e00eb9bSaliguori
4003ff3ca3Saliguoriifdef CONFIG_WIN32
4103ff3ca3SaliguoriLIBS+=-lwinmm -lws2_32 -liphlpapi
4203ff3ca3Saliguoriendif
4303ff3ca3Saliguori
44da0b0df8Spbrookall: $(TOOLS) $(DOCS) recurse-all
45b9dea4fbSpbrook
4655d7e8f6Saurel32config-host.mak: configure
4755d7e8f6Saurel32ifneq ($(wildcard config-host.mak),)
4855d7e8f6Saurel32	@echo $@ is out-of-date, running configure
49052ff921Sblueswir1	@sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
5055d7e8f6Saurel32endif
5155d7e8f6Saurel32
520087375eSPaul BrookSUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory)
53cec7d0b6SpbrookSUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
54cec7d0b6Spbrook
5586e840eeSaurel32subdir-%:
560087375eSPaul Brook	$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,)
574aa42531Spbrook
58cec7d0b6Spbrook$(filter %-softmmu,$(SUBDIR_RULES)): libqemu_common.a
59cec7d0b6Spbrook$(filter %-user,$(SUBDIR_RULES)): libqemu_user.a
60cec7d0b6Spbrook
61cec7d0b6Spbrookrecurse-all: $(SUBDIR_RULES)
624aa42531Spbrook
63faf07963Spbrook#######################################################################
64faf07963Spbrook# BLOCK_OBJS is code used by both qemu system emulation and qemu-img
65faf07963Spbrook
66451c4abdSMark McLoughlinBLOCK_OBJS=cutils.o cache-utils.o qemu-malloc.o
67faf07963SpbrookBLOCK_OBJS+=block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o
68faf07963SpbrookBLOCK_OBJS+=block-dmg.o block-bochs.o block-vpc.o block-vvfat.o
6903ff3ca3SaliguoriBLOCK_OBJS+=block-qcow2.o block-parallels.o block-nbd.o
70a76bab49SaliguoriBLOCK_OBJS+=nbd.o block.o aio.o
7103ff3ca3Saliguori
7203ff3ca3Saliguoriifdef CONFIG_WIN32
7303ff3ca3SaliguoriBLOCK_OBJS += block-raw-win32.o
7403ff3ca3Saliguorielse
753c529d93Saliguoriifdef CONFIG_AIO
763c529d93SaliguoriBLOCK_OBJS += posix-aio-compat.o
773c529d93Saliguoriendif
7803ff3ca3SaliguoriBLOCK_OBJS += block-raw-posix.o
7903ff3ca3Saliguoriendif
8003ff3ca3Saliguori
814fb240a4Sbellard######################################################################
822e2ea909Sbellard# libqemu_common.a: Target independent part of system emulation. The
834fb240a4Sbellard# long term path is to suppress *all* target specific code in case of
844fb240a4Sbellard# system emulation, i.e. a single QEMU executable should support all
854fb240a4Sbellard# CPUs and machines.
8647cea614Sbellard
87cd01b4a3SaliguoriOBJS=$(BLOCK_OBJS)
88faf07963SpbrookOBJS+=readline.o console.o
89cd01b4a3Saliguori
90e9c28334Sblueswir1OBJS+=irq.o ptimer.o
9187ecb68bSpbrookOBJS+=i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o
927e7c5e4cSbalrogOBJS+=ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
93e9c28334Sblueswir1OBJS+=tmp105.o lm832x.o eeprom93xx.o tsc2005.o
9487ecb68bSpbrookOBJS+=scsi-disk.o cdrom.o
95985a03b0SthsOBJS+=scsi-generic.o
9668063649Sblueswir1OBJS+=usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o
976c9f886cSbalrogOBJS+=usb-serial.o usb-net.o
98775616c3SpbrookOBJS+=sd.o ssi-sd.o
99e6a6d5abSbalrogOBJS+=bt.o bt-host.o bt-vhci.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o usb-bt.o
100e9c28334Sblueswir1OBJS+=bt-hci-csr.o
101559b90fbSaliguoriOBJS+=buffered_file.o migration.o migration-tcp.o net.o qemu-sockets.o
102902b3d5cSmalcOBJS+=qemu-char.o aio.o net-checksum.o savevm.o cache-utils.o
103e9c28334Sblueswir1OBJS+=msmouse.o ps2.o
10487ecb68bSpbrook
1052e4d9fb1Saurel32ifdef CONFIG_BRLAPI
1062e4d9fb1Saurel32OBJS+= baum.o
1072e4d9fb1Saurel32LIBS+=-lbrlapi
1082e4d9fb1Saurel32endif
1092e4d9fb1Saurel32
1104fb240a4Sbellardifdef CONFIG_WIN32
1114fb240a4SbellardOBJS+=tap-win32.o
112559b90fbSaliguorielse
113559b90fbSaliguoriOBJS+=migration-exec.o
1144fb240a4Sbellardendif
1154fb240a4Sbellard
1164fb240a4SbellardAUDIO_OBJS = audio.o noaudio.o wavaudio.o mixeng.o
1174fb240a4Sbellardifdef CONFIG_SDL
1184fb240a4SbellardAUDIO_OBJS += sdlaudio.o
1194fb240a4Sbellardendif
1204fb240a4Sbellardifdef CONFIG_OSS
1214fb240a4SbellardAUDIO_OBJS += ossaudio.o
1224fb240a4Sbellardendif
1234fb240a4Sbellardifdef CONFIG_COREAUDIO
1244fb240a4SbellardAUDIO_OBJS += coreaudio.o
125ca9cc28cSbalrogAUDIO_PT = yes
1264fb240a4Sbellardendif
1274fb240a4Sbellardifdef CONFIG_ALSA
1284fb240a4SbellardAUDIO_OBJS += alsaaudio.o
1294fb240a4Sbellardendif
1304fb240a4Sbellardifdef CONFIG_DSOUND
1314fb240a4SbellardAUDIO_OBJS += dsoundaudio.o
1324fb240a4Sbellardendif
1334fb240a4Sbellardifdef CONFIG_FMOD
1344fb240a4SbellardAUDIO_OBJS += fmodaudio.o
1354fb240a4Sbellardaudio/audio.o audio/fmodaudio.o: CPPFLAGS := -I$(CONFIG_FMOD_INC) $(CPPFLAGS)
1364fb240a4Sbellardendif
137ca9cc28cSbalrogifdef CONFIG_ESD
138ca9cc28cSbalrogAUDIO_PT = yes
139ca9cc28cSbalrogAUDIO_PT_INT = yes
140ca9cc28cSbalrogAUDIO_OBJS += esdaudio.o
141ca9cc28cSbalrogendif
142b8e59f18Smalcifdef CONFIG_PA
143b8e59f18SmalcAUDIO_PT = yes
144b8e59f18SmalcAUDIO_PT_INT = yes
145b8e59f18SmalcAUDIO_OBJS += paaudio.o
146b8e59f18Smalcendif
147ca9cc28cSbalrogifdef AUDIO_PT
148ca9cc28cSbalrogLDFLAGS += -pthread
149ca9cc28cSbalrogendif
150ca9cc28cSbalrogifdef AUDIO_PT_INT
151ca9cc28cSbalrogAUDIO_OBJS += audio_pt_int.o
152ca9cc28cSbalrogendif
1534fb240a4SbellardAUDIO_OBJS+= wavcapture.o
1544fb240a4SbellardOBJS+=$(addprefix audio/, $(AUDIO_OBJS))
1554fb240a4Sbellard
1560483755aSaliguoriOBJS+=keymaps.o
1574fb240a4Sbellardifdef CONFIG_SDL
1584fb240a4SbellardOBJS+=sdl.o x_keymap.o
1594fb240a4Sbellardendif
1604d3b6f6eSbalrogifdef CONFIG_CURSES
1614d3b6f6eSbalrogOBJS+=curses.o
1624d3b6f6eSbalrogendif
16376655d6dSaliguoriOBJS+=vnc.o acl.o d3des.o
1645fb6c7a8Saliguoriifdef CONFIG_VNC_TLS
1655fb6c7a8SaliguoriOBJS+=vnc-tls.o vnc-auth-vencrypt.o
1665fb6c7a8Saliguoriendif
1672f9606b3Saliguoriifdef CONFIG_VNC_SASL
1682f9606b3SaliguoriOBJS+=vnc-auth-sasl.o
1692f9606b3Saliguoriendif
1704fb240a4Sbellard
1714fb240a4Sbellardifdef CONFIG_COCOA
1724fb240a4SbellardOBJS+=cocoa.o
1734fb240a4Sbellardendif
1744fb240a4Sbellard
175e5d355d1Saliguoriifdef CONFIG_IOTHREAD
176e5d355d1SaliguoriOBJS+=qemu-thread.o
177e5d355d1Saliguoriendif
178e5d355d1Saliguori
1794fb240a4Sbellardifdef CONFIG_SLIRP
1804fb240a4SbellardCPPFLAGS+=-I$(SRC_PATH)/slirp
1814fb240a4SbellardSLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \
1824fb240a4Sbellardslirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \
1834fb240a4Sbellardtcp_subr.o tcp_timer.o udp.o bootp.o debug.o tftp.o
1844fb240a4SbellardOBJS+=$(addprefix slirp/, $(SLIRP_OBJS))
1854fb240a4Sbellardendif
1864fb240a4Sbellard
1878a16d273SthsLIBS+=$(VDE_LIBS)
1888a16d273Sths
1894fb240a4Sbellardcocoa.o: cocoa.m
1904fb240a4Sbellard
1910483755aSaliguorikeymaps.o: keymaps.c keymaps.h
1920483755aSaliguori
1930483755aSaliguorisdl.o: sdl.c keymaps.h sdl_keysym.h
194807544e2Saliguori
195807544e2Saliguorisdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS)
1964fb240a4Sbellard
19776655d6dSaliguoriacl.o: acl.h acl.c
19876655d6dSaliguori
1992f9606b3Saliguorivnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h
2005fb6c7a8Saliguori
20176655d6dSaliguorivnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
202807544e2Saliguori
203807544e2Saliguorivnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
2044fb240a4Sbellard
2055fb6c7a8Saliguorivnc-tls.o: vnc-tls.c vnc.h
2065fb6c7a8Saliguori
2075fb6c7a8Saliguorivnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
2085fb6c7a8Saliguori
2092f9606b3Saliguorivnc-auth-sasl.o: vnc-auth-sasl.c vnc.h
2102f9606b3Saliguori
2110483755aSaliguoricurses.o: curses.c keymaps.h curses_keys.h
2124d3b6f6eSbalrog
213807544e2Saliguoribt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
2144fb240a4Sbellard
2154fb240a4Sbellardlibqemu_common.a: $(OBJS)
2164fb240a4Sbellard
217cec7d0b6Spbrook#######################################################################
218cec7d0b6Spbrook# USER_OBJS is code used by qemu userspace emulation
219902b3d5cSmalcUSER_OBJS=cutils.o  cache-utils.o
220cec7d0b6Spbrook
221cec7d0b6Spbrooklibqemu_user.a: $(USER_OBJS)
222cec7d0b6Spbrook
2234fb240a4Sbellard######################################################################
2244fb240a4Sbellard
225*88ca2a59SPaul Brookqemu-img$(EXESUF): qemu-img.o qemu-tool.o tool-osdep.o $(BLOCK_OBJS)
2264fb240a4Sbellard
227*88ca2a59SPaul Brookqemu-nbd$(EXESUF):  qemu-nbd.o qemu-tool.o tool-osdep.o $(BLOCK_OBJS)
2283aa892d7Saliguori
229*88ca2a59SPaul Brookqemu-io$(EXESUF):  qemu-io.o qemu-tool.o tool-osdep.o cmd.o $(BLOCK_OBJS)
2300a8e1acdSaliguori
2310a8e1acdSaliguoriqemu-img$(EXESUF) qemu-nbd$(EXESUF) qemu-io$(EXESUF): LIBS += -lz
2327a5ca864Sbellard
23331e31b8aSbellardclean:
2342d80ae89Sbellard# avoid old build problems by removing potentially incorrect old files
2352d80ae89Sbellard	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
23686e840eeSaurel32	rm -f *.o *.d *.a $(TOOLS) TAGS cscope.* *.pod *~ */*~
2374fb240a4Sbellard	rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d
2387d3505c5Sbellard	$(MAKE) -C tests clean
239626df76aSbellard	for d in $(TARGET_DIRS); do \
2407d3505c5Sbellard	$(MAKE) -C $$d $@ || exit 1 ; \
241626df76aSbellard        done
24231e31b8aSbellard
2437d13299dSbellarddistclean: clean
244016c62c8Saliguori	rm -f config-host.mak config-host.h $(DOCS) qemu-options.texi
2450cb3fb1eSpbrook	rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
24676bc6838Sbellard	for d in $(TARGET_DIRS); do \
247bc1b050dSbellard	rm -rf $$d || exit 1 ; \
24876bc6838Sbellard        done
2497d13299dSbellard
250fed4a9adSbellardKEYMAPS=da     en-gb  et  fr     fr-ch  is  lt  modifiers  no  pt-br  sv \
251fed4a9adSbellardar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th \
252fed4a9adSbellardcommon  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr
253fed4a9adSbellard
25477755340Sthsifdef INSTALL_BLOBS
25577755340SthsBLOBS=bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
256e5d01b06Saurel32video.x openbios-sparc32 openbios-sparc64 openbios-ppc \
257e5d01b06Saurel32pxe-ne2k_pci.bin pxe-rtl8139.bin pxe-pcnet.bin pxe-e1000.bin \
258e5d01b06Saurel32bamboo.dtb
25977755340Sthselse
26077755340SthsBLOBS=
26177755340Sthsendif
26277755340Sths
26338954dcaSpbrookinstall-doc: $(DOCS)
26458f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(docdir)"
26558f8aeadSaliguori	$(INSTALL_DATA) qemu-doc.html  qemu-tech.html "$(DESTDIR)$(docdir)"
26638954dcaSpbrookifndef CONFIG_WIN32
26758f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
26858f8aeadSaliguori	$(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
26958f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8"
27058f8aeadSaliguori	$(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
27138954dcaSpbrookendif
27238954dcaSpbrook
27338954dcaSpbrookinstall: all $(if $(BUILD_DOCS),install-doc)
27458f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
275932a79dfSthsifneq ($(TOOLS),)
27658f8aeadSaliguori	$(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)"
277932a79dfSthsendif
27877755340Sthsifneq ($(BLOBS),)
27958f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(datadir)"
28077755340Sths	set -e; for x in $(BLOBS); do \
28158f8aeadSaliguori		$(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
282ad064840Spbrook	done
28377755340Sthsendif
28411d9f695Sbellardifndef CONFIG_WIN32
28558f8aeadSaliguori	$(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps"
28618be8d77Sblueswir1	set -e; for x in $(KEYMAPS); do \
28758f8aeadSaliguori		$(INSTALL_DATA) $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
288ad064840Spbrook	done
28911d9f695Sbellardendif
290626df76aSbellard	for d in $(TARGET_DIRS); do \
2917d3505c5Sbellard	$(MAKE) -C $$d $@ || exit 1 ; \
292626df76aSbellard        done
293612384d7Sbellard
294367e86e8Sbellard# various test targets
2959b0b8203Sbellardtest speed: all
2967d3505c5Sbellard	$(MAKE) -C tests $@
29731e31b8aSbellard
298367e86e8SbellardTAGS:
299b9adb4a6Sbellard	etags *.[ch] tests/*.[ch]
30031e31b8aSbellard
3016688bc6dSbellardcscope:
3026688bc6dSbellard	rm -f ./cscope.*
303ede46085Saurel32	find . -name "*.[ch]" -print | sed 's,^\./,,' > ./cscope.files
3046688bc6dSbellard	cscope -b
3056688bc6dSbellard
3063ef693a0Sbellard# documentation
3071f673135Sbellard%.html: %.texi
3080d00e563Saliguori	$(call quiet-command,texi2html -I=. -monolithic -number $<,"  GEN   $@")
3093ef693a0Sbellard
310f3548328Sbellard%.info: %.texi
3110d00e563Saliguori	$(call quiet-command,makeinfo -I . $< -o $@,"  GEN   $@")
312f3548328Sbellard
313f3548328Sbellard%.dvi: %.texi
3140d00e563Saliguori	$(call quiet-command,texi2dvi -I . $<,"  GEN   $@")
3155824d651Sblueswir1
3165824d651Sblueswir1qemu-options.texi: $(SRC_PATH)/qemu-options.hx
3170d00e563Saliguori	$(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@,"  GEN   $@")
318f3548328Sbellard
3197545668bSblueswir1qemu.1: qemu-doc.texi qemu-options.texi
3200d00e563Saliguori	$(call quiet-command, \
3210d00e563Saliguori	  perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod && \
3220d00e563Saliguori	  pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \
3230d00e563Saliguori	  "  GEN   $@")
3245a67135aSbellard
325acd935efSbellardqemu-img.1: qemu-img.texi
3260d00e563Saliguori	$(call quiet-command, \
3270d00e563Saliguori	  perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod && \
3280d00e563Saliguori	  pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@, \
3290d00e563Saliguori	  "  GEN   $@")
330acd935efSbellard
3317a5ca864Sbellardqemu-nbd.8: qemu-nbd.texi
3320d00e563Saliguori	$(call quiet-command, \
3330d00e563Saliguori	  perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod && \
3340d00e563Saliguori	  pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
3350d00e563Saliguori	  "  GEN   $@")
3367a5ca864Sbellard
3370cb3fb1eSpbrookinfo: qemu-doc.info qemu-tech.info
3380cb3fb1eSpbrook
3390cb3fb1eSpbrookdvi: qemu-doc.dvi qemu-tech.dvi
3400cb3fb1eSpbrook
3410cb3fb1eSpbrookhtml: qemu-doc.html qemu-tech.html
3420cb3fb1eSpbrook
3435824d651Sblueswir1qemu-doc.dvi qemu-doc.html qemu-doc.info: qemu-img.texi qemu-nbd.texi qemu-options.texi
344818220f5Saliguori
345df5cf721SthsVERSION ?= $(shell cat VERSION)
346df5cf721SthsFILE = qemu-$(VERSION)
347586314f2Sbellard
3481e43adfcSbellard# tar release (use 'make -k tar' on a checkouted tree)
349586314f2Sbellardtar:
350586314f2Sbellard	rm -rf /tmp/$(FILE)
3511e43adfcSbellard	cp -r . /tmp/$(FILE)
35299c6c082Saurel32	cd /tmp && tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS --exclude .git --exclude .svn
353586314f2Sbellard	rm -rf /tmp/$(FILE)
354586314f2Sbellard
35576b62fd0Sbellard# generate a binary distribution
356d691f669Sbellardtarbin:
35718be8d77Sblueswir1	cd / && tar zcvf ~/qemu-$(VERSION)-$(ARCH).tar.gz \
35843095f31Sbellard	$(bindir)/qemu \
35943095f31Sbellard	$(bindir)/qemu-system-x86_64 \
36040e8a53bSaurel32	$(bindir)/qemu-system-arm \
36140e8a53bSaurel32	$(bindir)/qemu-system-cris \
36240e8a53bSaurel32	$(bindir)/qemu-system-m68k \
36393856aacSbellard	$(bindir)/qemu-system-mips \
36438260998Spbrook	$(bindir)/qemu-system-mipsel \
365fbe4f65bSths	$(bindir)/qemu-system-mips64 \
366fbe4f65bSths	$(bindir)/qemu-system-mips64el \
36740e8a53bSaurel32	$(bindir)/qemu-system-ppc \
36840e8a53bSaurel32	$(bindir)/qemu-system-ppcemb \
36940e8a53bSaurel32	$(bindir)/qemu-system-ppc64 \
370ff1aaf65Sths	$(bindir)/qemu-system-sh4 \
37185ffbdfcSths	$(bindir)/qemu-system-sh4eb \
37240e8a53bSaurel32	$(bindir)/qemu-system-sparc \
3737efa4387Sbellard	$(bindir)/qemu-i386 \
374f0403c03Sbellard	$(bindir)/qemu-x86_64 \
37540e8a53bSaurel32	$(bindir)/qemu-alpha \
3767efa4387Sbellard	$(bindir)/qemu-arm \
377ea31eb5bSbellard	$(bindir)/qemu-armeb \
37840e8a53bSaurel32	$(bindir)/qemu-cris \
37940e8a53bSaurel32	$(bindir)/qemu-m68k \
38040e8a53bSaurel32	$(bindir)/qemu-mips \
38140e8a53bSaurel32	$(bindir)/qemu-mipsel \
3827efa4387Sbellard	$(bindir)/qemu-ppc \
383d4082e95Sj_mayer	$(bindir)/qemu-ppc64 \
384f0403c03Sbellard	$(bindir)/qemu-ppc64abi32 \
385ff1aaf65Sths	$(bindir)/qemu-sh4 \
38685ffbdfcSths	$(bindir)/qemu-sh4eb \
38740e8a53bSaurel32	$(bindir)/qemu-sparc \
38840e8a53bSaurel32	$(bindir)/qemu-sparc64 \
38940e8a53bSaurel32	$(bindir)/qemu-sparc32plus \
390b932cabaSbellard	$(bindir)/qemu-img \
3917a5ca864Sbellard	$(bindir)/qemu-nbd \
3927efa4387Sbellard	$(datadir)/bios.bin \
3937efa4387Sbellard	$(datadir)/vgabios.bin \
394de9258a8Sbellard	$(datadir)/vgabios-cirrus.bin \
395637f6cd7Sbellard	$(datadir)/ppc_rom.bin \
396d5295253Sbellard	$(datadir)/video.x \
3970986ac3bSbellard	$(datadir)/openbios-sparc32 \
398938255d2Sblueswir1	$(datadir)/openbios-sparc64 \
399e5d01b06Saurel32	$(datadir)/openbios-ppc \
40019c80e50Sbellard	$(datadir)/pxe-ne2k_pci.bin \
40119c80e50Sbellard	$(datadir)/pxe-rtl8139.bin \
40219c80e50Sbellard	$(datadir)/pxe-pcnet.bin \
4032991990bSaliguori	$(datadir)/pxe-e1000.bin \
4041f50f8d1Sbellard	$(docdir)/qemu-doc.html \
4051f50f8d1Sbellard	$(docdir)/qemu-tech.html \
40640e8a53bSaurel32	$(mandir)/man1/qemu.1 \
40740e8a53bSaurel32	$(mandir)/man1/qemu-img.1 \
4087a5ca864Sbellard	$(mandir)/man8/qemu-nbd.8
409d691f669Sbellard
4104fb240a4Sbellard# Include automatically generated dependency files
4114fb240a4Sbellard-include $(wildcard *.d audio/*.d slirp/*.d)
412