net/mlx5: fix event handler uninstall
[dpdk.git] / drivers / crypto / zuc / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 ifneq ($(MAKECMDGOALS),clean)
7 ifeq ($(LIBSSO_ZUC_PATH),)
8 $(error "Please define LIBSSO_ZUC_PATH environment variable")
9 endif
10 endif
11
12 # library name
13 LIB = librte_pmd_zuc.a
14
15 # build flags
16 CFLAGS += -O3
17 CFLAGS += $(WERROR_FLAGS)
18 CFLAGS += -DALLOW_EXPERIMENTAL_API
19
20 # library version
21 LIBABIVER := 1
22
23 # versioning export map
24 EXPORT_MAP := rte_pmd_zuc_version.map
25
26 # external library dependencies
27 CFLAGS += -I$(LIBSSO_ZUC_PATH)
28 CFLAGS += -I$(LIBSSO_ZUC_PATH)/include
29 CFLAGS += -I$(LIBSSO_ZUC_PATH)/build
30 LDLIBS += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc
31 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
32 LDLIBS += -lrte_cryptodev
33 LDLIBS += -lrte_bus_vdev
34
35 # library source files
36 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd.c
37 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd_ops.c
38
39 include $(RTE_SDK)/mk/rte.lib.mk