1 # SPDX-License-Identifier: BSD-3-Clause
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_caam_jr.a
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += -D _GNU_SOURCE
17 CFLAGS += $(WERROR_FLAGS)
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
25 # versioning export map
26 EXPORT_MAP := rte_pmd_caam_jr_version.map
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
38 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
39 LDLIBS += -lrte_cryptodev
40 LDLIBS += -lrte_bus_dpaa
41 LDLIBS += -lrte_bus_vdev
43 include $(RTE_SDK)/mk/rte.lib.mk