1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 sources = files('rte_distributor.c', 'rte_distributor_single.c')
5 if arch_subdir == 'x86'
6 sources += files('rte_distributor_match_sse.c')
8 sources += files('rte_distributor_match_generic.c')
10 headers = files('rte_distributor.h')
12 use_function_versioning = true
14 # for clang 32-bit compiles we need libatomic for 64-bit atomic ops
15 if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
16 ext_deps += cc.find_library('atomic')