]> Git Repo - qemu.git/blame - Makefile.objs
meson: convert chardev directory to Meson (tools part)
[qemu.git] / Makefile.objs
CommitLineData
3bc2f570 1#######################################################################
a372823a 2# Common libraries for tools and emulators
de59dda3 3qom-obj-y = qom/libqom.fa
32d955a4 4
5b76dd13 5#######################################################################
4dd9c3d0 6# code used by both qemu system emulation and qemu-img
5b76dd13 7
4dd9c3d0 8ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y)
5b76dd13 9
5e7fbd25
MAL
10authz-obj-y = authz/libauthz.fa
11authz/libauthz.fa-libs = $(if $(CONFIG_AUTH_PAM),-lpam)
0e8c9214 12
e37adbeb 13block-obj-y = block/ nbd/ scsi/
33e9e9bd 14block-obj-y += block.o blockjob.o job.o
587da2c3 15block-obj-y += qemu-io-cmds.o
190b9a8b 16block-obj-$(CONFIG_REPLICATION) += replication.o
0e8c9214 17
cc475698
FZ
18block-obj-m = block/
19
848e8ff6
MAL
20chardev-obj-y = chardev/libchardev.fa
21
5582c58f 22crypto-obj-y = crypto/libcrypto.fa
74db920c 23
7fcfd456 24io-obj-y = io/libio.fa
666a3af9 25
4dd9c3d0
PMD
26endif # CONFIG_SOFTMMU or CONFIG_TOOLS
27
14837c64
KW
28#######################################################################
29# storage-daemon-obj-y is code used by qemu-storage-daemon (these objects are
30# used for system emulation, too, but specified separately there)
31
2af282ec
KW
32storage-daemon-obj-y = block/ monitor/ qapi/ qom/ storage-daemon/
33storage-daemon-obj-y += blockdev.o blockdev-nbd.o iothread.o job-qmp.o
aa70683d
KW
34storage-daemon-obj-$(CONFIG_WIN32) += os-win32.o
35storage-daemon-obj-$(CONFIG_POSIX) += os-posix.o
14837c64 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/
5ddc6482 44common-obj-y += bootdevice.o iothread.o
2608b3df 45common-obj-y += dump/
1a90bc81 46common-obj-y += job-qmp.o
7e3c0dea 47common-obj-y += monitor/
fd9400b3 48common-obj-y += net/
a2dde2f2 49common-obj-y += qdev-monitor.o
b0cb640a
BS
50common-obj-$(CONFIG_WIN32) += os-win32.o
51common-obj-$(CONFIG_POSIX) += os-posix.o
254e5950 52
ee20477d 53common-obj-$(CONFIG_LINUX) += fsdev/
ee20477d 54
03a7a196 55common-obj-y += accel/
60fe637b 56common-obj-y += migration/
0e8c9214 57
b0b68fc6 58common-obj-y += audio/
08a05b37 59common-obj-m += audio/
3d5a3f9a 60common-obj-y += hw/
8887312b 61common-obj-m += hw/
6f991980 62
d73abd6d
PD
63common-obj-y += replay/
64
8867aef0 65common-obj-y += ui/
61b4d9a2 66common-obj-m += ui/
3e230dd2 67
c9159fe9 68common-obj-y += dma-helpers.o
c39f95dc 69common-obj-$(CONFIG_TPM) += tpm.o
0e8c9214 70
a9b7b2ad 71common-obj-y += backends/
6b10e573 72common-obj-y += chardev/
ef138c77 73common-obj-m += chardev/
a9b7b2ad 74
737f3518 75common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
c3883e1f
FZ
76qemu-seccomp.o-cflags := $(SECCOMP_CFLAGS)
77qemu-seccomp.o-libs := $(SECCOMP_LIBS)
f794573e 78
7df057ba
PC
79common-obj-$(CONFIG_FDT) += device_tree.o
80
88554a20 81common-obj-y += qapi/
553ea760
PMD
82
83endif # CONFIG_SOFTMMU
e3193601 84
9444e9e6
PB
85#######################################################################
86# Target-independent parts used in system and user emulation
c482cb11 87common-obj-y += cpus-common.o
00082344
PB
88common-obj-y += hw/
89common-obj-y += qom/
90common-obj-y += disas/
ce008c1f 91
0b516ef0
SW
92######################################################################
93# Resource file for Windows executables
94version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
This page took 0.490365 seconds and 4 git commands to generate.