summaryrefslogblamecommitdiffstats
path: root/Makefile.objs
blob: c351b59641062f46ebaae57ca9501aa1ea859095 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                       
                                          
                         
 
                                                                       
                                                      
 
                                                      
 

                                                       
 













                                                   
 

                                     
                                  
 
                      
 
                                      
#######################################################################
# 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