xref: /dpdk/drivers/net/ixgbe/meson.build (revision 6be66901)
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')
27    if is_windows and cc.get_id() != 'clang'
28        cflags += ['-fno-asynchronous-unwind-tables']
29    endif
30elif arch_subdir == 'arm'
31    sources += files('ixgbe_rxtx_vec_neon.c')
32endif
33
34includes += include_directories('base')
35
36headers = files('rte_pmd_ixgbe.h')
37