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