mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 15:15:25 +00:00
meson: src: build libvirt_storage_file_fs.so shared module
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
b2dbe88cda
commit
a043738d13
@ -1,10 +1,5 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
STORAGE_FILE_FS_SOURCES = \
|
|
||||||
storage/storage_file_fs.h \
|
|
||||||
storage/storage_file_fs.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
STORAGE_DRIVER_LVM_SOURCES = \
|
STORAGE_DRIVER_LVM_SOURCES = \
|
||||||
storage/storage_backend_logical.h \
|
storage/storage_backend_logical.h \
|
||||||
storage/storage_backend_logical.c \
|
storage/storage_backend_logical.c \
|
||||||
@ -76,7 +71,6 @@ STATEFUL_DRIVER_SOURCE_FILES += \
|
|||||||
|
|
||||||
storagebackend_LTLIBRARIES =
|
storagebackend_LTLIBRARIES =
|
||||||
|
|
||||||
storagefiledir = $(libdir)/libvirt/storage-file
|
|
||||||
storagefile_LTLIBRARIES =
|
storagefile_LTLIBRARIES =
|
||||||
|
|
||||||
if WITH_STORAGE
|
if WITH_STORAGE
|
||||||
@ -157,18 +151,6 @@ storage/test_virtstoraged.aug: remote/test_libvirtd.aug.in \
|
|||||||
> $@ || rm -f $@
|
> $@ || rm -f $@
|
||||||
|
|
||||||
|
|
||||||
libvirt_storage_file_fs_la_SOURCES = $(STORAGE_FILE_FS_SOURCES)
|
|
||||||
libvirt_storage_file_fs_la_CFLAGS = \
|
|
||||||
-I$(srcdir)/conf \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
storagefile_LTLIBRARIES += libvirt_storage_file_fs.la
|
|
||||||
libvirt_storage_file_fs_la_LDFLAGS = $(AM_LDFLAGS_MOD)
|
|
||||||
libvirt_storage_file_fs_la_LIBADD = \
|
|
||||||
libvirt.la \
|
|
||||||
$(GLIB_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
endif WITH_STORAGE
|
endif WITH_STORAGE
|
||||||
|
|
||||||
if WITH_STORAGE_LVM
|
if WITH_STORAGE_LVM
|
||||||
|
@ -12,7 +12,12 @@ storage_backend_fs_sources = [
|
|||||||
'storage_backend_fs.c',
|
'storage_backend_fs.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
stoarge_file_fs_sources = [
|
||||||
|
'storage_file_fs.c',
|
||||||
|
]
|
||||||
|
|
||||||
storage_backend_install_dir = libdir / 'libvirt' / 'storage-backend'
|
storage_backend_install_dir = libdir / 'libvirt' / 'storage-backend'
|
||||||
|
storage_file_install_dir = libdir / 'libvirt' / 'storage-file'
|
||||||
|
|
||||||
if conf.has('WITH_STORAGE')
|
if conf.has('WITH_STORAGE')
|
||||||
storage_driver_impl_lib = static_library(
|
storage_driver_impl_lib = static_library(
|
||||||
@ -48,4 +53,12 @@ if conf.has('WITH_STORAGE')
|
|||||||
],
|
],
|
||||||
'install_dir': storage_backend_install_dir,
|
'install_dir': storage_backend_install_dir,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virt_modules += {
|
||||||
|
'name': 'virt_storage_file_fs',
|
||||||
|
'sources': [
|
||||||
|
files(stoarge_file_fs_sources),
|
||||||
|
],
|
||||||
|
'install_dir': storage_file_install_dir,
|
||||||
|
}
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user