summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_ring/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_ring/Makefile')
-rw-r--r--src/spdk/dpdk/lib/librte_ring/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_ring/Makefile b/src/spdk/dpdk/lib/librte_ring/Makefile
new file mode 100644
index 00000000..21a36770
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_ring/Makefile
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_ring.a
+
+CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3
+LDLIBS += -lrte_eal
+
+EXPORT_MAP := rte_ring_version.map
+
+LIBABIVER := 2
+
+# all source are stored in SRCS-y
+SRCS-$(CONFIG_RTE_LIBRTE_RING) := rte_ring.c
+
+# install includes
+SYMLINK-$(CONFIG_RTE_LIBRTE_RING)-include := rte_ring.h \
+ rte_ring_generic.h \
+ rte_ring_c11_mem.h
+
+include $(RTE_SDK)/mk/rte.lib.mk