net/mlx5: fix event handler uninstall
[dpdk.git] / drivers / crypto / mvsam / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Marvell International Ltd.
3 # Copyright(c) 2017 Semihalf.
4 # All rights reserved.
5
6 include $(RTE_SDK)/mk/rte.vars.mk
7
8 ifneq ($(MAKECMDGOALS),clean)
9 ifneq ($(MAKECMDGOALS),config)
10 ifeq ($(LIBMUSDK_PATH),)
11 $(error "Please define LIBMUSDK_PATH environment variable")
12 endif
13 endif
14 endif
15
16 # library name
17 LIB = librte_pmd_mvsam_crypto.a
18
19 # build flags
20 CFLAGS += -O3
21 CFLAGS += $(WERROR_FLAGS)
22 CFLAGS += -I$(RTE_SDK)/drivers/common/mvep
23 CFLAGS += -I$(LIBMUSDK_PATH)/include
24 CFLAGS += -DMVCONF_TYPES_PUBLIC
25 CFLAGS += -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC
26
27 # library version
28 LIBABIVER := 1
29
30 # versioning export map
31 EXPORT_MAP := rte_pmd_mvsam_version.map
32
33 # external library dependencies
34 LDLIBS += -L$(LIBMUSDK_PATH)/lib -lmusdk
35 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_kvargs
36 LDLIBS += -lrte_cryptodev
37 LDLIBS += -lrte_bus_vdev -lrte_common_mvep
38
39 # library source files
40 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += rte_mrvl_pmd.c
41 SRCS-$(CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO) += rte_mrvl_pmd_ops.c
42
43 include $(RTE_SDK)/mk/rte.lib.mk