xref: /dpdk/drivers/net/ngbe/meson.build (revision 950820f10cb8a8c45998536546b5a00123fe40aa)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3
4if is_windows
5    build = false
6    reason = 'not supported on Windows'
7    subdir_done()
8endif
9
10subdir('base')
11objs = [base_objs]
12
13sources = files(
14        'ngbe_ethdev.c',
15        'ngbe_ptypes.c',
16        'ngbe_pf.c',
17        'ngbe_rxtx.c',
18        'ngbe_ethdev_vf.c',
19)
20
21deps += ['hash']
22
23if arch_subdir == 'x86'
24    sources += files('ngbe_rxtx_vec_sse.c')
25elif arch_subdir == 'arm'
26    sources += files('ngbe_rxtx_vec_neon.c')
27endif
28
29includes += include_directories('base')
30