mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
meson: src: build libvirt_cpu.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
cb91468c98
commit
33d8c0e9a0
@ -70,7 +70,6 @@ COMMON_UNIT_VARS = \
|
||||
lib_LTLIBRARIES += libvirt.la libvirt-qemu.la libvirt-lxc.la
|
||||
|
||||
include util/Makefile.inc.am
|
||||
include cpu/Makefile.inc.am
|
||||
include cpu_map/Makefile.inc.am
|
||||
include security/Makefile.inc.am
|
||||
include access/Makefile.inc.am
|
||||
|
@ -1,27 +0,0 @@
|
||||
# vim: filetype=automake
|
||||
|
||||
CPU_SOURCES = \
|
||||
cpu/cpu.h \
|
||||
cpu/cpu.c \
|
||||
cpu/cpu_x86.h \
|
||||
cpu/cpu_x86.c \
|
||||
cpu/cpu_x86_data.h \
|
||||
cpu/cpu_s390.h \
|
||||
cpu/cpu_s390.c \
|
||||
cpu/cpu_arm.h \
|
||||
cpu/cpu_arm_data.h \
|
||||
cpu/cpu_arm.c \
|
||||
cpu/cpu_ppc64.h \
|
||||
cpu/cpu_ppc64.c \
|
||||
cpu/cpu_ppc64_data.h \
|
||||
cpu/cpu_map.h \
|
||||
cpu/cpu_map.c \
|
||||
$(NULL)
|
||||
|
||||
noinst_LTLIBRARIES += libvirt_cpu.la
|
||||
libvirt_la_BUILT_LIBADD += libvirt_cpu.la
|
||||
libvirt_cpu_la_CFLAGS = \
|
||||
-I$(srcdir)/conf \
|
||||
$(AM_CFLAGS) \
|
||||
$(NULL)
|
||||
libvirt_cpu_la_SOURCES = $(CPU_SOURCES)
|
19
src/cpu/meson.build
Normal file
19
src/cpu/meson.build
Normal file
@ -0,0 +1,19 @@
|
||||
cpu_sources = [
|
||||
'cpu.c',
|
||||
'cpu_arm.c',
|
||||
'cpu_map.c',
|
||||
'cpu_ppc64.c',
|
||||
'cpu_s390.c',
|
||||
'cpu_x86.c',
|
||||
]
|
||||
|
||||
cpu_lib = static_library(
|
||||
'virt_cpu',
|
||||
cpu_sources,
|
||||
dependencies: [
|
||||
src_dep,
|
||||
],
|
||||
include_directories: [
|
||||
conf_inc_dir,
|
||||
],
|
||||
)
|
@ -90,5 +90,6 @@ src_dep = declare_dependency(
|
||||
subdir('conf')
|
||||
subdir('rpc')
|
||||
subdir('access')
|
||||
subdir('cpu')
|
||||
|
||||
subdir('admin')
|
||||
|
Loading…
x
Reference in New Issue
Block a user