mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: src: build libvirt_vmx.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
33d8c0e9a0
commit
27b6ff803e
@ -92,4 +92,6 @@ subdir('rpc')
|
|||||||
subdir('access')
|
subdir('access')
|
||||||
subdir('cpu')
|
subdir('cpu')
|
||||||
|
|
||||||
|
subdir('vmx')
|
||||||
|
|
||||||
subdir('admin')
|
subdir('admin')
|
||||||
|
@ -1,20 +1,5 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
VMX_SOURCES = \
|
|
||||||
vmx/vmx.c \
|
|
||||||
vmx/vmx.h \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
if WITH_VMX
|
|
||||||
noinst_LTLIBRARIES += libvirt_vmx.la
|
|
||||||
libvirt_la_BUILT_LIBADD += libvirt_vmx.la
|
|
||||||
libvirt_vmx_la_CFLAGS = \
|
|
||||||
-I$(srcdir)/conf \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
libvirt_vmx_la_SOURCES = $(VMX_SOURCES)
|
|
||||||
endif WITH_VMX
|
|
||||||
|
|
||||||
if WITH_VMX
|
if WITH_VMX
|
||||||
USED_SYM_FILES += $(srcdir)/libvirt_vmx.syms
|
USED_SYM_FILES += $(srcdir)/libvirt_vmx.syms
|
||||||
else ! WITH_VMX
|
else ! WITH_VMX
|
||||||
|
18
src/vmx/meson.build
Normal file
18
src/vmx/meson.build
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
vmx_sources = [
|
||||||
|
'vmx.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
if conf.has('WITH_VMX')
|
||||||
|
vmx_lib = static_library(
|
||||||
|
'virt_vmx',
|
||||||
|
[
|
||||||
|
vmx_sources,
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
src_dep,
|
||||||
|
],
|
||||||
|
include_directories: [
|
||||||
|
conf_inc_dir,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user