c4664c3a3c3a5718a7696d69e16fe012756e52a1
[dpdk.git] / examples / l2fwd-event / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 # meson file, for building this example as part of a main DPDK build.
6 #
7 # To build this example as a standalone application with an already-installed
8 # DPDK instance, use 'make'
9
10 deps += 'eventdev'
11 sources = files(
12         'main.c',
13         'l2fwd_poll.c',
14         'l2fwd_common.c',
15         'l2fwd_event.c',
16         'l2fwd_event_internal_port.c',
17         'l2fwd_event_generic.c'
18 )
19
20 # for clang 32-bit compiles we need libatomic for 64-bit atomic ops
21 if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
22         ext_deps += cc.find_library('atomic')
23 endif