2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2018-04-16 13:24:36 +00:00
|
|
|
extra_flags = []
|
|
|
|
|
|
|
|
foreach flag: extra_flags
|
2021-04-20 10:22:24 +00:00
|
|
|
if cc.has_argument(flag)
|
|
|
|
cflags += flag
|
|
|
|
endif
|
2018-04-16 13:24:36 +00:00
|
|
|
endforeach
|
|
|
|
|
2021-04-20 10:22:24 +00:00
|
|
|
sources = files(
|
|
|
|
'rte_mempool.c',
|
|
|
|
'rte_mempool_ops.c',
|
|
|
|
'rte_mempool_ops_default.c',
|
|
|
|
'mempool_trace_points.c',
|
|
|
|
)
|
|
|
|
headers = files(
|
|
|
|
'rte_mempool.h',
|
|
|
|
'rte_mempool_trace.h',
|
|
|
|
'rte_mempool_trace_fp.h',
|
|
|
|
)
|
2017-10-17 12:43:57 +00:00
|
|
|
deps += ['ring']
|