1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 sources = files('cmdline.c',
21 deps = ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
22 if dpdk_conf.has('RTE_LIBRTE_PDUMP')
25 if dpdk_conf.has('RTE_LIBRTE_I40E_PMD')
28 if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')
31 if dpdk_conf.has('RTE_LIBRTE_SOFTNIC_PMD')
32 sources += files('tm.c')
38 dep_objs += get_variable(get_option('default_library') + '_rte_' + d)
42 if get_option('default_library') == 'static'
43 link_libs = dpdk_drivers
46 executable('dpdk-testpmd',
48 c_args: [machine_args, '-DALLOW_EXPERIMENTAL_API'],
49 link_whole: link_libs,
50 dependencies: dep_objs,
51 install_rpath: join_paths(get_option('prefix'), driver_install_path),