New upstream version 18.08
[deb_dpdk.git] / lib / librte_vhost / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2018 Intel Corporation
3
4 if host_machine.system() != 'linux'
5         build = false
6 endif
7 if has_libnuma == 1
8         dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true)
9 endif
10 version = 4
11 allow_experimental_apis = true
12 sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
13                 'vhost.c', 'vhost_user.c',
14                 'virtio_net.c', 'vhost_crypto.c')
15 headers = files('rte_vhost.h', 'rte_vdpa.h', 'rte_vhost_crypto.h')
16 deps += ['ethdev', 'cryptodev', 'hash', 'pci']