]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2016 Intel Corporation | |
7c673cae FG |
3 | |
4 | include $(RTE_SDK)/mk/rte.vars.mk | |
5 | ||
6 | # library name | |
7 | LIB = librte_pmd_openssl.a | |
8 | ||
9 | # build flags | |
10 | CFLAGS += -O3 | |
11 | CFLAGS += $(WERROR_FLAGS) | |
9f95a23c | 12 | CFLAGS += -DALLOW_EXPERIMENTAL_API |
7c673cae FG |
13 | |
14 | # library version | |
15 | LIBABIVER := 1 | |
16 | ||
17 | # versioning export map | |
18 | EXPORT_MAP := rte_pmd_openssl_version.map | |
19 | ||
20 | # external library dependencies | |
21 | LDLIBS += -lcrypto | |
9f95a23c TL |
22 | LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring |
23 | LDLIBS += -lrte_cryptodev | |
24 | LDLIBS += -lrte_bus_vdev | |
7c673cae FG |
25 | |
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 | |
29 | ||
7c673cae | 30 | include $(RTE_SDK)/mk/rte.lib.mk |