net/mlx5: fix event handler uninstall
[dpdk.git] / drivers / crypto / caam_jr / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2017 NXP
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_caam_jr.a
10
11 # build flags
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
13
14 CFLAGS += -D _GNU_SOURCE
15
16 CFLAGS += -O3
17 CFLAGS += $(WERROR_FLAGS)
18
19 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
20 CFLAGS += -I$(RTE_SDK)/drivers/crypto/caam_jr
21 #sharing the hw flib headers from dpaa2_sec pmd
22 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
23 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
24
25 # versioning export map
26 EXPORT_MAP := rte_pmd_caam_jr_version.map
27
28 # library version
29 LIBABIVER := 1
30
31 # library source files
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr.c
33 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_capabilities.c
34 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_hw.c
35 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_uio.c
36 # library dependencies
37
38 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
39 LDLIBS += -lrte_cryptodev
40 LDLIBS += -lrte_bus_dpaa
41 LDLIBS += -lrte_bus_vdev
42
43 include $(RTE_SDK)/mk/rte.lib.mk