1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2017-2019 Intel Corporation 3 4subdir('pmdinfogen') 5 6pkgconf = find_program('pkg-config', 'pkgconf', required: false) 7pmdinfo = find_program('gen-pmdinfo-cfile.sh') 8list_dir_globs = find_program('list-dir-globs.py') 9check_experimental_syms = find_program('check-experimental-syms.sh') 10ldflags_ibverbs_static = find_program('options-ibverbs-static.sh') 11 12# set up map-to-def script using python, either built-in or external 13python3 = import('python').find_installation(required: false) 14if python3.found() 15 py3 = [python3] 16else 17 py3 = ['meson', 'runpython'] 18endif 19map_to_def_cmd = py3 + files('map_to_def.py') 20sphinx_wrapper = py3 + files('call-sphinx-build.py') 21 22# stable ABI always starts with "DPDK_" 23is_experimental_cmd = [find_program('grep', 'findstr'), '^DPDK_'] 24