266af64348e13140e1584a96f781af631dc47374
[dpdk.git] / lib / librte_distributor / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 sources = files('rte_distributor.c', 'rte_distributor_single.c')
5 if arch_subdir == 'x86'
6         sources += files('rte_distributor_match_sse.c')
7 else
8         sources += files('rte_distributor_match_generic.c')
9 endif
10 headers = files('rte_distributor.h')
11 deps += ['mbuf']
12
13 # for clang 32-bit compiles we need libatomic for 64-bit atomic ops
14 if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
15         ext_deps += cc.find_library('atomic')
16 endif