test mbuf attach
[dpdk.git] / lib / librte_port / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 sources = files(
5         'rte_port_ethdev.c',
6         'rte_port_fd.c',
7         'rte_port_frag.c',
8         'rte_port_ras.c',
9         'rte_port_ring.c',
10         'rte_port_sched.c',
11         'rte_port_source_sink.c',
12         'rte_port_sym_crypto.c',
13         'rte_port_eventdev.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         'rte_port_eventdev.h')
25 deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
26
27 if dpdk_conf.has('RTE_PORT_PCAP')
28         ext_deps += pcap_dep # dependency provided in config/meson.build
29 endif
30
31 if dpdk_conf.has('RTE_LIBRTE_KNI')
32         sources += files('rte_port_kni.c')
33         headers += files('rte_port_kni.h')
34         deps += 'kni'
35 endif