build: disable experimental API check internally
[dpdk.git] / app / test-pmd / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 # override default name to drop the hyphen
5 name = 'testpmd'
6 cflags += '-Wno-deprecated-declarations'
7 sources = files('cmdline.c',
8         'cmdline_flow.c',
9         'cmdline_mtr.c',
10         'cmdline_tm.c',
11         'config.c',
12         'csumonly.c',
13         'flowgen.c',
14         'icmpecho.c',
15         'ieee1588fwd.c',
16         'iofwd.c',
17         'macfwd.c',
18         'macswap.c',
19         'noisy_vnf.c',
20         'parameters.c',
21         'rxonly.c',
22         'testpmd.c',
23         'txonly.c',
24         'util.c')
25
26 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
27 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
28         deps += 'pdump'
29 endif
30 if dpdk_conf.has('RTE_LIBRTE_BNXT_PMD')
31         deps += 'pmd_bnxt'
32 endif
33 if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
34         deps += 'pmd_i40e'
35 endif
36 if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
37         deps += 'pmd_ixgbe'
38 endif
39 if dpdk_conf.has('RTE_LIBRTE_SOFTNIC_PMD')
40         sources += files('softnicfwd.c')
41         deps += 'pmd_softnic'
42 endif
43 if dpdk_conf.has('RTE_LIBRTE_DPAA_PMD')
44         deps += ['bus_dpaa', 'mempool_dpaa', 'pmd_dpaa']
45 endif
46 if dpdk_conf.has('RTE_LIBRTE_BPF')
47         sources += files('bpf_cmd.c')
48         deps += 'bpf'
49 endif