2017-12-19 15:49:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2015 Intel Corporation
|
2015-11-25 13:25:12 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_cryptodev.a
|
|
|
|
|
|
|
|
# library version
|
2017-10-25 12:00:35 +00:00
|
|
|
LIBABIVER := 4
|
2015-11-25 13:25:12 +00:00
|
|
|
|
|
|
|
# build flags
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mempool -lrte_ring -lrte_mbuf
|
|
|
|
LDLIBS += -lrte_kvargs
|
2015-11-25 13:25:12 +00:00
|
|
|
|
|
|
|
# library source files
|
2017-06-27 21:16:33 +00:00
|
|
|
SRCS-y += rte_cryptodev.c rte_cryptodev_pmd.c
|
2015-11-25 13:25:12 +00:00
|
|
|
|
|
|
|
# export include files
|
|
|
|
SYMLINK-y-include += rte_crypto.h
|
2016-03-10 15:41:10 +00:00
|
|
|
SYMLINK-y-include += rte_crypto_sym.h
|
2015-11-25 13:25:12 +00:00
|
|
|
SYMLINK-y-include += rte_cryptodev.h
|
|
|
|
SYMLINK-y-include += rte_cryptodev_pmd.h
|
|
|
|
|
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_cryptodev_version.map
|
|
|
|
|
2016-03-10 16:33:12 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|