1c5eebf85SXiaoyun Li# SPDX-License-Identifier: BSD-3-Clause 2c5eebf85SXiaoyun Li# Copyright(c) 2019 Intel Corporation 3c5eebf85SXiaoyun Li 4c5eebf85SXiaoyun Li# meson file, for building this example as part of a main DPDK build. 5c5eebf85SXiaoyun Li# 6c5eebf85SXiaoyun Li# To build this example as a standalone application with an already-installed 7c5eebf85SXiaoyun Li# DPDK instance, use 'make' 8c5eebf85SXiaoyun Li 978d44153SSunil Kumar Koriallow_experimental_apis = true 104f299b71SThomas Monjalonif not is_linux 11c5eebf85SXiaoyun Li build = false 123495a68fSBruce Richardson subdir_done() 13c5eebf85SXiaoyun Liendif 143495a68fSBruce Richardson 152c730214SDavid Marchanddeps += ['rawdev', 'raw_ntb'] 16c5eebf85SXiaoyun Licflags += ['-D_FILE_OFFSET_BITS=64'] 17c5eebf85SXiaoyun Lisources = files( 18cf59165dSBruce Richardson 'ntb_fwd.c', 19c5eebf85SXiaoyun Li) 20*fa6a754eSBruce Richardsoncmd_h = custom_target('commands_hdr', 21*fa6a754eSBruce Richardson output: 'commands.h', 22*fa6a754eSBruce Richardson input: files('commands.list'), 23*fa6a754eSBruce Richardson capture: true, 24*fa6a754eSBruce Richardson command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@'] 25*fa6a754eSBruce Richardson) 26*fa6a754eSBruce Richardsonsources += cmd_h 27