xref: /dpdk/drivers/net/thunderx/base/meson.build (revision 42f4d724)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Cavium, Inc
3
4sources = [
5	'nicvf_hw.c',
6	'nicvf_mbox.c',
7	'nicvf_bsvf.c'
8]
9
10c_args = cflags
11if allow_experimental_apis
12	c_args += '-DALLOW_EXPERIMENTAL_API'
13endif
14base_lib = static_library('nicvf_base', sources,
15	c_args: c_args,
16	dependencies: static_rte_ethdev
17)
18
19base_objs = base_lib.extract_all_objects()
20