mbuf: support dynamic fields and flags
[dpdk.git] / lib / librte_mbuf / 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_mbuf.a
8
9 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
10 CFLAGS += -DALLOW_EXPERIMENTAL_API
11
12 LDLIBS += -lrte_eal -lrte_mempool
13
14 EXPORT_MAP := rte_mbuf_version.map
15
16 LIBABIVER := 5
17
18 # all source are stored in SRCS-y
19 SRCS-$(CONFIG_RTE_LIBRTE_MBUF) := rte_mbuf.c rte_mbuf_ptype.c rte_mbuf_pool_ops.c
20 SRCS-$(CONFIG_RTE_LIBRTE_MBUF) += rte_mbuf_dyn.c
21
22 # install includes
23 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include := rte_mbuf.h
24 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_core.h
25 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_ptype.h
26 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_pool_ops.h
27 SYMLINK-$(CONFIG_RTE_LIBRTE_MBUF)-include += rte_mbuf_dyn.h
28
29 include $(RTE_SDK)/mk/rte.lib.mk