mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
![Marc-André Lureau](/assets/img/avatar_default.png)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
35 lines
1,013 B
Makefile
35 lines
1,013 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
|