mempool: deprecate xmem functions
[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 LDLIBS += -lrte_eal -lrte_ring
14
15 EXPORT_MAP := rte_mempool_version.map
16
17 LIBABIVER := 4
18
19 # memseg walk is not yet part of stable API
20 CFLAGS += -DALLOW_EXPERIMENTAL_API
21
22 # all source are stored in SRCS-y
23 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool.c
24 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool_ops.c
25 SRCS-$(CONFIG_RTE_LIBRTE_MEMPOOL) +=  rte_mempool_ops_default.c
26 # install includes
27 SYMLINK-$(CONFIG_RTE_LIBRTE_MEMPOOL)-include := rte_mempool.h
28
29 include $(RTE_SDK)/mk/rte.lib.mk