xref: /dpdk/drivers/net/txgbe/base/meson.build (revision bb07d96d)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2015-2020
3
4sources = [
5	'txgbe_dcb_hw.c',
6	'txgbe_dcb.c',
7	'txgbe_eeprom.c',
8	'txgbe_hw.c',
9	'txgbe_mbx.c',
10	'txgbe_mng.c',
11	'txgbe_phy.c',
12	'txgbe_vf.c',
13]
14
15error_cflags = []
16
17c_args = cflags
18foreach flag: error_cflags
19	if cc.has_argument(flag)
20		c_args += flag
21	endif
22endforeach
23
24base_lib = static_library('txgbe_base', sources,
25	dependencies: static_rte_eal,
26	c_args: c_args)
27base_objs = base_lib.extract_all_objects()
28