1c19beb3fSJin Yu# SPDX-License-Identifier: BSD-3-Clause 2c19beb3fSJin Yu# Copyright(c) 2017 Intel Corporation 3c19beb3fSJin Yu 4c19beb3fSJin Yu# meson file, for building this example as part of a main DPDK build. 5c19beb3fSJin Yu# 6c19beb3fSJin Yu# To build this example as a standalone application with an already-installed 7c19beb3fSJin Yu# DPDK instance, use 'make' 8c19beb3fSJin Yu 9c19beb3fSJin Yuif not is_linux 10c19beb3fSJin Yu build = false 113495a68fSBruce Richardson subdir_done() 12c19beb3fSJin Yuendif 13c19beb3fSJin Yu 14c19beb3fSJin Yuif not cc.has_header('linux/virtio_blk.h') 15c19beb3fSJin Yu build = false 163495a68fSBruce Richardson subdir_done() 17c19beb3fSJin Yuendif 18c19beb3fSJin Yu 19c19beb3fSJin Yudeps += 'vhost' 20c19beb3fSJin Yuallow_experimental_apis = true 21c19beb3fSJin Yusources = files( 22*cf59165dSBruce Richardson 'blk.c', 23*cf59165dSBruce Richardson 'vhost_blk.c', 24*cf59165dSBruce Richardson 'vhost_blk_compat.c', 25c19beb3fSJin Yu) 26