2017-12-19 15:49:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2012-09-04 12:54:00 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
2016-10-03 08:38:45 +00:00
|
|
|
LIB = librte_net.a
|
|
|
|
|
2012-09-04 12:54:00 +00:00
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_mbuf -lrte_eal
|
2012-09-04 12:54:00 +00:00
|
|
|
|
2016-10-03 08:38:45 +00:00
|
|
|
EXPORT_MAP := rte_net_version.map
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NET) := rte_net.c
|
2017-04-05 20:49:49 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NET) += rte_net_crc.c
|
2016-10-03 08:38:45 +00:00
|
|
|
|
2012-09-04 12:54:00 +00:00
|
|
|
# install includes
|
2017-10-25 15:07:19 +00:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include := rte_ip.h rte_tcp.h rte_udp.h rte_esp.h
|
2016-10-03 08:38:46 +00:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp.h rte_icmp.h rte_arp.h
|
2016-10-03 08:38:50 +00:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ether.h rte_gre.h rte_net.h
|
2017-04-05 20:49:49 +00:00
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_net_crc.h
|
2012-09-04 12:54:00 +00:00
|
|
|
|
2016-10-03 08:38:45 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|