1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 CFLAGS += -DALLOW_EXPERIMENTAL_API
10 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
11 LDLIBS += -lrte_eal -lrte_mempool
13 EXPORT_MAP := rte_mbuf_version.map
17 # all source are stored in SRCS-y
18 SRCS-$(CONFIG_RTE_LIBRTE_MBUF) := rte_mbuf.c rte_mbuf_ptype.c rte_mbuf_pool_ops.c
21 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include := rte_mbuf.h rte_mbuf_ptype.h rte_mbuf_pool_ops.h
23 include $(RTE_SDK)/mk/rte.lib.mk