]> git.proxmox.com Git - mirror_qemu.git/blame - Makefile.objs
contrib: add ivshmem client and server
[mirror_qemu.git] / Makefile.objs
CommitLineData
3bc2f570 1#######################################################################
a372823a 2# Common libraries for tools and emulators
3bc2f570 3stub-obj-y = stubs/
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
PB
10block-obj-y = async.o thread-pool.o
11block-obj-y += nbd.o block.o blockjob.o
f157ebba
PB
12block-obj-y += main-loop.o iohandler.o qemu-timer.o
13block-obj-$(CONFIG_POSIX) += aio-posix.o
14block-obj-$(CONFIG_WIN32) += aio-win32.o
7456e4ce 15block-obj-y += block/
587da2c3 16block-obj-y += qemu-io-cmds.o
0e8c9214 17
cc475698
FZ
18block-obj-m = block/
19
fb37726d
DB
20#######################################################################
21# crypto-obj-y is code used by both qemu system emulation and qemu-img
22
23crypto-obj-y = crypto/
24crypto-aes-obj-y = crypto/
74db920c 25
0c7012e0
DB
26#######################################################################
27# qom-obj-y is code used by both qemu system emulation and qemu-img
28
29qom-obj-y = qom/
30
0e8c9214 31######################################################################
050d9940
CWR
32# Target independent part of system emulation. The long term path is to
33# suppress *all* target specific code in case of system emulation, i.e. a
34# single QEMU executable should support all CPUs and machines.
0e8c9214 35
00082344 36ifeq ($(CONFIG_SOFTMMU),y)
ba1183da 37common-obj-y = blockdev.o blockdev-nbd.o block/
be8d8537 38common-obj-y += iothread.o
fd9400b3 39common-obj-y += net/
1559e0d4 40common-obj-y += qdev-monitor.o device-hotplug.o
b0cb640a
BS
41common-obj-$(CONFIG_WIN32) += os-win32.o
42common-obj-$(CONFIG_POSIX) += os-posix.o
254e5950 43
ee20477d 44common-obj-$(CONFIG_LINUX) += fsdev/
ee20477d 45
60fe637b 46common-obj-y += migration/
c5705a77 47common-obj-y += qemu-char.o #aio.o
60fe637b 48common-obj-y += page_cache.o
190c882c 49common-obj-y += qjson.o
0e8c9214 50
8867aef0 51common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
b0b68fc6
PB
52
53common-obj-y += audio/
3d5a3f9a 54common-obj-y += hw/
a1a9cb0c 55common-obj-y += accel.o
6f991980 56
8867aef0 57common-obj-y += ui/
3d5a3f9a 58common-obj-y += bt-host.o bt-vhci.o
849d8284 59bt-host.o-cflags := $(BLUEZ_CFLAGS)
3e230dd2 60
c9159fe9 61common-obj-y += dma-helpers.o
c9159fe9 62common-obj-y += vl.o
849d8284 63vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
bdee56f5 64common-obj-y += tpm.o
0e8c9214 65
4c696054 66common-obj-$(CONFIG_SLIRP) += slirp/
0e8c9214 67
a9b7b2ad
AL
68common-obj-y += backends/
69
737f3518 70common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
f794573e 71
7df057ba
PC
72common-obj-$(CONFIG_FDT) += device_tree.o
73
2345c77c
MR
74######################################################################
75# qapi
76
8e8aba50 77common-obj-y += qmp-marshal.o
39a18158 78common-obj-y += qmp-introspect.o
48a32bed 79common-obj-y += qmp.o hmp.o
00082344 80endif
e3193601 81
9444e9e6
PB
82#######################################################################
83# Target-independent parts used in system and user emulation
00082344
PB
84common-obj-y += qemu-log.o
85common-obj-y += tcg-runtime.o
86common-obj-y += hw/
87common-obj-y += qom/
88common-obj-y += disas/
ce008c1f 89
0b516ef0
SW
90######################################################################
91# Resource file for Windows executables
92version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
93version-lobj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.lo
94
341ea691
LV
95######################################################################
96# tracing
97util-obj-y += trace/
98target-obj-y += trace/
99
957f1f99
MR
100######################################################################
101# guest agent
102
59cacde8
PB
103# FIXME: a few definitions from qapi-types.o/qapi-visit.o are needed
104# by libqemuutil.a. These should be moved to a separate .json schema.
169a24ae 105qga-obj-y = qga/
b39297ae 106qga-vss-dll-obj-y = qga/
a75eb03b
DM
107
108######################################################################
109# contrib
110ivshmem-client-obj-y = contrib/ivshmem-client/
111ivshmem-server-obj-y = contrib/ivshmem-server/