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