2017-12-19 15:49:01 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016 Intel Corporation
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
2016-10-18 11:36:13 +00:00
|
|
|
LIB = librte_pmd_openssl.a
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
# build flags
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2019-01-10 14:50:18 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
# library version
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
|
|
|
# versioning export map
|
2016-10-18 11:36:13 +00:00
|
|
|
EXPORT_MAP := rte_pmd_openssl_version.map
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
# external library dependencies
|
|
|
|
LDLIBS += -lcrypto
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_cryptodev
|
2017-11-07 06:54:21 +00:00
|
|
|
LDLIBS += -lrte_bus_vdev
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
# library source files
|
2016-10-18 11:36:13 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd_ops.c
|
2016-10-04 15:11:19 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|