mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 10:23:09 +00:00
32 lines
577 B
Meson
32 lines
577 B
Meson
|
node_device_driver_sources = [
|
||
|
'node_device_driver.c',
|
||
|
]
|
||
|
|
||
|
if conf.has('WITH_HAL')
|
||
|
node_device_driver_sources += 'node_device_hal.c'
|
||
|
endif
|
||
|
|
||
|
if conf.has('WITH_UDEV')
|
||
|
node_device_driver_sources += 'node_device_udev.c'
|
||
|
endif
|
||
|
|
||
|
if conf.has('WITH_NODE_DEVICES')
|
||
|
node_device_driver_impl = static_library(
|
||
|
'virt_driver_nodedev_impl',
|
||
|
[
|
||
|
node_device_driver_sources,
|
||
|
],
|
||
|
dependencies: [
|
||
|
access_dep,
|
||
|
hal_dep,
|
||
|
libnl_dep,
|
||
|
pciaccess_dep,
|
||
|
src_dep,
|
||
|
udev_dep,
|
||
|
],
|
||
|
include_directories: [
|
||
|
conf_inc_dir,
|
||
|
],
|
||
|
)
|
||
|
endif
|