xref: /dpdk/lib/node/meson.build (revision b1094939)
199a2dd95SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
299a2dd95SBruce Richardson# Copyright(C) 2020 Marvell International Ltd.
399a2dd95SBruce Richardson
4*b1094939SBruce Richardsonif is_windows
5*b1094939SBruce Richardson    build = false
6*b1094939SBruce Richardson    reason = 'not supported on Windows'
7*b1094939SBruce Richardson    subdir_done()
8*b1094939SBruce Richardsonendif
9*b1094939SBruce Richardson
1099a2dd95SBruce Richardsonsources = files(
1199a2dd95SBruce Richardson        'ethdev_ctrl.c',
1299a2dd95SBruce Richardson        'ethdev_rx.c',
1399a2dd95SBruce Richardson        'ethdev_tx.c',
1499a2dd95SBruce Richardson        'ip4_lookup.c',
1599a2dd95SBruce Richardson        'ip4_rewrite.c',
1699a2dd95SBruce Richardson        'log.c',
1799a2dd95SBruce Richardson        'null.c',
1899a2dd95SBruce Richardson        'pkt_cls.c',
1999a2dd95SBruce Richardson        'pkt_drop.c',
2099a2dd95SBruce Richardson)
2199a2dd95SBruce Richardsonheaders = files('rte_node_ip4_api.h', 'rte_node_eth_api.h')
2299a2dd95SBruce Richardson# Strict-aliasing rules are violated by uint8_t[] to context size casts.
2399a2dd95SBruce Richardsoncflags += '-fno-strict-aliasing'
2499a2dd95SBruce Richardsondeps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev']
25