]> git.proxmox.com Git - qemu.git/blame - Makefile.objs
Drop --whole-archive and static libraries
[qemu.git] / Makefile.objs
CommitLineData
0e8c9214
AF
1#######################################################################
2# QObject
3qobject-obj-y = qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o
4qobject-obj-y += qjson.o json-lexer.o json-streamer.o json-parser.o
5qobject-obj-y += qerror.o
6
7#######################################################################
8# block-obj-y is code used by both qemu system emulation and qemu-img
9
10block-obj-y = cutils.o cache-utils.o qemu-malloc.o qemu-option.o module.o
11block-obj-y += nbd.o block.o aio.o aes.o osdep.o
12block-obj-$(CONFIG_POSIX) += posix-aio-compat.o
13block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
14
15block-nested-y += cow.o qcow.o vdi.o vmdk.o cloop.o dmg.o bochs.o vpc.o vvfat.o
16block-nested-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o
17block-nested-y += parallels.o nbd.o
18block-nested-$(CONFIG_WIN32) += raw-win32.o
19block-nested-$(CONFIG_POSIX) += raw-posix.o
20block-nested-$(CONFIG_CURL) += curl.o
21
22block-obj-y += $(addprefix block/, $(block-nested-y))
23
24net-obj-y = net.o
25net-nested-y = queue.o checksum.o util.o
26net-nested-y += socket.o
27net-nested-y += dump.o
28net-nested-$(CONFIG_POSIX) += tap.o
29net-nested-$(CONFIG_LINUX) += tap-linux.o
30net-nested-$(CONFIG_WIN32) += tap-win32.o
31net-nested-$(CONFIG_BSD) += tap-bsd.o
32net-nested-$(CONFIG_SOLARIS) += tap-solaris.o
33net-nested-$(CONFIG_AIX) += tap-aix.o
34net-nested-$(CONFIG_SLIRP) += slirp.o
35net-nested-$(CONFIG_VDE) += vde.o
36net-obj-y += $(addprefix net/, $(net-nested-y))
37
38######################################################################
39# libqemu_common.a: Target independent part of system emulation. The
40# long term path is to suppress *all* target specific code in case of
41# system emulation, i.e. a single QEMU executable should support all
42# CPUs and machines.
43
44common-obj-y = $(block-obj-y)
45common-obj-y += $(net-obj-y)
46common-obj-y += $(qobject-obj-y)
47common-obj-y += readline.o console.o
48
49common-obj-y += tcg-runtime.o host-utils.o
50common-obj-y += irq.o ioport.o
51common-obj-$(CONFIG_PTIMER) += ptimer.o
52common-obj-$(CONFIG_MAX7310) += max7310.o
53common-obj-$(CONFIG_WM8750) += wm8750.o
54common-obj-$(CONFIG_TWL92230) += twl92230.o
55common-obj-$(CONFIG_TSC2005) += tsc2005.o
56common-obj-$(CONFIG_LM832X) += lm832x.o
57common-obj-$(CONFIG_TMP105) += tmp105.o
58common-obj-$(CONFIG_STELLARIS_INPUT) += stellaris_input.o
59common-obj-$(CONFIG_SSD0303) += ssd0303.o
60common-obj-$(CONFIG_SSD0323) += ssd0323.o
61common-obj-$(CONFIG_ADS7846) += ads7846.o
62common-obj-$(CONFIG_MAX111X) += max111x.o
63common-obj-$(CONFIG_DS1338) += ds1338.o
64common-obj-y += i2c.o smbus.o smbus_eeprom.o
65common-obj-y += eeprom93xx.o
66common-obj-y += scsi-disk.o cdrom.o
67common-obj-y += scsi-generic.o scsi-bus.o
68common-obj-y += usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o
69common-obj-y += usb-serial.o usb-net.o usb-bus.o
70common-obj-$(CONFIG_SSI) += ssi.o
71common-obj-$(CONFIG_SSI_SD) += ssi-sd.o
72common-obj-$(CONFIG_SD) += sd.o
73common-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
74common-obj-y += bt-hci-csr.o
75common-obj-y += buffered_file.o migration.o migration-tcp.o qemu-sockets.o
76common-obj-y += qemu-char.o savevm.o #aio.o
77common-obj-y += msmouse.o ps2.o
78common-obj-y += qdev.o qdev-properties.o
79common-obj-y += qemu-config.o block-migration.o
80
81common-obj-$(CONFIG_BRLAPI) += baum.o
82common-obj-$(CONFIG_POSIX) += migration-exec.o migration-unix.o migration-fd.o
83
84audio-obj-y = audio.o noaudio.o wavaudio.o mixeng.o
85audio-obj-$(CONFIG_SDL) += sdlaudio.o
86audio-obj-$(CONFIG_OSS) += ossaudio.o
87audio-obj-$(CONFIG_COREAUDIO) += coreaudio.o
88audio-obj-$(CONFIG_ALSA) += alsaaudio.o
89audio-obj-$(CONFIG_DSOUND) += dsoundaudio.o
90audio-obj-$(CONFIG_FMOD) += fmodaudio.o
91audio-obj-$(CONFIG_ESD) += esdaudio.o
92audio-obj-$(CONFIG_PA) += paaudio.o
93audio-obj-$(CONFIG_WINWAVE) += winwaveaudio.o
94audio-obj-$(CONFIG_AUDIO_PT_INT) += audio_pt_int.o
95audio-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o
96audio-obj-y += wavcapture.o
97common-obj-y += $(addprefix audio/, $(audio-obj-y))
98
99common-obj-y += keymaps.o
100common-obj-$(CONFIG_SDL) += sdl.o sdl_zoom.o x_keymap.o
101common-obj-$(CONFIG_CURSES) += curses.o
102common-obj-y += vnc.o acl.o d3des.o
103common-obj-$(CONFIG_VNC_TLS) += vnc-tls.o vnc-auth-vencrypt.o
104common-obj-$(CONFIG_VNC_SASL) += vnc-auth-sasl.o
105common-obj-$(CONFIG_COCOA) += cocoa.o
106common-obj-$(CONFIG_IOTHREAD) += qemu-thread.o
107
108slirp-obj-y = cksum.o if.o ip_icmp.o ip_input.o ip_output.o
109slirp-obj-y += slirp.o mbuf.o misc.o sbuf.o socket.o tcp_input.o tcp_output.o
110slirp-obj-y += tcp_subr.o tcp_timer.o udp.o bootp.o tftp.o
111common-obj-$(CONFIG_SLIRP) += $(addprefix slirp/, $(slirp-obj-y))
112
113# xen backend driver support
114common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o
115common-obj-$(CONFIG_XEN) += xen_console.o xenfb.o xen_disk.o xen_nic.o
116
117######################################################################
118# libuser
119
120user-obj-y =
121user-obj-y += envlist.o path.o
122user-obj-y += tcg-runtime.o host-utils.o
123user-obj-y += cutils.o cache-utils.o
124
125######################################################################
126# libhw
127
128hw-obj-y =
129hw-obj-y += loader.o
130hw-obj-y += virtio.o
131hw-obj-y += fw_cfg.o
132hw-obj-y += watchdog.o
133hw-obj-$(CONFIG_ECC) += ecc.o
134hw-obj-$(CONFIG_NAND) += nand.o
135
136hw-obj-$(CONFIG_M48T59) += m48t59.o
137hw-obj-$(CONFIG_ESCC) += escc.o
138
139# PCI watchdog devices
140hw-obj-y += wdt_i6300esb.o
141
142hw-obj-y += msix.o
143
144# PCI network cards
145hw-obj-y += ne2000.o
146
147hw-obj-$(CONFIG_SMC91C111) += smc91c111.o
148hw-obj-$(CONFIG_LAN9118) += lan9118.o
149
150# SCSI layer
151hw-obj-y += lsi53c895a.o
152hw-obj-$(CONFIG_ESP) += esp.o
153
154hw-obj-y += dma-helpers.o sysbus.o isa-bus.o
155hw-obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o