2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 13:43:57 +01:00
|
|
|
|
2021-10-20 12:25:54 +01:00
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2017-10-17 13:43:57 +01:00
|
|
|
sources = files('rte_lpm.c', 'rte_lpm6.c')
|
|
|
|
headers = files('rte_lpm.h', 'rte_lpm6.h')
|
2017-10-12 11:50:28 +01:00
|
|
|
# since header files have different names, we can install all vector headers
|
|
|
|
# without worrying about which architecture we actually need
|
2021-04-20 11:22:24 +01:00
|
|
|
indirect_headers += files(
|
|
|
|
'rte_lpm_altivec.h',
|
|
|
|
'rte_lpm_neon.h',
|
|
|
|
'rte_lpm_sse.h',
|
|
|
|
'rte_lpm_sve.h',
|
|
|
|
)
|
2018-09-18 13:57:09 +03:00
|
|
|
deps += ['hash']
|
2020-07-10 10:22:25 +08:00
|
|
|
deps += ['rcu']
|