app: reduce indentation in build files
[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(
8         '5tswap.c',
9         'cmdline.c',
10         'cmdline_flow.c',
11         'cmdline_mtr.c',
12         'cmdline_tm.c',
13         'config.c',
14         'csumonly.c',
15         'flowgen.c',
16         'icmpecho.c',
17         'ieee1588fwd.c',
18         'iofwd.c',
19         'macfwd.c',
20         'macswap.c',
21         'noisy_vnf.c',
22         'parameters.c',
23         'rxonly.c',
24         'testpmd.c',
25         'txonly.c',
26         'util.c',
27 )
28
29 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
30 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
31     deps += 'bitratestats'
32 endif
33 if dpdk_conf.has('RTE_LIB_PDUMP')
34     deps += 'pdump'
35 endif
36 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
37     deps += 'bitratestats'
38 endif
39 if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
40     deps += 'latencystats'
41 endif
42 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
43     deps += 'crypto_scheduler'
44 endif
45 if dpdk_conf.has('RTE_NET_BOND')
46     deps += 'net_bond'
47 endif
48 if dpdk_conf.has('RTE_NET_BNXT')
49     deps += 'net_bnxt'
50 endif
51 if dpdk_conf.has('RTE_NET_I40E')
52     deps += 'net_i40e'
53 endif
54 if dpdk_conf.has('RTE_NET_IXGBE')
55     deps += 'net_ixgbe'
56 endif
57 if dpdk_conf.has('RTE_NET_DPAA')
58     deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
59 endif
60 if dpdk_conf.has('RTE_LIB_BPF')
61     sources += files('bpf_cmd.c')
62     deps += 'bpf'
63 endif