Statistics
| Branch: | Revision:

root / Makefile.objs @ 087431d1

History | View | Annotate | Download (8.5 kB)

1 0e8c9214 Andreas Färber
#######################################################################
2 0e8c9214 Andreas Färber
# QObject
3 0e8c9214 Andreas Färber
qobject-obj-y = qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o
4 0e8c9214 Andreas Färber
qobject-obj-y += qjson.o json-lexer.o json-streamer.o json-parser.o
5 0e8c9214 Andreas Färber
qobject-obj-y += qerror.o
6 0e8c9214 Andreas Färber
7 0e8c9214 Andreas Färber
#######################################################################
8 0e8c9214 Andreas Färber
# block-obj-y is code used by both qemu system emulation and qemu-img
9 0e8c9214 Andreas Färber
10 0e8c9214 Andreas Färber
block-obj-y = cutils.o cache-utils.o qemu-malloc.o qemu-option.o module.o
11 0e8c9214 Andreas Färber
block-obj-y += nbd.o block.o aio.o aes.o osdep.o
12 0e8c9214 Andreas Färber
block-obj-$(CONFIG_POSIX) += posix-aio-compat.o
13 0e8c9214 Andreas Färber
block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
14 0e8c9214 Andreas Färber
15 0e8c9214 Andreas Färber
block-nested-y += cow.o qcow.o vdi.o vmdk.o cloop.o dmg.o bochs.o vpc.o vvfat.o
16 0e8c9214 Andreas Färber
block-nested-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o
17 0e8c9214 Andreas Färber
block-nested-y += parallels.o nbd.o
18 0e8c9214 Andreas Färber
block-nested-$(CONFIG_WIN32) += raw-win32.o
19 0e8c9214 Andreas Färber
block-nested-$(CONFIG_POSIX) += raw-posix.o
20 0e8c9214 Andreas Färber
block-nested-$(CONFIG_CURL) += curl.o
21 0e8c9214 Andreas Färber
22 0e8c9214 Andreas Färber
block-obj-y +=  $(addprefix block/, $(block-nested-y))
23 0e8c9214 Andreas Färber
24 0e8c9214 Andreas Färber
net-obj-y = net.o
25 0e8c9214 Andreas Färber
net-nested-y = queue.o checksum.o util.o
26 0e8c9214 Andreas Färber
net-nested-y += socket.o
27 0e8c9214 Andreas Färber
net-nested-y += dump.o
28 0e8c9214 Andreas Färber
net-nested-$(CONFIG_POSIX) += tap.o
29 0e8c9214 Andreas Färber
net-nested-$(CONFIG_LINUX) += tap-linux.o
30 0e8c9214 Andreas Färber
net-nested-$(CONFIG_WIN32) += tap-win32.o
31 0e8c9214 Andreas Färber
net-nested-$(CONFIG_BSD) += tap-bsd.o
32 0e8c9214 Andreas Färber
net-nested-$(CONFIG_SOLARIS) += tap-solaris.o
33 0e8c9214 Andreas Färber
net-nested-$(CONFIG_AIX) += tap-aix.o
34 0e8c9214 Andreas Färber
net-nested-$(CONFIG_SLIRP) += slirp.o
35 0e8c9214 Andreas Färber
net-nested-$(CONFIG_VDE) += vde.o
36 0e8c9214 Andreas Färber
net-obj-y += $(addprefix net/, $(net-nested-y))
37 0e8c9214 Andreas Färber
38 0e8c9214 Andreas Färber
######################################################################
39 0e8c9214 Andreas Färber
# libqemu_common.a: Target independent part of system emulation. The
40 0e8c9214 Andreas Färber
# long term path is to suppress *all* target specific code in case of
41 0e8c9214 Andreas Färber
# system emulation, i.e. a single QEMU executable should support all
42 0e8c9214 Andreas Färber
# CPUs and machines.
43 0e8c9214 Andreas Färber
44 0e8c9214 Andreas Färber
common-obj-y = $(block-obj-y)
45 0e8c9214 Andreas Färber
common-obj-y += $(net-obj-y)
46 0e8c9214 Andreas Färber
common-obj-y += $(qobject-obj-y)
47 e1060e9d Blue Swirl
common-obj-y += readline.o console.o async.o qemu-error.o
48 0e8c9214 Andreas Färber
49 0e8c9214 Andreas Färber
common-obj-y += tcg-runtime.o host-utils.o
50 8f0056b7 Paolo Bonzini
common-obj-y += irq.o ioport.o input.o
51 0e8c9214 Andreas Färber
common-obj-$(CONFIG_PTIMER) += ptimer.o
52 0e8c9214 Andreas Färber
common-obj-$(CONFIG_MAX7310) += max7310.o
53 0e8c9214 Andreas Färber
common-obj-$(CONFIG_WM8750) += wm8750.o
54 0e8c9214 Andreas Färber
common-obj-$(CONFIG_TWL92230) += twl92230.o
55 0e8c9214 Andreas Färber
common-obj-$(CONFIG_TSC2005) += tsc2005.o
56 0e8c9214 Andreas Färber
common-obj-$(CONFIG_LM832X) += lm832x.o
57 0e8c9214 Andreas Färber
common-obj-$(CONFIG_TMP105) += tmp105.o
58 0e8c9214 Andreas Färber
common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
59 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SSD0303) += ssd0303.o
60 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SSD0323) += ssd0323.o
61 0e8c9214 Andreas Färber
common-obj-$(CONFIG_ADS7846) += ads7846.o
62 0e8c9214 Andreas Färber
common-obj-$(CONFIG_MAX111X) += max111x.o
63 0e8c9214 Andreas Färber
common-obj-$(CONFIG_DS1338) += ds1338.o
64 0e8c9214 Andreas Färber
common-obj-y += i2c.o smbus.o smbus_eeprom.o
65 0e8c9214 Andreas Färber
common-obj-y += eeprom93xx.o
66 0e8c9214 Andreas Färber
common-obj-y += scsi-disk.o cdrom.o
67 0e8c9214 Andreas Färber
common-obj-y += scsi-generic.o scsi-bus.o
68 0e8c9214 Andreas Färber
common-obj-y += usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o
69 0e8c9214 Andreas Färber
common-obj-y += usb-serial.o usb-net.o usb-bus.o
70 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SSI) += ssi.o
71 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SSI_SD) += ssi-sd.o
72 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SD) += sd.o
73 0e8c9214 Andreas Färber
common-obj-y += bt.o bt-host.o bt-vhci.o bt-l2cap.o bt-sdp.o bt-hci.o bt-hid.o usb-bt.o
74 0e8c9214 Andreas Färber
common-obj-y += bt-hci-csr.o
75 0e8c9214 Andreas Färber
common-obj-y += buffered_file.o migration.o migration-tcp.o qemu-sockets.o
76 0e8c9214 Andreas Färber
common-obj-y += qemu-char.o savevm.o #aio.o
77 0e8c9214 Andreas Färber
common-obj-y += msmouse.o ps2.o
78 0e8c9214 Andreas Färber
common-obj-y += qdev.o qdev-properties.o
79 0e8c9214 Andreas Färber
common-obj-y += qemu-config.o block-migration.o
80 0e8c9214 Andreas Färber
81 0e8c9214 Andreas Färber
common-obj-$(CONFIG_BRLAPI) += baum.o
82 0e8c9214 Andreas Färber
common-obj-$(CONFIG_POSIX) += migration-exec.o migration-unix.o migration-fd.o
83 0e8c9214 Andreas Färber
84 0e8c9214 Andreas Färber
audio-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
85 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_SDL) += sdlaudio.o
86 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_OSS) += ossaudio.o
87 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_COREAUDIO) += coreaudio.o
88 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_ALSA) += alsaaudio.o
89 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_DSOUND) += dsoundaudio.o
90 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_FMOD) += fmodaudio.o
91 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_ESD) += esdaudio.o
92 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_PA) += paaudio.o
93 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_WINWAVE) += winwaveaudio.o
94 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_AUDIO_PT_INT) += audio_pt_int.o
95 0e8c9214 Andreas Färber
audio-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o
96 0e8c9214 Andreas Färber
audio-obj-y += wavcapture.o
97 0e8c9214 Andreas Färber
common-obj-y += $(addprefix audio/, $(audio-obj-y))
98 0e8c9214 Andreas Färber
99 0e8c9214 Andreas Färber
common-obj-y += keymaps.o
100 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SDL) += sdl.o sdl_zoom.o x_keymap.o
101 0e8c9214 Andreas Färber
common-obj-$(CONFIG_CURSES) += curses.o
102 0e8c9214 Andreas Färber
common-obj-y += vnc.o acl.o d3des.o
103 0e8c9214 Andreas Färber
common-obj-$(CONFIG_VNC_TLS) += vnc-tls.o vnc-auth-vencrypt.o
104 0e8c9214 Andreas Färber
common-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
105 0e8c9214 Andreas Färber
common-obj-$(CONFIG_COCOA) += cocoa.o
106 0e8c9214 Andreas Färber
common-obj-$(CONFIG_IOTHREAD) += qemu-thread.o
107 d1e70c5e Anthony Liguori
common-obj-y += notify.o
108 29e922b6 Blue Swirl
common-obj-y += qemu-timer.o
109 0e8c9214 Andreas Färber
110 0e8c9214 Andreas Färber
slirp-obj-y = cksum.o if.o ip_icmp.o ip_input.o ip_output.o
111 0e8c9214 Andreas Färber
slirp-obj-y += slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o
112 0e8c9214 Andreas Färber
slirp-obj-y += tcp_subr.o tcp_timer.o udp.o bootp.o tftp.o
113 0e8c9214 Andreas Färber
common-obj-$(CONFIG_SLIRP) += $(addprefix slirp/, $(slirp-obj-y))
114 0e8c9214 Andreas Färber
115 0e8c9214 Andreas Färber
# xen backend driver support
116 0e8c9214 Andreas Färber
common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o
117 0e8c9214 Andreas Färber
common-obj-$(CONFIG_XEN) += xen_console.o xenfb.o xen_disk.o xen_nic.o
118 0e8c9214 Andreas Färber
119 0e8c9214 Andreas Färber
######################################################################
120 0e8c9214 Andreas Färber
# libuser
121 0e8c9214 Andreas Färber
122 0e8c9214 Andreas Färber
user-obj-y =
123 0e8c9214 Andreas Färber
user-obj-y += envlist.o path.o
124 0e8c9214 Andreas Färber
user-obj-y += tcg-runtime.o host-utils.o
125 0e8c9214 Andreas Färber
user-obj-y += cutils.o cache-utils.o
126 0e8c9214 Andreas Färber
127 0e8c9214 Andreas Färber
######################################################################
128 0e8c9214 Andreas Färber
# libhw
129 0e8c9214 Andreas Färber
130 0e8c9214 Andreas Färber
hw-obj-y =
131 b33612d0 Anthony Liguori
hw-obj-y += loader.o
132 b305b9d7 Alexander Graf
hw-obj-y += virtio.o virtio-console.o
133 952760bb Blue Swirl
hw-obj-y += fw_cfg.o pci.o pci_host.o pcie_host.o
134 0e8c9214 Andreas Färber
hw-obj-y += watchdog.o
135 84108e12 Blue Swirl
hw-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o
136 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_ECC) += ecc.o
137 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_NAND) += nand.o
138 3d08ff69 Blue Swirl
hw-obj-$(CONFIG_PFLASH_CFI01) += pflash_cfi01.o
139 5f9fc5ad Blue Swirl
hw-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o
140 0e8c9214 Andreas Färber
141 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_M48T59) += m48t59.o
142 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_ESCC) += escc.o
143 0e8c9214 Andreas Färber
144 2d48377a Blue Swirl
hw-obj-$(CONFIG_SERIAL) += serial.o
145 b9945046 Blue Swirl
hw-obj-$(CONFIG_PARALLEL) += parallel.o
146 df632778 Blue Swirl
hw-obj-$(CONFIG_I8254) += i8254.o
147 71093711 Blue Swirl
hw-obj-$(CONFIG_PCSPK) += pcspk.o
148 4c65f1e5 Blue Swirl
hw-obj-$(CONFIG_USB_UHCI) += usb-uhci.o
149 f1698408 Blue Swirl
hw-obj-$(CONFIG_USB_OHCI) += usb-ohci.o
150 35da37e1 Blue Swirl
hw-obj-$(CONFIG_FDC) += fdc.o
151 53b67b30 Blue Swirl
hw-obj-$(CONFIG_ACPI) += acpi.o
152 add85a76 Blue Swirl
153 add85a76 Blue Swirl
# PPC devices
154 5c4532ee Blue Swirl
hw-obj-$(CONFIG_OPENPIC) += openpic.o
155 add85a76 Blue Swirl
hw-obj-$(CONFIG_PREP_PCI) += prep_pci.o
156 2b5eb371 Blue Swirl
# Mac shared devices
157 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_MACIO) += macio.o
158 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_CUDA) += cuda.o
159 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_ADB) += adb.o
160 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o
161 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_MAC_DBDMA) += mac_dbdma.o
162 2b5eb371 Blue Swirl
# OldWorld PowerMac
163 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_HEATHROW_PIC) += heathrow_pic.o
164 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_GRACKLE_PCI) += grackle_pci.o
165 2b5eb371 Blue Swirl
# NewWorld PowerMac
166 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_UNIN_PCI) += unin_pci.o
167 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_DEC_PCI) += dec_pci.o
168 2b5eb371 Blue Swirl
# PowerPC E500 boards
169 2b5eb371 Blue Swirl
hw-obj-$(CONFIG_PPCE500_PCI) += ppce500_pci.o
170 b9945046 Blue Swirl
171 0e8c9214 Andreas Färber
# PCI watchdog devices
172 0e8c9214 Andreas Färber
hw-obj-y += wdt_i6300esb.o
173 0e8c9214 Andreas Färber
174 0e8c9214 Andreas Färber
hw-obj-y += msix.o
175 0e8c9214 Andreas Färber
176 0e8c9214 Andreas Färber
# PCI network cards
177 0e8c9214 Andreas Färber
hw-obj-y += ne2000.o
178 7161e571 Blue Swirl
hw-obj-y += eepro100.o
179 7161e571 Blue Swirl
hw-obj-y += pcnet.o
180 0e8c9214 Andreas Färber
181 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_SMC91C111) += smc91c111.o
182 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_LAN9118) += lan9118.o
183 d3ffc7a6 Blue Swirl
hw-obj-$(CONFIG_NE2000_ISA) += ne2000-isa.o
184 0e8c9214 Andreas Färber
185 9953b2fc Blue Swirl
# IDE
186 f7736b91 Blue Swirl
hw-obj-$(CONFIG_IDE_CORE) += ide/core.o
187 9953b2fc Blue Swirl
hw-obj-$(CONFIG_IDE_QDEV) += ide/qdev.o
188 9953b2fc Blue Swirl
hw-obj-$(CONFIG_IDE_PCI) += ide/pci.o
189 9953b2fc Blue Swirl
hw-obj-$(CONFIG_IDE_ISA) += ide/isa.o
190 9953b2fc Blue Swirl
hw-obj-$(CONFIG_IDE_PIIX) += ide/piix.o
191 9953b2fc Blue Swirl
hw-obj-$(CONFIG_IDE_CMD646) += ide/cmd646.o
192 02c7c992 Blue Swirl
hw-obj-$(CONFIG_IDE_MACIO) += ide/macio.o
193 9953b2fc Blue Swirl
194 0e8c9214 Andreas Färber
# SCSI layer
195 0e8c9214 Andreas Färber
hw-obj-y += lsi53c895a.o
196 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_ESP) += esp.o
197 0e8c9214 Andreas Färber
198 0e8c9214 Andreas Färber
hw-obj-y += dma-helpers.o sysbus.o isa-bus.o
199 0e8c9214 Andreas Färber
hw-obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
200 4d904533 Blue Swirl
201 1afdfddc Blue Swirl
# VGA
202 1afdfddc Blue Swirl
hw-obj-$(CONFIG_VGA_PCI) += vga-pci.o
203 7f55c7ce Blue Swirl
hw-obj-$(CONFIG_VGA_ISA) += vga-isa.o
204 b970ea8f Blue Swirl
hw-obj-$(CONFIG_VGA_ISA_MM) += vga-isa-mm.o
205 57448a97 Blue Swirl
hw-obj-$(CONFIG_VMWARE_VGA) += vmware_vga.o
206 b970ea8f Blue Swirl
207 b970ea8f Blue Swirl
hw-obj-$(CONFIG_RC4030) += rc4030.o
208 b970ea8f Blue Swirl
hw-obj-$(CONFIG_DP8393X) += dp8393x.o
209 b970ea8f Blue Swirl
hw-obj-$(CONFIG_DS1225Y) += ds1225y.o
210 b970ea8f Blue Swirl
hw-obj-$(CONFIG_MIPSNET) += mipsnet.o
211 1afdfddc Blue Swirl
212 70615c38 Blue Swirl
# Sound
213 70615c38 Blue Swirl
sound-obj-y =
214 70615c38 Blue Swirl
sound-obj-$(CONFIG_SB16) += sb16.o
215 70615c38 Blue Swirl
sound-obj-$(CONFIG_ES1370) += es1370.o
216 70615c38 Blue Swirl
sound-obj-$(CONFIG_AC97) += ac97.o
217 70615c38 Blue Swirl
sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o
218 70615c38 Blue Swirl
sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o
219 70615c38 Blue Swirl
sound-obj-$(CONFIG_CS4231A) += cs4231a.o
220 70615c38 Blue Swirl
221 70615c38 Blue Swirl
adlib.o fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
222 70615c38 Blue Swirl
hw-obj-$(CONFIG_SOUND) += $(sound-obj-y)
223 70615c38 Blue Swirl
224 4d904533 Blue Swirl
######################################################################
225 4d904533 Blue Swirl
# libdis
226 4d904533 Blue Swirl
# NOTE: the disassembler code is only needed for debugging
227 4d904533 Blue Swirl
228 4d904533 Blue Swirl
libdis-y =
229 4d904533 Blue Swirl
libdis-$(CONFIG_ALPHA_DIS) += alpha-dis.o
230 4d904533 Blue Swirl
libdis-$(CONFIG_ARM_DIS) += arm-dis.o
231 4d904533 Blue Swirl
libdis-$(CONFIG_CRIS_DIS) += cris-dis.o
232 4d904533 Blue Swirl
libdis-$(CONFIG_HPPA_DIS) += hppa-dis.o
233 4d904533 Blue Swirl
libdis-$(CONFIG_I386_DIS) += i386-dis.o
234 4d904533 Blue Swirl
libdis-$(CONFIG_M68K_DIS) += m68k-dis.o
235 4d904533 Blue Swirl
libdis-$(CONFIG_MICROBLAZE_DIS) += microblaze-dis.o
236 4d904533 Blue Swirl
libdis-$(CONFIG_MIPS_DIS) += mips-dis.o
237 4d904533 Blue Swirl
libdis-$(CONFIG_PPC_DIS) += ppc-dis.o
238 4d904533 Blue Swirl
libdis-$(CONFIG_S390_DIS) += s390-dis.o
239 4d904533 Blue Swirl
libdis-$(CONFIG_SH4_DIS) += sh4-dis.o
240 4d904533 Blue Swirl
libdis-$(CONFIG_SPARC_DIS) += sparc-dis.o
241 ad96090a Blue Swirl
242 ad96090a Blue Swirl
vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
243 ad96090a Blue Swirl
244 ad96090a Blue Swirl
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
245 ad96090a Blue Swirl
246 ad96090a Blue Swirl
vl.o: qemu-options.h
247 ad96090a Blue Swirl
248 ad96090a Blue Swirl
qemu-options.h: $(SRC_PATH)/qemu-options.hx
249 ad96090a Blue Swirl
	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $(TARGET_DIR)$@")