2017-12-19 15:49:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2012-09-04 13:54:00 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_mbuf.a
|
|
|
|
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
|
2019-01-07 09:57:11 +01:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal -lrte_mempool
|
2012-09-04 13:54:00 +01:00
|
|
|
|
2015-02-02 12:40:20 -05:00
|
|
|
EXPORT_MAP := rte_mbuf_version.map
|
|
|
|
|
2018-12-20 12:16:09 +00:00
|
|
|
LIBABIVER := 5
|
2015-02-02 12:40:21 -05:00
|
|
|
|
2012-09-04 13:54:00 +01:00
|
|
|
# all source are stored in SRCS-y
|
2018-01-29 13:40:45 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MBUF) := rte_mbuf.c rte_mbuf_ptype.c rte_mbuf_pool_ops.c
|
2019-10-26 14:39:01 +02:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_MBUF) += rte_mbuf_dyn.c
|
2012-09-04 13:54:00 +01:00
|
|
|
|
|
|
|
# install includes
|
2019-09-27 14:50:53 +01:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include := rte_mbuf.h
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_core.h
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_ptype.h
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_pool_ops.h
|
2019-10-26 14:39:01 +02:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_dyn.h
|
2012-09-04 13:54:00 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|