xref: /dpdk/examples/l2fwd-keepalive/meson.build (revision cf59165dcbadfa2a3401106a263fc8e88143e736)
16c9457c2SBruce Richardson# SPDX-License-Identifier: BSD-3-Clause
26c9457c2SBruce Richardson# Copyright(c) 2017 Intel Corporation
389f0711fSBruce Richardson
489f0711fSBruce Richardson# meson file, for building this example as part of a main DPDK build.
589f0711fSBruce Richardson#
689f0711fSBruce Richardson# To build this example as a standalone application with an already-installed
789f0711fSBruce Richardson# DPDK instance, use 'make'
889f0711fSBruce Richardson
978d44153SSunil Kumar Koriallow_experimental_apis = true
10b334236aSBruce Richardsonlibrt = cc.find_library('rt', required: false)
11b334236aSBruce Richardsonif not librt.found()
12b334236aSBruce Richardson    build = false
13b334236aSBruce Richardson    subdir_done()
14b334236aSBruce Richardsonendif
15b334236aSBruce Richardson
16b334236aSBruce Richardsonext_deps += librt
1789f0711fSBruce Richardsondeps += 'timer'
1889f0711fSBruce Richardsonsources = files(
19*cf59165dSBruce Richardson        'main.c',
20*cf59165dSBruce Richardson        'shm.c',
2189f0711fSBruce Richardson)
22