xref: /dpdk/examples/ntb/meson.build (revision 2c7845a7)
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
9if host_machine.system() != 'linux'
10	build = false
11endif
12deps += 'rawdev'
13cflags += ['-D_FILE_OFFSET_BITS=64']
14sources = files(
15	'ntb_fwd.c'
16)
17if dpdk_conf.has('RTE_LIBRTE_PMD_NTB_RAWDEV')
18	deps += 'rawdev_ntb'
19endif
20