xref: /dpdk/examples/l3fwd/meson.build (revision ef8270785aab9447fe7810acaf546df9bcf88c85)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 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
9allow_experimental_apis = true
10deps += ['acl', 'hash', 'lpm', 'fib']
11sources = files(
12        'l3fwd_acl.c',
13        'l3fwd_em.c',
14        'l3fwd_event.c',
15        'l3fwd_event_internal_port.c',
16        'l3fwd_event_generic.c',
17        'l3fwd_fib.c',
18        'l3fwd_lpm.c',
19        'main.c',
20)
21if dpdk_conf.has('RTE_LIB_EVENTDEV')
22    deps += 'eventdev'
23endif
24