linux-user: Add support for a group of btrfs ioctls used for snapshots
[qemu.git] / Makefile.objs
1 #######################################################################
2 # Common libraries for tools and emulators
3 qom-obj-y = qom/libqom.fa
4
5 #######################################################################
6 # code used by both qemu system emulation and qemu-img
7
8 ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y)
9
10 authz-obj-y = authz/libauthz.fa
11 authz/libauthz.fa-libs = $(if $(CONFIG_AUTH_PAM),-lpam)
12
13 block-obj-y += libblock.fa
14
15 libblock.fa-libs = $(ZSTD_LIBS)
16 libblock.fa-libs += $(LIBNFS_LIBS)
17 libblock.fa-libs += $(LIBISCSI_LIBS)
18 libblock.fa-libs += $(CURL_LIBS)
19 libblock.fa-libs += $(RBD_LIBS)
20 libblock.fa-libs += $(GLUSTERFS_LIBS)
21 libblock.fa-libs += $(VXHS_LIBS)
22 libblock.fa-libs += $(LIBSSH_LIBS)
23 libblock.fa-libs += $(BZIP2_LIBS)
24 libblock.fa-libs += $(LZFSE_LIBS)
25 libblock.fa-libs += $(if $(CONFIG_LINUX_AIO),-laio)
26 libblock.fa-libs += $(LIBXML2_LIBS)
27
28 chardev-obj-y = chardev/libchardev.fa
29
30 crypto-obj-y = crypto/libcrypto.fa
31
32 io-obj-y = io/libio.fa
33
34 endif # CONFIG_SOFTMMU or CONFIG_TOOLS