adf93ca564
Define variables for "is_linux", "is_freebsd" and "is_windows" to make the code shorter for comparisons and more readable. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Acked-by: Luca Boccassi <bluca@debian.org>
25 lines
648 B
Meson
25 lines
648 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
if not is_linux
|
|
build = false
|
|
endif
|
|
allow_experimental_apis = true
|
|
install_headers('rte_eth_softnic.h')
|
|
sources = files('rte_eth_softnic_tm.c',
|
|
'rte_eth_softnic.c',
|
|
'rte_eth_softnic_mempool.c',
|
|
'rte_eth_softnic_swq.c',
|
|
'rte_eth_softnic_link.c',
|
|
'rte_eth_softnic_tap.c',
|
|
'rte_eth_softnic_action.c',
|
|
'rte_eth_softnic_pipeline.c',
|
|
'rte_eth_softnic_thread.c',
|
|
'rte_eth_softnic_cli.c',
|
|
'rte_eth_softnic_flow.c',
|
|
'rte_eth_softnic_meter.c',
|
|
'rte_eth_softnic_cryptodev.c',
|
|
'parser.c',
|
|
'conn.c')
|
|
deps += ['pipeline', 'port', 'table', 'sched', 'cryptodev']
|