New upstream version 18.02
[deb_dpdk.git] / app / test-eventdev / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3
4 sources = files('evt_main.c',
5                 'evt_options.c',
6                 'evt_test.c',
7                 'parser.c',
8                 'test_order_common.c',
9                 'test_order_atq.c',
10                 'test_order_queue.c',
11                 'test_perf_common.c',
12                 'test_perf_atq.c',
13                 'test_perf_queue.c')
14
15 dep_objs = [get_variable(get_option('default_library') + '_rte_eventdev')]
16 dep_objs += cc.find_library('execinfo', required: false) # BSD only
17
18 link_libs = []
19 if get_option('default_library') == 'static'
20         link_libs = dpdk_drivers
21 endif
22
23 executable('dpdk-test-eventdev',
24         sources,
25         c_args: [machine_args, '-DALLOW_EXPERIMENTAL_API'],
26         link_whole: link_libs,
27         dependencies: dep_objs,
28         install_rpath: join_paths(get_option('prefix'), driver_install_path),
29         install: true)