mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
meson: src: build libvirt_driver_vz_impl.a static library
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
db4e2f0b10
commit
4e07c26c59
@ -168,6 +168,7 @@ subdir('qemu')
|
||||
subdir('test')
|
||||
subdir('vbox')
|
||||
subdir('vmware')
|
||||
subdir('vz')
|
||||
|
||||
|
||||
driver_sources = [
|
||||
|
@ -1,21 +1,10 @@
|
||||
# vim: filetype=automake
|
||||
|
||||
VZ_DRIVER_SOURCES = \
|
||||
vz/vz_driver.h \
|
||||
vz/vz_driver.c \
|
||||
vz/vz_utils.c \
|
||||
vz/vz_utils.h \
|
||||
vz/vz_sdk.h \
|
||||
vz/vz_sdk.c \
|
||||
$(NULL)
|
||||
|
||||
|
||||
DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(VZ_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(VZ_DRIVER_SOURCES))
|
||||
|
||||
|
||||
if WITH_VZ
|
||||
noinst_LTLIBRARIES += libvirt_driver_vz_impl.la
|
||||
libvirt_driver_vz_la_SOURCES =
|
||||
libvirt_driver_vz_la_LIBADD = \
|
||||
libvirt_driver_vz_impl.la \
|
||||
@ -24,19 +13,6 @@ libvirt_driver_vz_la_LIBADD = \
|
||||
$(NULL)
|
||||
mod_LTLIBRARIES += libvirt_driver_vz.la
|
||||
libvirt_driver_vz_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||
libvirt_driver_vz_impl_la_CFLAGS = \
|
||||
-I$(srcdir)/conf \
|
||||
-I$(srcdir)/access \
|
||||
-I$(builddir)/access \
|
||||
$(AM_CFLAGS) \
|
||||
$(PARALLELS_SDK_CFLAGS) \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(NULL)
|
||||
libvirt_driver_vz_impl_la_SOURCES = $(VZ_DRIVER_SOURCES)
|
||||
libvirt_driver_vz_impl_la_LIBADD = \
|
||||
$(PARALLELS_SDK_LIBS) \
|
||||
$(LIBNL_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
sbin_PROGRAMS += virtvzd
|
||||
|
||||
|
23
src/vz/meson.build
Normal file
23
src/vz/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
vz_driver_sources = [
|
||||
'vz_driver.c',
|
||||
'vz_utils.c',
|
||||
'vz_sdk.c',
|
||||
]
|
||||
|
||||
if conf.has('WITH_VZ')
|
||||
vz_driver_impl = static_library(
|
||||
'virt_driver_vz_impl',
|
||||
[
|
||||
vz_driver_sources,
|
||||
],
|
||||
dependencies: [
|
||||
access_dep,
|
||||
libnl_dep,
|
||||
parallels_sdk_dep,
|
||||
src_dep,
|
||||
],
|
||||
include_directories: [
|
||||
conf_inc_dir,
|
||||
],
|
||||
)
|
||||
endif
|
Loading…
x
Reference in New Issue
Block a user