2018-12-06 14:17:51 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_mempool.a
|
|
|
|
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
|
2018-12-06 14:17:51 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2018-05-15 09:49:22 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_ring
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
EXPORT_MAP := rte_mempool_version.map
|
|
|
|
|
2018-12-06 14:17:51 +00:00
|
|
|
LIBABIVER := 5
|
|
|
|
|
|
|
|
# memseg walk is not yet part of stable API
|
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_ops.c
|
2018-12-06 14:17:51 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += rte_mempool_ops_default.c
|
2017-04-21 10:43:26 +00:00
|
|
|
# install includes
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MEMPOOL)-include := rte_mempool.h
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|