test/mbuf: fix access to freed memory
[dpdk.git] / lib / port / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 if is_windows
5     build = false
6     reason = 'not supported on Windows'
7     subdir_done()
8 endif
9
10 sources = files(
11         'rte_port_ethdev.c',
12         'rte_port_fd.c',
13         'rte_port_frag.c',
14         'rte_port_ras.c',
15         'rte_port_ring.c',
16         'rte_port_sched.c',
17         'rte_port_source_sink.c',
18         'rte_port_sym_crypto.c',
19         'rte_port_eventdev.c',
20         'rte_swx_port_ethdev.c',
21         'rte_swx_port_fd.c',
22         'rte_swx_port_ring.c',
23         'rte_swx_port_source_sink.c',
24 )
25 headers = files(
26         'rte_port_ethdev.h',
27         'rte_port_fd.h',
28         'rte_port_frag.h',
29         'rte_port_ras.h',
30         'rte_port.h',
31         'rte_port_ring.h',
32         'rte_port_sched.h',
33         'rte_port_source_sink.h',
34         'rte_port_sym_crypto.h',
35         'rte_port_eventdev.h',
36         'rte_swx_port.h',
37         'rte_swx_port_ethdev.h',
38         'rte_swx_port_fd.h',
39         'rte_swx_port_ring.h',
40         'rte_swx_port_source_sink.h',
41 )
42 deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
43
44 if dpdk_conf.has('RTE_PORT_PCAP')
45     ext_deps += pcap_dep # dependency provided in config/meson.build
46 endif
47
48 if dpdk_conf.has('RTE_LIB_KNI')
49     sources += files('rte_port_kni.c')
50     headers += files('rte_port_kni.h')
51     deps += 'kni'
52 endif