xref: /dpdk/examples/pipeline/meson.build (revision cf59165dcbadfa2a3401106a263fc8e88143e736)
1b77f6600SCristian Dumitrescu# SPDX-License-Identifier: BSD-3-Clause
2b77f6600SCristian Dumitrescu# Copyright(c) 2020 Intel Corporation
3b77f6600SCristian Dumitrescu
4b77f6600SCristian Dumitrescu# meson file, for building this example as part of a main DPDK build.
5b77f6600SCristian Dumitrescu#
6b77f6600SCristian Dumitrescu# To build this example as a standalone application with an already-installed
7b77f6600SCristian Dumitrescu# DPDK instance, use 'make'
8b77f6600SCristian Dumitrescu
9b77f6600SCristian Dumitrescubuild = cc.has_header('sys/epoll.h')
10*3495a68fSBruce Richardsonif not build
11*3495a68fSBruce Richardson    subdir_done()
12*3495a68fSBruce Richardsonendif
13*3495a68fSBruce Richardson
14b77f6600SCristian Dumitrescudeps += ['pipeline', 'bus_pci']
15b77f6600SCristian Dumitrescuallow_experimental_apis = true
16b77f6600SCristian Dumitrescusources = files(
175074e1d5SCristian Dumitrescu        'cli.c',
185f657a7fSCristian Dumitrescu        'conn.c',
19b77f6600SCristian Dumitrescu        'main.c',
20b77f6600SCristian Dumitrescu        'obj.c',
21b77f6600SCristian Dumitrescu        'thread.c',
22b77f6600SCristian Dumitrescu)
23