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