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