mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: src: build libvirt_storage_backedn_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
06b38f49f7
commit
b2dbe88cda
@ -1,10 +1,5 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
STORAGE_DRIVER_FS_SOURCES = \
|
|
||||||
storage/storage_backend_fs.h \
|
|
||||||
storage/storage_backend_fs.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
STORAGE_FILE_FS_SOURCES = \
|
STORAGE_FILE_FS_SOURCES = \
|
||||||
storage/storage_file_fs.h \
|
storage/storage_file_fs.h \
|
||||||
storage/storage_file_fs.c \
|
storage/storage_file_fs.c \
|
||||||
@ -79,7 +74,6 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(STORAGE_DRIVER_SOURCES))
|
|||||||
STATEFUL_DRIVER_SOURCE_FILES += \
|
STATEFUL_DRIVER_SOURCE_FILES += \
|
||||||
$(addprefix $(srcdir)/,$(STORAGE_DRIVER_SOURCES))
|
$(addprefix $(srcdir)/,$(STORAGE_DRIVER_SOURCES))
|
||||||
|
|
||||||
storagebackenddir = $(libdir)/libvirt/storage-backend
|
|
||||||
storagebackend_LTLIBRARIES =
|
storagebackend_LTLIBRARIES =
|
||||||
|
|
||||||
storagefiledir = $(libdir)/libvirt/storage-file
|
storagefiledir = $(libdir)/libvirt/storage-file
|
||||||
@ -163,19 +157,6 @@ storage/test_virtstoraged.aug: remote/test_libvirtd.aug.in \
|
|||||||
> $@ || rm -f $@
|
> $@ || rm -f $@
|
||||||
|
|
||||||
|
|
||||||
libvirt_storage_backend_fs_la_SOURCES = $(STORAGE_DRIVER_FS_SOURCES)
|
|
||||||
libvirt_storage_backend_fs_la_CFLAGS = \
|
|
||||||
-I$(srcdir)/conf \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
storagebackend_LTLIBRARIES += libvirt_storage_backend_fs.la
|
|
||||||
libvirt_storage_backend_fs_la_LDFLAGS = $(AM_LDFLAGS_MOD)
|
|
||||||
libvirt_storage_backend_fs_la_LIBADD = \
|
|
||||||
libvirt.la \
|
|
||||||
$(GLIB_LIBS) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
libvirt_storage_file_fs_la_SOURCES = $(STORAGE_FILE_FS_SOURCES)
|
libvirt_storage_file_fs_la_SOURCES = $(STORAGE_FILE_FS_SOURCES)
|
||||||
libvirt_storage_file_fs_la_CFLAGS = \
|
libvirt_storage_file_fs_la_CFLAGS = \
|
||||||
-I$(srcdir)/conf \
|
-I$(srcdir)/conf \
|
||||||
|
@ -8,6 +8,12 @@ storage_driver_sources = [
|
|||||||
storage_driver_backend_sources,
|
storage_driver_backend_sources,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
storage_backend_fs_sources = [
|
||||||
|
'storage_backend_fs.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
storage_backend_install_dir = libdir / 'libvirt' / 'storage-backend'
|
||||||
|
|
||||||
if conf.has('WITH_STORAGE')
|
if conf.has('WITH_STORAGE')
|
||||||
storage_driver_impl_lib = static_library(
|
storage_driver_impl_lib = static_library(
|
||||||
'virt_storage_driver_impl',
|
'virt_storage_driver_impl',
|
||||||
@ -34,4 +40,12 @@ if conf.has('WITH_STORAGE')
|
|||||||
libvirt_no_undefined,
|
libvirt_no_undefined,
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virt_modules += {
|
||||||
|
'name': 'virt_storage_backend_fs',
|
||||||
|
'sources': [
|
||||||
|
files(storage_backend_fs_sources),
|
||||||
|
],
|
||||||
|
'install_dir': storage_backend_install_dir,
|
||||||
|
}
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user