2018-04-27 13:23:54 +00:00
|
|
|
# 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
|
2018-04-27 13:23:58 +00:00
|
|
|
SRCS-y += rte_compressdev.c rte_compressdev_pmd.c rte_comp.c
|
2018-04-27 13:23:54 +00:00
|
|
|
|
|
|
|
# export include files
|
2018-04-27 13:23:56 +00:00
|
|
|
SYMLINK-y-include += rte_comp.h
|
2018-04-27 13:23:54 +00:00
|
|
|
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
|