2017-12-19 15:49:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2014-05-28 17:32:35 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2014-05-28 17:32:36 +00:00
|
|
|
# library name
|
|
|
|
LIB = librte_ip_frag.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf -lrte_ethdev
|
|
|
|
LDLIBS += -lrte_hash
|
2014-05-28 17:32:36 +00:00
|
|
|
|
2017-08-31 13:42:41 +00:00
|
|
|
EXPORT_MAP := rte_ip_frag_version.map
|
2015-02-02 17:40:20 +00:00
|
|
|
|
2015-02-02 17:40:21 +00:00
|
|
|
LIBABIVER := 1
|
|
|
|
|
2014-05-28 17:32:36 +00:00
|
|
|
#source files
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ipv4_fragmentation.c
|
2014-05-28 17:32:43 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ipv6_fragmentation.c
|
2014-10-22 11:17:01 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ipv4_reassembly.c
|
2014-05-28 17:32:46 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ipv6_reassembly.c
|
2014-05-28 17:32:41 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += rte_ip_frag_common.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += ip_frag_internal.c
|
2014-05-28 17:32:36 +00:00
|
|
|
|
2014-05-28 17:32:35 +00:00
|
|
|
# install this header file
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_IP_FRAG)-include += rte_ip_frag.h
|
2014-05-28 17:32:41 +00:00
|
|
|
|
2014-05-28 17:32:35 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|