1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2019 Intel Corporation 3 4# meson file, for building this example as part of a main DPDK build. 5# 6# To build this example as a standalone application with an already-installed 7# DPDK instance, use 'make' 8 9allow_experimental_apis = true 10if not is_linux 11 build = false 12 subdir_done() 13endif 14 15deps += ['rawdev', 'raw_ntb'] 16cflags += ['-D_FILE_OFFSET_BITS=64'] 17sources = files( 18 'ntb_fwd.c', 19) 20cmd_h = custom_target('commands_hdr', 21 output: 'commands.h', 22 input: files('commands.list'), 23 capture: true, 24 command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@'] 25) 26sources += cmd_h 27