cryptodev: restore crypto op alignment and layout
[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 # library version
10 LIBABIVER := 7
11
12 # build flags
13 CFLAGS += -O3
14 CFLAGS += $(WERROR_FLAGS)
15 CFLAGS += -DALLOW_EXPERIMENTAL_API
16 LDLIBS += -lrte_eal -lrte_mempool -lrte_ring -lrte_mbuf
17 LDLIBS += -lrte_kvargs
18
19 # library source files
20 SRCS-y += rte_cryptodev.c rte_cryptodev_pmd.c
21
22 # export include files
23 SYMLINK-y-include += rte_crypto.h
24 SYMLINK-y-include += rte_crypto_sym.h
25 SYMLINK-y-include += rte_cryptodev.h
26 SYMLINK-y-include += rte_cryptodev_pmd.h
27 SYMLINK-y-include += rte_crypto_asym.h
28
29 # versioning export map
30 EXPORT_MAP := rte_cryptodev_version.map
31
32 include $(RTE_SDK)/mk/rte.lib.mk