Imported Upstream version 17.05
[deb_dpdk.git] / lib / librte_eventdev / Makefile
similarity index 73%
rename from mk/arch/tile/rte.vars.mk
rename to lib/librte_eventdev/Makefile
index 5ad3738..e06346a 100644 (file)
@@ -1,6 +1,6 @@
 #   BSD LICENSE
 #
-#   Copyright (C) EZchip Semiconductor Ltd. 2015.
+#   Copyright(c) 2016 Cavium networks. All rights reserved.
 #
 #   Redistribution and use in source and binary forms, with or without
 #   modification, are permitted provided that the following conditions
@@ -12,7 +12,7 @@
 #       notice, this list of conditions and the following disclaimer in
 #       the documentation and/or other materials provided with the
 #       distribution.
-#     * Neither the name of EZchip Semiconductor nor the names of its
+#     * Neither the name of Cavium networks nor the names of its
 #       contributors may be used to endorse or promote products derived
 #       from this software without specific prior written permission.
 #
 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+include $(RTE_SDK)/mk/rte.vars.mk
 
-ARCH  ?= tile
-CROSS ?=
+# library name
+LIB = librte_eventdev.a
 
-CPU_CFLAGS  ?=
-CPU_LDFLAGS ?=
-CPU_ASFLAGS ?=
+# library version
+LIBABIVER := 1
 
-export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS
+# build flags
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS)
+
+# library source files
+SRCS-y += rte_eventdev.c
+
+# export include files
+SYMLINK-y-include += rte_eventdev.h
+SYMLINK-y-include += rte_eventdev_pmd.h
+
+# versioning export map
+EXPORT_MAP := rte_eventdev_version.map
+
+include $(RTE_SDK)/mk/rte.lib.mk