numam-dpdk/lib/table/meson.build
Bruce Richardson b1094939a5 build/windows: remove separate list of libs
Rather than maintaining a separate list of libraries which are to be
built on windows, use the standard library list and explicitly add to
each library that is not to be built a check for windows and disable
the library at that per-lib level. As well as shortening the main
lib/meson.build file, this also leads to the build summary at the end of
the meson config run correctly listing the libraries which are not to be
built.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2021-10-22 22:40:59 +02:00

51 lines
1.3 KiB
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
sources = files(
'rte_swx_table_em.c',
'rte_swx_table_learner.c',
'rte_swx_table_selector.c',
'rte_swx_table_wm.c',
'rte_table_acl.c',
'rte_table_array.c',
'rte_table_hash_cuckoo.c',
'rte_table_hash_ext.c',
'rte_table_hash_key8.c',
'rte_table_hash_key16.c',
'rte_table_hash_key32.c',
'rte_table_hash_lru.c',
'rte_table_lpm.c',
'rte_table_lpm_ipv6.c',
'rte_table_stub.c',
)
headers = files(
'rte_lru.h',
'rte_swx_table.h',
'rte_swx_table_em.h',
'rte_swx_table_learner.h',
'rte_swx_table_selector.h',
'rte_swx_table_wm.h',
'rte_table.h',
'rte_table_acl.h',
'rte_table_array.h',
'rte_table_hash.h',
'rte_table_hash_cuckoo.h',
'rte_table_hash_func.h',
'rte_table_lpm.h',
'rte_table_lpm_ipv6.h',
'rte_table_stub.h',
)
deps += ['mbuf', 'port', 'lpm', 'hash', 'acl']
indirect_headers += files(
'rte_lru_arm64.h',
'rte_lru_x86.h',
'rte_table_hash_func_arm64.h',
)