xref: /f-stack/dpdk/lib/librte_port/meson.build (revision 2d9fd380)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Intel Corporation
3
4sources = 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	'rte_swx_port_ethdev.c',
15	'rte_swx_port_source_sink.c',)
16headers = files(
17	'rte_port_ethdev.h',
18	'rte_port_fd.h',
19	'rte_port_frag.h',
20	'rte_port_ras.h',
21	'rte_port.h',
22	'rte_port_ring.h',
23	'rte_port_sched.h',
24	'rte_port_source_sink.h',
25	'rte_port_sym_crypto.h',
26	'rte_port_eventdev.h',
27	'rte_swx_port.h',
28	'rte_swx_port_ethdev.h',
29	'rte_swx_port_source_sink.h',)
30deps += ['ethdev', 'sched', 'ip_frag', 'cryptodev', 'eventdev']
31
32if dpdk_conf.has('RTE_PORT_PCAP')
33	ext_deps += pcap_dep # dependency provided in config/meson.build
34endif
35
36if dpdk_conf.has('RTE_LIB_KNI')
37	sources += files('rte_port_kni.c')
38	headers += files('rte_port_kni.h')
39	deps += 'kni'
40endif
41