xref: /f-stack/dpdk/drivers/net/ixgbe/meson.build (revision 2d9fd380)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Intel Corporation
3
4cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
5
6subdir('base')
7objs = [base_objs]
8
9sources = files(
10	'ixgbe_82599_bypass.c',
11	'ixgbe_bypass.c',
12	'ixgbe_ethdev.c',
13	'ixgbe_fdir.c',
14	'ixgbe_flow.c',
15	'ixgbe_ipsec.c',
16	'ixgbe_pf.c',
17	'ixgbe_rxtx.c',
18	'ixgbe_tm.c',
19	'ixgbe_vf_representor.c',
20	'rte_pmd_ixgbe.c'
21)
22
23deps += ['hash', 'security']
24
25if arch_subdir == 'x86'
26	sources += files('ixgbe_rxtx_vec_sse.c')
27elif arch_subdir == 'arm'
28	sources += files('ixgbe_rxtx_vec_neon.c')
29endif
30
31includes += include_directories('base')
32
33headers = files('rte_pmd_ixgbe.h')
34