New upstream version 18.11-rc1
[deb_dpdk.git] / lib / librte_port / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 version = 3
5 sources = files(
6         'rte_port_ethdev.c',
7         'rte_port_fd.c',
8         'rte_port_frag.c',
9         'rte_port_ras.c',
10         'rte_port_ring.c',
11         'rte_port_sched.c',
12         'rte_port_source_sink.c',
13         'rte_port_sym_crypto.c')
14 headers = files(
15         'rte_port_ethdev.h',
16         'rte_port_fd.h',
17         'rte_port_frag.h',
18         'rte_port_ras.h',
19         'rte_port.h',
20         'rte_port_ring.h',
21         'rte_port_sched.h',
22         'rte_port_source_sink.h',
23         'rte_port_sym_crypto.h')
24 deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev']
25
26 if dpdk_conf.has('RTE_LIBRTE_KNI')
27         sources += files('rte_port_kni.c')
28         headers += files('rte_port_kni.h')
29         deps += 'kni'
30 endif