mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
meson: src: build libvirt_driver_network_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
66327a3b4e
commit
412afa5cc1
@ -152,6 +152,7 @@ subdir('remote')
|
|||||||
subdir('admin')
|
subdir('admin')
|
||||||
subdir('locking')
|
subdir('locking')
|
||||||
subdir('logging')
|
subdir('logging')
|
||||||
|
subdir('network')
|
||||||
subdir('security')
|
subdir('security')
|
||||||
|
|
||||||
subdir('bhyve')
|
subdir('bhyve')
|
||||||
|
@ -1,17 +1,5 @@
|
|||||||
# vim: filetype=automake
|
# vim: filetype=automake
|
||||||
|
|
||||||
NETWORK_DRIVER_SOURCES = \
|
|
||||||
network/bridge_driver.h \
|
|
||||||
network/bridge_driver.c \
|
|
||||||
network/bridge_driver_platform.h \
|
|
||||||
network/bridge_driver_platform.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
NETWORK_DRIVER_PLATFORM_INC = \
|
|
||||||
network/bridge_driver_linux.c \
|
|
||||||
network/bridge_driver_nop.c \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
NETWORK_LEASES_HELPER_SOURCES = \
|
NETWORK_LEASES_HELPER_SOURCES = \
|
||||||
network/leaseshelper.c \
|
network/leaseshelper.c \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
@ -35,17 +23,6 @@ libvirt_driver_network_la_LIBADD = \
|
|||||||
mod_LTLIBRARIES += libvirt_driver_network.la
|
mod_LTLIBRARIES += libvirt_driver_network.la
|
||||||
libvirt_driver_network_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
libvirt_driver_network_la_LDFLAGS = $(AM_LDFLAGS_MOD_NOUNDEF)
|
||||||
|
|
||||||
libvirt_driver_network_impl_la_CFLAGS = \
|
|
||||||
$(LIBNL_CFLAGS) \
|
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-I$(srcdir)/access \
|
|
||||||
-I$(builddir)/access \
|
|
||||||
-I$(srcdir)/conf \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(NULL)
|
|
||||||
libvirt_driver_network_impl_la_SOURCES = $(NETWORK_DRIVER_SOURCES)
|
|
||||||
libvirt_driver_network_impl_la_LIBADD = $(DBUS_LIBS) $(LIBXML_LIBS)
|
|
||||||
|
|
||||||
sbin_PROGRAMS += virtnetworkd
|
sbin_PROGRAMS += virtnetworkd
|
||||||
|
|
||||||
nodist_conf_DATA += network/virtnetworkd.conf
|
nodist_conf_DATA += network/virtnetworkd.conf
|
||||||
|
22
src/network/meson.build
Normal file
22
src/network/meson.build
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
network_driver_sources = [
|
||||||
|
'bridge_driver.c',
|
||||||
|
'bridge_driver_platform.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
if conf.has('WITH_NETWORK')
|
||||||
|
network_driver_impl = static_library(
|
||||||
|
'virt_driver_network_impl',
|
||||||
|
[
|
||||||
|
network_driver_sources,
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
access_dep,
|
||||||
|
dbus_dep,
|
||||||
|
libnl_dep,
|
||||||
|
src_dep,
|
||||||
|
],
|
||||||
|
include_directories: [
|
||||||
|
conf_inc_dir,
|
||||||
|
],
|
||||||
|
)
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user