mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Introduce a new storage_file directory where we will keep storage file related code. Add a backend prefix to the file name to separate it from other future files with 'storage_file' prefix. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
39 lines
755 B
Meson
39 lines
755 B
Meson
stoarge_file_fs_sources = [
|
|
'storage_file_backend_fs.c',
|
|
]
|
|
|
|
storage_file_gluster_sources = [
|
|
'storage_file_backend_gluster.c',
|
|
]
|
|
|
|
storage_file_install_dir = libdir / 'libvirt' / 'storage-file'
|
|
|
|
if conf.has('WITH_STORAGE')
|
|
virt_modules += {
|
|
'name': 'virt_storage_file_fs',
|
|
'sources': [
|
|
files(stoarge_file_fs_sources),
|
|
],
|
|
'include': [
|
|
storage_inc_dir,
|
|
],
|
|
'install_dir': storage_file_install_dir,
|
|
}
|
|
endif
|
|
|
|
if conf.has('WITH_STORAGE_GLUSTER')
|
|
virt_modules += {
|
|
'name': 'virt_storage_file_gluster',
|
|
'sources': [
|
|
files(storage_file_gluster_sources),
|
|
],
|
|
'include': [
|
|
storage_inc_dir,
|
|
],
|
|
'deps': [
|
|
glusterfs_dep,
|
|
],
|
|
'install_dir': storage_file_install_dir,
|
|
}
|
|
endif
|