1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
7 LIB = librte_pmd_openssl.a
11 CFLAGS += $(WERROR_FLAGS)
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
17 # versioning export map
18 EXPORT_MAP := rte_pmd_openssl_version.map
20 # external library dependencies
22 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
23 LDLIBS += -lrte_cryptodev
24 LDLIBS += -lrte_bus_vdev
26 # library source files
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPENSSL) += rte_openssl_pmd_ops.c
30 include $(RTE_SDK)/mk/rte.lib.mk