1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2019 Intel Corporation
25 lib_execinfo = cc.find_library('execinfo', required: false)
27 default_cflags = machine_args + ['-DALLOW_EXPERIMENTAL_API']
34 cflags = default_cflags
35 objs = [] # other object files to link against, used e.g. for
36 # instruction-set optimized versions of code
38 # use "deps" for internal DPDK dependencies, and "ext_deps" for
39 # external package/library requirements
48 dep_objs += get_variable(get_option('default_library')
51 dep_objs += lib_execinfo
54 if get_option('default_library') == 'static'
55 link_libs = dpdk_static_libraries + dpdk_drivers
58 executable('dpdk-' + name,
61 link_whole: link_libs,
62 dependencies: dep_objs,
63 install_rpath: join_paths(get_option('prefix'),
69 # special case the autotests