xref: /dpdk/lib/node/meson.build (revision 58fbbcca1b1ef25df902c136c4ebf2752fdfa269)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(C) 2020 Marvell International Ltd.
3
4if is_windows
5    build = false
6    reason = 'not supported on Windows'
7    subdir_done()
8endif
9
10sources = files(
11        'ethdev_ctrl.c',
12        'ethdev_rx.c',
13        'ethdev_tx.c',
14        'ip4_local.c',
15        'ip4_lookup.c',
16        'ip4_reassembly.c',
17        'ip4_rewrite.c',
18        'ip6_lookup.c',
19        'ip6_rewrite.c',
20        'kernel_rx.c',
21        'kernel_tx.c',
22        'log.c',
23        'null.c',
24        'pkt_cls.c',
25        'pkt_drop.c',
26        'udp4_input.c',
27)
28headers = files(
29        'rte_node_eth_api.h',
30        'rte_node_ip4_api.h',
31        'rte_node_ip6_api.h',
32        'rte_node_udp4_input_api.h',
33)
34
35# Strict-aliasing rules are violated by uint8_t[] to context size casts.
36cflags += '-fno-strict-aliasing'
37deps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev', 'ip_frag']
38