pbrook | 0cb3fb1 | 2006-05-14 12:07:53 +0000 | [diff] [blame] | 1 | # Makefile for QEMU. |
| 2 | |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 3 | include config-host.mak |
bellard | 766a487 | 2003-02-18 23:35:48 +0000 | [diff] [blame] | 4 | |
pbrook | 0cb3fb1 | 2006-05-14 12:07:53 +0000 | [diff] [blame] | 5 | .PHONY: all clean distclean dvi info install install-doc tar tarbin \ |
bellard | 9b0b820 | 2007-11-14 10:34:57 +0000 | [diff] [blame] | 6 | speed test html dvi info |
pbrook | 0cb3fb1 | 2006-05-14 12:07:53 +0000 | [diff] [blame] | 7 | |
pbrook | 8c462f8 | 2007-11-18 21:12:37 +0000 | [diff] [blame^] | 8 | VPATH=$(SRC_PATH):$(SRC_PATH)/hw |
| 9 | |
ths | 6f30fa8 | 2007-01-05 01:00:47 +0000 | [diff] [blame] | 10 | BASE_CFLAGS= |
| 11 | BASE_LDFLAGS= |
| 12 | |
blueswir1 | 3142255 | 2007-04-16 18:27:06 +0000 | [diff] [blame] | 13 | BASE_CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS) |
| 14 | BASE_LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS) |
| 15 | |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 16 | CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP |
| 17 | CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
bellard | 766a487 | 2003-02-18 23:35:48 +0000 | [diff] [blame] | 18 | LIBS= |
bellard | 1f50f8d | 2004-05-08 14:44:43 +0000 | [diff] [blame] | 19 | ifdef CONFIG_STATIC |
ths | 6f30fa8 | 2007-01-05 01:00:47 +0000 | [diff] [blame] | 20 | BASE_LDFLAGS += -static |
bellard | 1f50f8d | 2004-05-08 14:44:43 +0000 | [diff] [blame] | 21 | endif |
pbrook | cc8ae6d | 2006-04-23 17:57:59 +0000 | [diff] [blame] | 22 | ifdef BUILD_DOCS |
bellard | acd935e | 2004-11-15 22:57:26 +0000 | [diff] [blame] | 23 | DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 |
pbrook | cc8ae6d | 2006-04-23 17:57:59 +0000 | [diff] [blame] | 24 | else |
| 25 | DOCS= |
| 26 | endif |
bellard | 7d13299 | 2003-03-06 23:23:54 +0000 | [diff] [blame] | 27 | |
ths | 70956b7 | 2007-03-17 15:00:37 +0000 | [diff] [blame] | 28 | LIBS+=$(AIOLIBS) |
bellard | 83f6409 | 2006-08-01 16:21:11 +0000 | [diff] [blame] | 29 | |
pbrook | da0b0df | 2007-11-10 19:30:52 +0000 | [diff] [blame] | 30 | all: $(TOOLS) $(DOCS) recurse-all |
pbrook | b9dea4f | 2006-05-13 16:54:03 +0000 | [diff] [blame] | 31 | |
pbrook | da0b0df | 2007-11-10 19:30:52 +0000 | [diff] [blame] | 32 | subdir-%: dyngen$(EXESUF) libqemu_common.a |
pbrook | 4aa4253 | 2006-05-13 13:55:08 +0000 | [diff] [blame] | 33 | $(MAKE) -C $(subst subdir-,,$@) all |
| 34 | |
| 35 | recurse-all: $(patsubst %,subdir-%, $(TARGET_DIRS)) |
bellard | 83f6409 | 2006-08-01 16:21:11 +0000 | [diff] [blame] | 36 | |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 37 | ####################################################################### |
| 38 | # BLOCK_OBJS is code used by both qemu system emulation and qemu-img |
| 39 | |
| 40 | BLOCK_OBJS=cutils.o |
| 41 | BLOCK_OBJS+=block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o |
| 42 | BLOCK_OBJS+=block-dmg.o block-bochs.o block-vpc.o block-vvfat.o |
| 43 | BLOCK_OBJS+=block-qcow2.o block-parallels.o |
| 44 | |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 45 | ###################################################################### |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 46 | # libqemu_common.a: Target indepedent part of system emulation. The |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 47 | # long term path is to suppress *all* target specific code in case of |
| 48 | # system emulation, i.e. a single QEMU executable should support all |
| 49 | # CPUs and machines. |
bellard | 47cea61 | 2004-05-17 20:06:42 +0000 | [diff] [blame] | 50 | |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 51 | OBJS=$(BLOCK_OBJS) |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 52 | OBJS+=readline.o console.o |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 53 | OBJS+=block.o |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 54 | |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 55 | OBJS+=irq.o |
| 56 | OBJS+=i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o |
pbrook | cf0dbb2 | 2007-11-18 14:36:08 +0000 | [diff] [blame] | 57 | OBJS+=ssd0303.o ssd0323.o ads7846.o stellaris_input.o |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 58 | OBJS+=scsi-disk.o cdrom.o |
| 59 | OBJS+=usb.o usb-hub.o usb-linux.o usb-hid.o usb-msd.o usb-wacom.o |
| 60 | |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 61 | ifdef CONFIG_WIN32 |
| 62 | OBJS+=tap-win32.o |
| 63 | endif |
| 64 | |
| 65 | AUDIO_OBJS = audio.o noaudio.o wavaudio.o mixeng.o |
| 66 | ifdef CONFIG_SDL |
| 67 | AUDIO_OBJS += sdlaudio.o |
| 68 | endif |
| 69 | ifdef CONFIG_OSS |
| 70 | AUDIO_OBJS += ossaudio.o |
| 71 | endif |
| 72 | ifdef CONFIG_COREAUDIO |
| 73 | AUDIO_OBJS += coreaudio.o |
| 74 | endif |
| 75 | ifdef CONFIG_ALSA |
| 76 | AUDIO_OBJS += alsaaudio.o |
| 77 | endif |
| 78 | ifdef CONFIG_DSOUND |
| 79 | AUDIO_OBJS += dsoundaudio.o |
| 80 | endif |
| 81 | ifdef CONFIG_FMOD |
| 82 | AUDIO_OBJS += fmodaudio.o |
| 83 | audio/audio.o audio/fmodaudio.o: CPPFLAGS := -I$(CONFIG_FMOD_INC) $(CPPFLAGS) |
| 84 | endif |
| 85 | AUDIO_OBJS+= wavcapture.o |
| 86 | OBJS+=$(addprefix audio/, $(AUDIO_OBJS)) |
| 87 | |
| 88 | ifdef CONFIG_SDL |
| 89 | OBJS+=sdl.o x_keymap.o |
| 90 | endif |
| 91 | OBJS+=vnc.o d3des.o |
| 92 | |
| 93 | ifdef CONFIG_COCOA |
| 94 | OBJS+=cocoa.o |
| 95 | endif |
| 96 | |
| 97 | ifdef CONFIG_SLIRP |
| 98 | CPPFLAGS+=-I$(SRC_PATH)/slirp |
| 99 | SLIRP_OBJS=cksum.o if.o ip_icmp.o ip_input.o ip_output.o \ |
| 100 | slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o \ |
| 101 | tcp_subr.o tcp_timer.o udp.o bootp.o debug.o tftp.o |
| 102 | OBJS+=$(addprefix slirp/, $(SLIRP_OBJS)) |
| 103 | endif |
| 104 | |
| 105 | cocoa.o: cocoa.m |
| 106 | $(CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -c -o $@ $< |
| 107 | |
| 108 | sdl.o: sdl.c keymaps.c sdl_keysym.h |
| 109 | $(CC) $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) $(BASE_CFLAGS) -c -o $@ $< |
| 110 | |
| 111 | vnc.o: vnc.c keymaps.c sdl_keysym.h vnchextile.h d3des.c d3des.h |
| 112 | $(CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -c -o $@ $< |
| 113 | |
| 114 | audio/sdlaudio.o: audio/sdlaudio.c |
| 115 | $(CC) $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) $(BASE_CFLAGS) -c -o $@ $< |
| 116 | |
| 117 | libqemu_common.a: $(OBJS) |
| 118 | rm -f $@ |
| 119 | $(AR) rcs $@ $(OBJS) |
| 120 | |
| 121 | ###################################################################### |
| 122 | |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 123 | qemu-img$(EXESUF): qemu-img.o qemu-img-block.o qemu-img-block-raw.o $(BLOCK_OBJS) |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 124 | $(CC) $(LDFLAGS) $(BASE_LDFLAGS) -o $@ $^ -lz $(LIBS) |
| 125 | |
pbrook | faf0796 | 2007-11-11 02:51:17 +0000 | [diff] [blame] | 126 | qemu-img-%.o: %.c |
| 127 | $(CC) $(CFLAGS) $(CPPFLAGS) -DQEMU_IMG $(BASE_CFLAGS) -c -o $@ $< |
| 128 | |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 129 | %.o: %.c |
| 130 | $(CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -c -o $@ $< |
| 131 | |
| 132 | # dyngen host tool |
bellard | 11d9f69 | 2004-04-02 20:55:59 +0000 | [diff] [blame] | 133 | dyngen$(EXESUF): dyngen.c |
ths | 6f30fa8 | 2007-01-05 01:00:47 +0000 | [diff] [blame] | 134 | $(HOST_CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -o $@ $^ |
bellard | 31e31b8 | 2003-02-18 22:55:36 +0000 | [diff] [blame] | 135 | |
| 136 | clean: |
bellard | 2d80ae8 | 2003-08-11 23:01:33 +0000 | [diff] [blame] | 137 | # avoid old build problems by removing potentially incorrect old files |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 138 | 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 |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 139 | rm -f *.o *.d *.a $(TOOLS) dyngen$(EXESUF) TAGS cscope.* *.pod *~ */*~ |
| 140 | rm -f slirp/*.o slirp/*.d audio/*.o audio/*.d |
bellard | 7d3505c | 2004-05-12 19:32:15 +0000 | [diff] [blame] | 141 | $(MAKE) -C tests clean |
bellard | 626df76 | 2003-08-10 21:39:31 +0000 | [diff] [blame] | 142 | for d in $(TARGET_DIRS); do \ |
bellard | 7d3505c | 2004-05-12 19:32:15 +0000 | [diff] [blame] | 143 | $(MAKE) -C $$d $@ || exit 1 ; \ |
bellard | 626df76 | 2003-08-10 21:39:31 +0000 | [diff] [blame] | 144 | done |
bellard | 31e31b8 | 2003-02-18 22:55:36 +0000 | [diff] [blame] | 145 | |
bellard | 7d13299 | 2003-03-06 23:23:54 +0000 | [diff] [blame] | 146 | distclean: clean |
pbrook | cc8ae6d | 2006-04-23 17:57:59 +0000 | [diff] [blame] | 147 | rm -f config-host.mak config-host.h $(DOCS) |
pbrook | 0cb3fb1 | 2006-05-14 12:07:53 +0000 | [diff] [blame] | 148 | rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr} |
bellard | 76bc683 | 2003-08-10 23:41:46 +0000 | [diff] [blame] | 149 | for d in $(TARGET_DIRS); do \ |
bellard | bc1b050 | 2003-10-28 00:12:52 +0000 | [diff] [blame] | 150 | rm -rf $$d || exit 1 ; \ |
bellard | 76bc683 | 2003-08-10 23:41:46 +0000 | [diff] [blame] | 151 | done |
bellard | 7d13299 | 2003-03-06 23:23:54 +0000 | [diff] [blame] | 152 | |
bellard | fed4a9a | 2004-12-12 22:18:34 +0000 | [diff] [blame] | 153 | KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \ |
| 154 | ar de en-us fi fr-be hr it lv nl pl ru th \ |
| 155 | common de-ch es fo fr-ca hu ja mk nl-be pt sl tr |
| 156 | |
pbrook | 38954dc | 2006-04-30 23:54:18 +0000 | [diff] [blame] | 157 | install-doc: $(DOCS) |
| 158 | mkdir -p "$(DESTDIR)$(docdir)" |
| 159 | $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" |
| 160 | ifndef CONFIG_WIN32 |
| 161 | mkdir -p "$(DESTDIR)$(mandir)/man1" |
| 162 | $(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" |
| 163 | endif |
| 164 | |
| 165 | install: all $(if $(BUILD_DOCS),install-doc) |
pbrook | 1236cab | 2006-04-09 20:47:35 +0000 | [diff] [blame] | 166 | mkdir -p "$(DESTDIR)$(bindir)" |
ths | 932a79d | 2007-10-20 18:29:34 +0000 | [diff] [blame] | 167 | ifneq ($(TOOLS),) |
pbrook | 6a88264 | 2006-04-17 13:57:12 +0000 | [diff] [blame] | 168 | $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" |
ths | 932a79d | 2007-10-20 18:29:34 +0000 | [diff] [blame] | 169 | endif |
pbrook | 1236cab | 2006-04-09 20:47:35 +0000 | [diff] [blame] | 170 | mkdir -p "$(DESTDIR)$(datadir)" |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 171 | for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ |
ths | 860c6c5 | 2007-05-20 10:54:50 +0000 | [diff] [blame] | 172 | video.x openbios-sparc32 pxe-ne2k_pci.bin \ |
ths | eec85c2 | 2007-01-05 17:41:07 +0000 | [diff] [blame] | 173 | pxe-rtl8139.bin pxe-pcnet.bin; do \ |
pbrook | 6a88264 | 2006-04-17 13:57:12 +0000 | [diff] [blame] | 174 | $(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \ |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 175 | done |
bellard | 11d9f69 | 2004-04-02 20:55:59 +0000 | [diff] [blame] | 176 | ifndef CONFIG_WIN32 |
pbrook | 1236cab | 2006-04-09 20:47:35 +0000 | [diff] [blame] | 177 | mkdir -p "$(DESTDIR)$(datadir)/keymaps" |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 178 | for x in $(KEYMAPS); do \ |
pbrook | 6a88264 | 2006-04-17 13:57:12 +0000 | [diff] [blame] | 179 | $(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \ |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 180 | done |
bellard | 11d9f69 | 2004-04-02 20:55:59 +0000 | [diff] [blame] | 181 | endif |
bellard | 626df76 | 2003-08-10 21:39:31 +0000 | [diff] [blame] | 182 | for d in $(TARGET_DIRS); do \ |
bellard | 7d3505c | 2004-05-12 19:32:15 +0000 | [diff] [blame] | 183 | $(MAKE) -C $$d $@ || exit 1 ; \ |
bellard | 626df76 | 2003-08-10 21:39:31 +0000 | [diff] [blame] | 184 | done |
bellard | 612384d | 2003-03-22 17:31:19 +0000 | [diff] [blame] | 185 | |
bellard | 367e86e | 2003-03-01 17:13:26 +0000 | [diff] [blame] | 186 | # various test targets |
bellard | 9b0b820 | 2007-11-14 10:34:57 +0000 | [diff] [blame] | 187 | test speed: all |
bellard | 7d3505c | 2004-05-12 19:32:15 +0000 | [diff] [blame] | 188 | $(MAKE) -C tests $@ |
bellard | 31e31b8 | 2003-02-18 22:55:36 +0000 | [diff] [blame] | 189 | |
ths | 5fafdf2 | 2007-09-16 21:08:06 +0000 | [diff] [blame] | 190 | TAGS: |
bellard | b9adb4a | 2003-04-29 20:41:16 +0000 | [diff] [blame] | 191 | etags *.[ch] tests/*.[ch] |
bellard | 31e31b8 | 2003-02-18 22:55:36 +0000 | [diff] [blame] | 192 | |
bellard | 6688bc6 | 2005-08-21 09:23:39 +0000 | [diff] [blame] | 193 | cscope: |
| 194 | rm -f ./cscope.* |
| 195 | find . -name "*.[ch]" -print > ./cscope.files |
| 196 | cscope -b |
| 197 | |
bellard | 3ef693a | 2003-03-23 20:17:16 +0000 | [diff] [blame] | 198 | # documentation |
bellard | 1f67313 | 2004-04-04 15:21:17 +0000 | [diff] [blame] | 199 | %.html: %.texi |
bellard | 3ef693a | 2003-03-23 20:17:16 +0000 | [diff] [blame] | 200 | texi2html -monolithic -number $< |
| 201 | |
bellard | f354832 | 2006-04-30 22:51:54 +0000 | [diff] [blame] | 202 | %.info: %.texi |
| 203 | makeinfo $< -o $@ |
| 204 | |
| 205 | %.dvi: %.texi |
| 206 | texi2dvi $< |
| 207 | |
bellard | 5a67135 | 2003-10-01 00:13:48 +0000 | [diff] [blame] | 208 | qemu.1: qemu-doc.texi |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 209 | $(SRC_PATH)/texi2pod.pl $< qemu.pod |
bellard | 5a67135 | 2003-10-01 00:13:48 +0000 | [diff] [blame] | 210 | pod2man --section=1 --center=" " --release=" " qemu.pod > $@ |
| 211 | |
bellard | acd935e | 2004-11-15 22:57:26 +0000 | [diff] [blame] | 212 | qemu-img.1: qemu-img.texi |
pbrook | ad06484 | 2006-04-16 12:41:07 +0000 | [diff] [blame] | 213 | $(SRC_PATH)/texi2pod.pl $< qemu-img.pod |
bellard | acd935e | 2004-11-15 22:57:26 +0000 | [diff] [blame] | 214 | pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@ |
| 215 | |
pbrook | 0cb3fb1 | 2006-05-14 12:07:53 +0000 | [diff] [blame] | 216 | info: qemu-doc.info qemu-tech.info |
| 217 | |
| 218 | dvi: qemu-doc.dvi qemu-tech.dvi |
| 219 | |
| 220 | html: qemu-doc.html qemu-tech.html |
| 221 | |
ths | df5cf72 | 2007-01-24 22:56:36 +0000 | [diff] [blame] | 222 | VERSION ?= $(shell cat VERSION) |
| 223 | FILE = qemu-$(VERSION) |
bellard | 586314f | 2003-03-03 15:02:29 +0000 | [diff] [blame] | 224 | |
bellard | 1e43adf | 2003-09-30 20:54:24 +0000 | [diff] [blame] | 225 | # tar release (use 'make -k tar' on a checkouted tree) |
bellard | 586314f | 2003-03-03 15:02:29 +0000 | [diff] [blame] | 226 | tar: |
| 227 | rm -rf /tmp/$(FILE) |
bellard | 1e43adf | 2003-09-30 20:54:24 +0000 | [diff] [blame] | 228 | cp -r . /tmp/$(FILE) |
bellard | 76b62fd | 2003-10-28 00:47:44 +0000 | [diff] [blame] | 229 | ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS ) |
bellard | 586314f | 2003-03-03 15:02:29 +0000 | [diff] [blame] | 230 | rm -rf /tmp/$(FILE) |
| 231 | |
bellard | 76b62fd | 2003-10-28 00:47:44 +0000 | [diff] [blame] | 232 | # generate a binary distribution |
bellard | d691f66 | 2003-03-24 21:58:34 +0000 | [diff] [blame] | 233 | tarbin: |
ths | 4887d78 | 2007-09-29 21:22:33 +0000 | [diff] [blame] | 234 | ( cd / ; tar zcvf ~/qemu-$(VERSION)-$(ARCH).tar.gz \ |
bellard | 43095f3 | 2005-04-27 20:49:23 +0000 | [diff] [blame] | 235 | $(bindir)/qemu \ |
bellard | 7efa438 | 2004-05-12 18:54:06 +0000 | [diff] [blame] | 236 | $(bindir)/qemu-system-ppc \ |
j_mayer | d4082e9 | 2007-04-24 07:34:03 +0000 | [diff] [blame] | 237 | $(bindir)/qemu-system-ppc64 \ |
| 238 | $(bindir)/qemu-system-ppcemb \ |
bellard | acd935e | 2004-11-15 22:57:26 +0000 | [diff] [blame] | 239 | $(bindir)/qemu-system-sparc \ |
bellard | 43095f3 | 2005-04-27 20:49:23 +0000 | [diff] [blame] | 240 | $(bindir)/qemu-system-x86_64 \ |
bellard | 93856aa | 2005-07-24 18:44:35 +0000 | [diff] [blame] | 241 | $(bindir)/qemu-system-mips \ |
pbrook | 3826099 | 2006-03-11 14:51:13 +0000 | [diff] [blame] | 242 | $(bindir)/qemu-system-mipsel \ |
ths | fbe4f65 | 2007-04-01 11:16:48 +0000 | [diff] [blame] | 243 | $(bindir)/qemu-system-mips64 \ |
| 244 | $(bindir)/qemu-system-mips64el \ |
bellard | ea31eb5 | 2005-12-06 21:42:03 +0000 | [diff] [blame] | 245 | $(bindir)/qemu-system-arm \ |
ths | ff1aaf6 | 2007-09-29 21:18:26 +0000 | [diff] [blame] | 246 | $(bindir)/qemu-system-m68k \ |
| 247 | $(bindir)/qemu-system-sh4 \ |
bellard | 7efa438 | 2004-05-12 18:54:06 +0000 | [diff] [blame] | 248 | $(bindir)/qemu-i386 \ |
| 249 | $(bindir)/qemu-arm \ |
bellard | ea31eb5 | 2005-12-06 21:42:03 +0000 | [diff] [blame] | 250 | $(bindir)/qemu-armeb \ |
bellard | 7efa438 | 2004-05-12 18:54:06 +0000 | [diff] [blame] | 251 | $(bindir)/qemu-sparc \ |
| 252 | $(bindir)/qemu-ppc \ |
j_mayer | d4082e9 | 2007-04-24 07:34:03 +0000 | [diff] [blame] | 253 | $(bindir)/qemu-ppc64 \ |
bellard | ea31eb5 | 2005-12-06 21:42:03 +0000 | [diff] [blame] | 254 | $(bindir)/qemu-mips \ |
| 255 | $(bindir)/qemu-mipsel \ |
ths | 540635b | 2007-09-30 01:58:33 +0000 | [diff] [blame] | 256 | $(bindir)/qemu-mipsn32 \ |
| 257 | $(bindir)/qemu-mipsn32el \ |
| 258 | $(bindir)/qemu-mips64 \ |
| 259 | $(bindir)/qemu-mips64el \ |
j_mayer | cf6c1b1 | 2007-04-05 20:46:02 +0000 | [diff] [blame] | 260 | $(bindir)/qemu-alpha \ |
ths | ff1aaf6 | 2007-09-29 21:18:26 +0000 | [diff] [blame] | 261 | $(bindir)/qemu-m68k \ |
| 262 | $(bindir)/qemu-sh4 \ |
bellard | b932cab | 2004-08-01 21:46:49 +0000 | [diff] [blame] | 263 | $(bindir)/qemu-img \ |
bellard | 7efa438 | 2004-05-12 18:54:06 +0000 | [diff] [blame] | 264 | $(datadir)/bios.bin \ |
| 265 | $(datadir)/vgabios.bin \ |
bellard | de9258a | 2004-06-06 15:50:03 +0000 | [diff] [blame] | 266 | $(datadir)/vgabios-cirrus.bin \ |
bellard | 637f6cd | 2004-06-21 19:54:47 +0000 | [diff] [blame] | 267 | $(datadir)/ppc_rom.bin \ |
bellard | d529525 | 2005-07-03 14:00:51 +0000 | [diff] [blame] | 268 | $(datadir)/video.x \ |
bellard | 0986ac3 | 2006-06-14 12:36:32 +0000 | [diff] [blame] | 269 | $(datadir)/openbios-sparc32 \ |
bellard | 19c80e5 | 2007-02-05 21:22:42 +0000 | [diff] [blame] | 270 | $(datadir)/pxe-ne2k_pci.bin \ |
| 271 | $(datadir)/pxe-rtl8139.bin \ |
| 272 | $(datadir)/pxe-pcnet.bin \ |
bellard | 1f50f8d | 2004-05-08 14:44:43 +0000 | [diff] [blame] | 273 | $(docdir)/qemu-doc.html \ |
| 274 | $(docdir)/qemu-tech.html \ |
bellard | acd935e | 2004-11-15 22:57:26 +0000 | [diff] [blame] | 275 | $(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1 ) |
bellard | d691f66 | 2003-03-24 21:58:34 +0000 | [diff] [blame] | 276 | |
bellard | 31e31b8 | 2003-02-18 22:55:36 +0000 | [diff] [blame] | 277 | ifneq ($(wildcard .depend),) |
| 278 | include .depend |
| 279 | endif |
bellard | 4fb240a | 2007-11-07 19:24:02 +0000 | [diff] [blame] | 280 | |
| 281 | # Include automatically generated dependency files |
| 282 | -include $(wildcard *.d audio/*.d slirp/*.d) |