xref: /dpdk/lib/node/meson.build (revision b1094939)
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_lookup.c',
15        'ip4_rewrite.c',
16        'log.c',
17        'null.c',
18        'pkt_cls.c',
19        'pkt_drop.c',
20)
21headers = files('rte_node_ip4_api.h', 'rte_node_eth_api.h')
22# Strict-aliasing rules are violated by uint8_t[] to context size casts.
23cflags += '-fno-strict-aliasing'
24deps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev']
25