numam-dpdk/app/test-pmd/meson.build
Bruce Richardson a8d0d473a0 build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure
there are no errors when the old non-standard macros are removed.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Rosen Xu <rosen.xu@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2020-10-19 22:15:44 +02:00

62 lines
1.3 KiB
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# override default name to drop the hyphen
name = 'testpmd'
cflags += '-Wno-deprecated-declarations'
sources = files('5tswap.c',
'cmdline.c',
'cmdline_flow.c',
'cmdline_mtr.c',
'cmdline_tm.c',
'config.c',
'csumonly.c',
'flowgen.c',
'icmpecho.c',
'ieee1588fwd.c',
'iofwd.c',
'macfwd.c',
'macswap.c',
'noisy_vnf.c',
'parameters.c',
'rxonly.c',
'testpmd.c',
'txonly.c',
'util.c')
deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
deps += 'bitratestats'
endif
if dpdk_conf.has('RTE_LIB_PDUMP')
deps += 'pdump'
endif
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
deps += 'bitratestats'
endif
if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
deps += 'latencystats'
endif
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
deps += 'crypto_scheduler'
endif
if dpdk_conf.has('RTE_NET_BOND')
deps += 'net_bond'
endif
if dpdk_conf.has('RTE_NET_BNXT')
deps += 'net_bnxt'
endif
if dpdk_conf.has('RTE_NET_I40E')
deps += 'net_i40e'
endif
if dpdk_conf.has('RTE_NET_IXGBE')
deps += 'net_ixgbe'
endif
if dpdk_conf.has('RTE_NET_DPAA')
deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
endif
if dpdk_conf.has('RTE_LIB_BPF')
sources += files('bpf_cmd.c')
deps += 'bpf'
endif