1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
8 CFLAGS += -DALLOW_EXPERIMENTAL_API
9 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
10 LDLIBS += -lrte_mbuf -lrte_eal -lrte_mempool
12 EXPORT_MAP := rte_net_version.map
15 SRCS-$(CONFIG_RTE_LIBRTE_NET) := rte_net.c
16 SRCS-$(CONFIG_RTE_LIBRTE_NET) += rte_net_crc.c
17 SRCS-$(CONFIG_RTE_LIBRTE_NET) += rte_arp.c
20 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include := rte_ip.h rte_tcp.h rte_udp.h rte_esp.h
21 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp.h rte_icmp.h rte_arp.h
22 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ether.h rte_gre.h rte_net.h
23 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_net_crc.h
25 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ip_compat.h rte_tcp_compat.h
26 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_udp_compat.h rte_esp_compat.h
27 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp_compat.h rte_icmp_compat.h
28 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_arp_compat.h rte_ether_compat.h
29 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_gre_compat.h
31 include $(RTE_SDK)/mk/rte.lib.mk