]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/Makefile
net: add compat headers without rte prefix
[dpdk.git] / lib / librte_net / Makefile
index ab290c382a649f5d9f79cd5e9667e371ac258833..b00cad3451c66847cb0aba20ab3ea5f05d26db6e 100644 (file)
@@ -5,8 +5,9 @@ include $(RTE_SDK)/mk/rte.vars.mk
 
 LIB = librte_net.a
 
+CFLAGS += -DALLOW_EXPERIMENTAL_API
 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
-LDLIBS += -lrte_mbuf -lrte_eal
+LDLIBS += -lrte_mbuf -lrte_eal -lrte_mempool
 
 EXPORT_MAP := rte_net_version.map
 LIBABIVER := 1
@@ -21,4 +22,10 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp.h rte_icmp.h rte_arp.h
 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ether.h rte_gre.h rte_net.h
 SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_net_crc.h
 
+SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ip_compat.h rte_tcp_compat.h
+SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_udp_compat.h rte_esp_compat.h
+SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp_compat.h rte_icmp_compat.h
+SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_arp_compat.h rte_ether_compat.h
+SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_gre_compat.h
+
 include $(RTE_SDK)/mk/rte.lib.mk