]> git.proxmox.com Git - mirror_qemu.git/blame_incremental - Makefile.objs
trace: split out trace events for ui/ directory
[mirror_qemu.git] / Makefile.objs
... / ...
CommitLineData
1#######################################################################
2# Common libraries for tools and emulators
3stub-obj-y = stubs/ crypto/
4util-obj-y = util/ qobject/ qapi/
5util-obj-y += qmp-introspect.o qapi-types.o qapi-visit.o qapi-event.o
6
7#######################################################################
8# block-obj-y is code used by both qemu system emulation and qemu-img
9
10block-obj-y = async.o thread-pool.o
11block-obj-y += nbd/
12block-obj-y += block.o blockjob.o
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
16block-obj-y += block/
17block-obj-y += qemu-io-cmds.o
18
19block-obj-m = block/
20
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/
26
27#######################################################################
28# qom-obj-y is code used by both qemu system emulation and qemu-img
29
30qom-obj-y = qom/
31
32#######################################################################
33# io-obj-y is code used by both qemu system emulation and qemu-img
34
35io-obj-y = io/
36
37######################################################################
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.
41
42ifeq ($(CONFIG_SOFTMMU),y)
43common-obj-y = blockdev.o blockdev-nbd.o block/
44common-obj-y += iothread.o
45common-obj-y += net/
46common-obj-y += qdev-monitor.o device-hotplug.o
47common-obj-$(CONFIG_WIN32) += os-win32.o
48common-obj-$(CONFIG_POSIX) += os-posix.o
49
50common-obj-$(CONFIG_LINUX) += fsdev/
51
52common-obj-y += migration/
53common-obj-y += qemu-char.o #aio.o
54common-obj-y += page_cache.o
55
56common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
57
58common-obj-y += audio/
59common-obj-y += hw/
60common-obj-y += accel.o
61
62common-obj-y += replay/
63
64common-obj-y += ui/
65common-obj-y += bt-host.o bt-vhci.o
66bt-host.o-cflags := $(BLUEZ_CFLAGS)
67
68common-obj-y += dma-helpers.o
69common-obj-y += vl.o
70vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
71common-obj-y += tpm.o
72
73common-obj-$(CONFIG_SLIRP) += slirp/
74
75common-obj-y += backends/
76
77common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
78
79common-obj-$(CONFIG_FDT) += device_tree.o
80
81######################################################################
82# qapi
83
84common-obj-y += qmp-marshal.o
85common-obj-y += qmp-introspect.o
86common-obj-y += qmp.o hmp.o
87endif
88
89#######################################################################
90# Target-independent parts used in system and user emulation
91common-obj-y += tcg-runtime.o
92common-obj-y += hw/
93common-obj-y += qom/
94common-obj-y += disas/
95
96######################################################################
97# Resource file for Windows executables
98version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
99version-lobj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.lo
100
101######################################################################
102# tracing
103util-obj-y += trace/
104target-obj-y += trace/
105
106######################################################################
107# guest agent
108
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.
111qga-obj-y = qga/
112qga-vss-dll-obj-y = qga/
113
114######################################################################
115# contrib
116ivshmem-client-obj-y = contrib/ivshmem-client/
117ivshmem-server-obj-y = contrib/ivshmem-server/
118
119
120######################################################################
121trace-events-y = trace-events
122trace-events-y += util/trace-events
123trace-events-y += crypto/trace-events
124trace-events-y += io/trace-events
125trace-events-y += migration/trace-events
126trace-events-y += block/trace-events
127trace-events-y += hw/block/trace-events
128trace-events-y += hw/char/trace-events
129trace-events-y += hw/intc/trace-events
130trace-events-y += hw/net/trace-events
131trace-events-y += hw/virtio/trace-events
132trace-events-y += hw/audio/trace-events
133trace-events-y += hw/misc/trace-events
134trace-events-y += hw/usb/trace-events
135trace-events-y += hw/scsi/trace-events
136trace-events-y += hw/nvram/trace-events
137trace-events-y += hw/display/trace-events
138trace-events-y += hw/input/trace-events
139trace-events-y += hw/timer/trace-events
140trace-events-y += hw/dma/trace-events
141trace-events-y += hw/sparc/trace-events
142trace-events-y += hw/sd/trace-events
143trace-events-y += hw/isa/trace-events
144trace-events-y += hw/i386/trace-events
145trace-events-y += hw/9pfs/trace-events
146trace-events-y += hw/ppc/trace-events
147trace-events-y += hw/pci/trace-events
148trace-events-y += hw/s390x/trace-events
149trace-events-y += hw/vfio/trace-events
150trace-events-y += hw/acpi/trace-events
151trace-events-y += hw/arm/trace-events
152trace-events-y += hw/alpha/trace-events
153trace-events-y += ui/trace-events