xref: /f-stack/dpdk/drivers/net/txgbe/base/meson.build (revision 2d9fd380)
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]
13
14error_cflags = []
15
16c_args = cflags
17foreach flag: error_cflags
18	if cc.has_argument(flag)
19		c_args += flag
20	endif
21endforeach
22
23base_lib = static_library('txgbe_base', sources,
24	dependencies: static_rte_eal,
25	c_args: c_args)
26base_objs = base_lib.extract_all_objects()
27