build: replace license text with SPDX tag
[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_ring.c',
9         'rte_port_sched.c',
10         'rte_port_source_sink.c')
11 headers = files(
12         'rte_port_ethdev.h',
13         'rte_port_fd.h',
14         'rte_port.h',
15         'rte_port_ring.h',
16         'rte_port_sched.h',
17         'rte_port_source_sink.h')
18 deps += ['ethdev', 'sched']
19
20 if dpdk_conf.has('RTE_LIBRTE_IP_FRAG')
21         sources += files('rte_port_frag.c', 'rte_port_ras.c')
22         headers += files('rte_port_frag.h', 'rte_port_ras.h')
23         deps += ['ip_frag']
24 endif
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