]> git.proxmox.com Git - mirror_qemu.git/blame - Makefile.objs
qcow2: Inform block layer about discard boundaries
[mirror_qemu.git] / Makefile.objs
CommitLineData
3bc2f570 1#######################################################################
a372823a 2# Common libraries for tools and emulators
b917da4c 3stub-obj-y = stubs/ crypto/
39a18158
MA
4util-obj-y = util/ qobject/ qapi/
5util-obj-y += qmp-introspect.o qapi-types.o qapi-visit.o qapi-event.o
3bc2f570 6
0e8c9214
AF
7#######################################################################
8# block-obj-y is code used by both qemu system emulation and qemu-img
9
f157ebba 10block-obj-y = async.o thread-pool.o
798bfe00
FZ
11block-obj-y += nbd/
12block-obj-y += block.o blockjob.o
f157ebba
PB
13block-obj-y += main-loop.o iohandler.o qemu-timer.o
14block-obj-$(CONFIG_POSIX) += aio-posix.o
15block-obj-$(CONFIG_WIN32) += aio-win32.o
7456e4ce 16block-obj-y += block/
587da2c3 17block-obj-y += qemu-io-cmds.o
0e8c9214 18
cc475698
FZ
19block-obj-m = block/
20
fb37726d
DB
21#######################################################################
22# crypto-obj-y is code used by both qemu system emulation and qemu-img
23
24crypto-obj-y = crypto/
25crypto-aes-obj-y = crypto/
74db920c 26
0c7012e0
DB
27#######################################################################
28# qom-obj-y is code used by both qemu system emulation and qemu-img
29
30qom-obj-y = qom/
31
666a3af9
DB
32#######################################################################
33# io-obj-y is code used by both qemu system emulation and qemu-img
34
35io-obj-y = io/
36
0e8c9214 37######################################################################
050d9940
CWR
38# Target independent part of system emulation. The long term path is to
39# suppress *all* target specific code in case of system emulation, i.e. a
40# single QEMU executable should support all CPUs and machines.
0e8c9214 41
00082344 42ifeq ($(CONFIG_SOFTMMU),y)
ba1183da 43common-obj-y = blockdev.o blockdev-nbd.o block/
be8d8537 44common-obj-y += iothread.o
fd9400b3 45common-obj-y += net/
1559e0d4 46common-obj-y += qdev-monitor.o device-hotplug.o
b0cb640a
BS
47common-obj-$(CONFIG_WIN32) += os-win32.o
48common-obj-$(CONFIG_POSIX) += os-posix.o
254e5950 49
ee20477d 50common-obj-$(CONFIG_LINUX) += fsdev/
ee20477d 51
60fe637b 52common-obj-y += migration/
c5705a77 53common-obj-y += qemu-char.o #aio.o
60fe637b 54common-obj-y += page_cache.o
0e8c9214 55
8867aef0 56common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
b0b68fc6
PB
57
58common-obj-y += audio/
3d5a3f9a 59common-obj-y += hw/
a1a9cb0c 60common-obj-y += accel.o
6f991980 61
d73abd6d
PD
62common-obj-y += replay/
63
8867aef0 64common-obj-y += ui/
3d5a3f9a 65common-obj-y += bt-host.o bt-vhci.o
849d8284 66bt-host.o-cflags := $(BLUEZ_CFLAGS)
3e230dd2 67
c9159fe9 68common-obj-y += dma-helpers.o
c9159fe9 69common-obj-y += vl.o
849d8284 70vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
bdee56f5 71common-obj-y += tpm.o
0e8c9214 72
4c696054 73common-obj-$(CONFIG_SLIRP) += slirp/
0e8c9214 74
a9b7b2ad
AL
75common-obj-y += backends/
76
737f3518 77common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
f794573e 78
7df057ba
PC
79common-obj-$(CONFIG_FDT) += device_tree.o
80
2345c77c
MR
81######################################################################
82# qapi
83
8e8aba50 84common-obj-y += qmp-marshal.o
39a18158 85common-obj-y += qmp-introspect.o
48a32bed 86common-obj-y += qmp.o hmp.o
00082344 87endif
e3193601 88
9444e9e6
PB
89#######################################################################
90# Target-independent parts used in system and user emulation
00082344
PB
91common-obj-y += tcg-runtime.o
92common-obj-y += hw/
93common-obj-y += qom/
94common-obj-y += disas/
ce008c1f 95
0b516ef0
SW
96######################################################################
97# Resource file for Windows executables
98version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
99version-lobj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.lo
100
341ea691
LV
101######################################################################
102# tracing
103util-obj-y += trace/
104target-obj-y += trace/
105
957f1f99
MR
106######################################################################
107# guest agent
108
59cacde8
PB
109# FIXME: a few definitions from qapi-types.o/qapi-visit.o are needed
110# by libqemuutil.a. These should be moved to a separate .json schema.
169a24ae 111qga-obj-y = qga/
b39297ae 112qga-vss-dll-obj-y = qga/
a75eb03b
DM
113
114######################################################################
115# contrib
116ivshmem-client-obj-y = contrib/ivshmem-client/
117ivshmem-server-obj-y = contrib/ivshmem-server/
1412cf58
DB
118
119
120######################################################################
121trace-events-y = trace-events
492bb2dd 122trace-events-y += util/trace-events
8451f2f2 123trace-events-y += crypto/trace-events
892bd32e 124trace-events-y += io/trace-events
521d47c6 125trace-events-y += migration/trace-events
b54ca48e 126trace-events-y += block/trace-events
92d32652 127trace-events-y += hw/block/trace-events
732d8314 128trace-events-y += hw/char/trace-events
aebd4d17 129trace-events-y += hw/intc/trace-events
cd8c2fe7 130trace-events-y += hw/net/trace-events
270ab88f 131trace-events-y += hw/virtio/trace-events
92fe6aff 132trace-events-y += hw/audio/trace-events
6b5bacf6 133trace-events-y += hw/misc/trace-events
7da2981e 134trace-events-y += hw/usb/trace-events
de4291ca 135trace-events-y += hw/scsi/trace-events
ddc63e45 136trace-events-y += hw/nvram/trace-events
14750ef1 137trace-events-y += hw/display/trace-events
d1d51198 138trace-events-y += hw/input/trace-events
c3e203f3 139trace-events-y += hw/timer/trace-events
81013450 140trace-events-y += hw/dma/trace-events
f0b9e356 141trace-events-y += hw/sparc/trace-events
1374aecc 142trace-events-y += hw/sd/trace-events
2b785e3c 143trace-events-y += hw/isa/trace-events
5eb76e48 144trace-events-y += hw/i386/trace-events
d018a2e9 145trace-events-y += hw/9pfs/trace-events
3054fba8 146trace-events-y += hw/ppc/trace-events
fec28134 147trace-events-y += hw/pci/trace-events
80aa71e9 148trace-events-y += hw/s390x/trace-events
1cf6ebc7 149trace-events-y += hw/vfio/trace-events
65b5bd3b 150trace-events-y += hw/acpi/trace-events
0b8276d6 151trace-events-y += hw/arm/trace-events
4f92ce13 152trace-events-y += hw/alpha/trace-events
357ac7f3 153trace-events-y += ui/trace-events
66d7a36d 154trace-events-y += audio/trace-events
f3b0163b 155trace-events-y += net/trace-events
8b5ed7df 156trace-events-y += target-i386/trace-events
1cba9b29 157trace-events-y += target-sparc/trace-events
a4e21b3e 158trace-events-y += target-s390x/trace-events
6dfba0ef 159trace-events-y += target-ppc/trace-events
38b1eedc 160trace-events-y += qom/trace-events
f52347d5 161trace-events-y += linux-user/trace-events