mempool: fix slow allocation of large mempools
[dpdk.git] / lib / librte_cryptodev / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2015-2019 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_cryptodev.a
8
9 # build flags
10 CFLAGS += -O3
11 CFLAGS += $(WERROR_FLAGS)
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 LDLIBS += -lrte_eal -lrte_mempool -lrte_ring -lrte_mbuf
14 LDLIBS += -lrte_kvargs
15
16 # library source files
17 SRCS-y += rte_cryptodev.c rte_cryptodev_pmd.c
18
19 # export include files
20 SYMLINK-y-include += rte_crypto.h
21 SYMLINK-y-include += rte_crypto_sym.h
22 SYMLINK-y-include += rte_cryptodev.h
23 SYMLINK-y-include += rte_cryptodev_pmd.h
24 SYMLINK-y-include += rte_crypto_asym.h
25
26 # versioning export map
27 EXPORT_MAP := rte_cryptodev_version.map
28
29 include $(RTE_SDK)/mk/rte.lib.mk