mempool: deprecate xmem functions
[dpdk.git] / lib / librte_mempool / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 extra_flags = []
5
6 # Allow deprecated symbol to use deprecated rte_mempool_populate_iova_tab()
7 # from earlier deprecated rte_mempool_populate_phys_tab()
8 extra_flags += '-Wno-deprecated-declarations'
9
10 foreach flag: extra_flags
11         if cc.has_argument(flag)
12                 cflags += flag
13         endif
14 endforeach
15
16 version = 4
17 sources = files('rte_mempool.c', 'rte_mempool_ops.c',
18                 'rte_mempool_ops_default.c')
19 headers = files('rte_mempool.h')
20 deps += ['ring']
21
22 # memseg walk is not yet part of stable API
23 allow_experimental_apis = true