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