xref: /dpdk/examples/ipsec-secgw/meson.build (revision 63c9142b3d634c2abf5a9ef0594ffb652517791c)
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
9deps += ['security', 'lpm', 'acl', 'hash', 'ip_frag', 'ipsec', 'eventdev', 'telemetry']
10allow_experimental_apis = true
11sources = files(
12        'esp.c',
13        'event_helper.c',
14        'flow.c',
15        'ipsec.c',
16        'ipsec_process.c',
17        'ipsec-secgw.c',
18        'ipsec_worker.c',
19        'parser.c',
20        'rt.c',
21        'sa.c',
22        'sad.c',
23        'sp4.c',
24        'sp6.c',
25)
26app_cflags = ['-Wno-address-of-packed-member']
27foreach flag:app_cflags
28    if cc.has_argument(flag)
29        cflags += flag
30    endif
31endforeach
32