0d9e4504945c63ec41e161a90724b49c50b95bb4
[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('5tswap.c',
8         'cmdline.c',
9         'cmdline_flow.c',
10         'cmdline_mtr.c',
11         'cmdline_tm.c',
12         'config.c',
13         'csumonly.c',
14         'flowgen.c',
15         'icmpecho.c',
16         'ieee1588fwd.c',
17         'iofwd.c',
18         'macfwd.c',
19         'macswap.c',
20         'noisy_vnf.c',
21         'parameters.c',
22         'rxonly.c',
23         'testpmd.c',
24         'txonly.c',
25         'util.c')
26
27 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
28 if dpdk_conf.has('RTE_LIBRTE_BITRATESTATS')
29         deps += 'bitratestats'
30 endif
31 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
32         deps += 'pdump'
33 endif
34 if dpdk_conf.has('RTE_LIBRTE_BITRATESTATS')
35         deps += 'bitratestats'
36 endif
37 if dpdk_conf.has('RTE_LIBRTE_LATENCYSTATS')
38         deps += 'latencystats'
39 endif
40 if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
41         deps += 'pmd_crypto_scheduler'
42 endif
43 if dpdk_conf.has('RTE_LIBRTE_BOND_PMD')
44         deps += 'pmd_bond'
45 endif
46 if dpdk_conf.has('RTE_LIBRTE_BNXT_PMD')
47         deps += 'pmd_bnxt'
48 endif
49 if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
50         deps += 'pmd_i40e'
51 endif
52 if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
53         deps += 'pmd_ixgbe'
54 endif
55 if dpdk_conf.has('RTE_LIBRTE_DPAA_PMD')
56         deps += ['bus_dpaa', 'mempool_dpaa', 'pmd_dpaa']
57 endif
58 if dpdk_conf.has('RTE_LIBRTE_BPF')
59         sources += files('bpf_cmd.c')
60         deps += 'bpf'
61 endif