summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/lib/librte_compressdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/dpdk/lib/librte_compressdev/Makefile')
-rw-r--r--src/seastar/dpdk/lib/librte_compressdev/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/seastar/dpdk/lib/librte_compressdev/Makefile b/src/seastar/dpdk/lib/librte_compressdev/Makefile
new file mode 100644
index 000000000..7ef89e613
--- /dev/null
+++ b/src/seastar/dpdk/lib/librte_compressdev/Makefile
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017-2018 Intel Corporation
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_compressdev.a
+
+# library version
+LIBABIVER := 1
+
+# build flags
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -DALLOW_EXPERIMENTAL_API
+LDLIBS += -lrte_eal -lrte_mempool -lrte_kvargs
+
+# library source files
+SRCS-y += rte_compressdev.c rte_compressdev_pmd.c rte_comp.c
+
+# export include files
+SYMLINK-y-include += rte_comp.h
+SYMLINK-y-include += rte_compressdev.h
+# export include files (for PMDs)
+SYMLINK-y-include += rte_compressdev_pmd.h
+SYMLINK-y-include += rte_compressdev_internal.h
+
+# versioning export map
+EXPORT_MAP := rte_compressdev_version.map
+
+include $(RTE_SDK)/mk/rte.lib.mk