mirror of
https://github.com/qemu/qemu.git
synced 2024-12-12 05:03:42 +08:00
8000047e99
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
35 lines
1013 B
Makefile
35 lines
1013 B
Makefile
#######################################################################
|
|
# Common libraries for tools and emulators
|
|
qom-obj-y = qom/libqom.fa
|
|
|
|
#######################################################################
|
|
# code used by both qemu system emulation and qemu-img
|
|
|
|
ifeq ($(call lor,$(CONFIG_SOFTMMU),$(CONFIG_TOOLS)),y)
|
|
|
|
authz-obj-y = authz/libauthz.fa
|
|
authz/libauthz.fa-libs = $(if $(CONFIG_AUTH_PAM),-lpam)
|
|
|
|
block-obj-y += libblock.fa
|
|
|
|
libblock.fa-libs = $(ZSTD_LIBS)
|
|
libblock.fa-libs += $(LIBNFS_LIBS)
|
|
libblock.fa-libs += $(LIBISCSI_LIBS)
|
|
libblock.fa-libs += $(CURL_LIBS)
|
|
libblock.fa-libs += $(RBD_LIBS)
|
|
libblock.fa-libs += $(GLUSTERFS_LIBS)
|
|
libblock.fa-libs += $(VXHS_LIBS)
|
|
libblock.fa-libs += $(LIBSSH_LIBS)
|
|
libblock.fa-libs += $(BZIP2_LIBS)
|
|
libblock.fa-libs += $(LZFSE_LIBS)
|
|
libblock.fa-libs += $(if $(CONFIG_LINUX_AIO),-laio)
|
|
libblock.fa-libs += $(LIBXML2_LIBS)
|
|
|
|
chardev-obj-y = chardev/libchardev.fa
|
|
|
|
crypto-obj-y = crypto/libcrypto.fa
|
|
|
|
io-obj-y = io/libio.fa
|
|
|
|
endif # CONFIG_SOFTMMU or CONFIG_TOOLS
|