mempool: support block dequeue operation
[dpdk.git] / lib / librte_mempool / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_mempool.a
8
9 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
10 # Allow deprecated symbol to use deprecated rte_mempool_populate_iova_tab()
11 # from earlier deprecated rte_mempool_populate_phys_tab()
12 CFLAGS += -Wno-deprecated-declarations
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 LDLIBS += -lrte_eal -lrte_ring
15
16 EXPORT_MAP := rte_mempool_version.map
17
18 LIBABIVER := 4
19
20 # memseg walk is not yet part of stable API
21 CFLAGS += -DALLOW_EXPERIMENTAL_API
22
23 # all source are stored in SRCS-y
24 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool.c
25 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool_ops.c
26 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool_ops_default.c
27 # install includes
28 SYMLINK-$(CONFIG_RTE_LIBRTE_MEMPOOL)-include := rte_mempool.h
29
30 include $(RTE_SDK)/mk/rte.lib.mk