1 # SPDX-License-Identifier: BSD-3-Clause
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_caam_jr.a
12 CFLAGS += -D _GNU_SOURCE
15 CFLAGS += $(WERROR_FLAGS)
17 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
18 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
19 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax/caamflib/
20 CFLAGS += -I$(RTE_SDK)/drivers/crypto/caam_jr
21 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
23 # versioning export map
24 EXPORT_MAP := rte_pmd_caam_jr_version.map
26 # library source files
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_capabilities.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_hw.c
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) += caam_jr_uio.c
31 # library dependencies
33 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
34 LDLIBS += -lrte_cryptodev
35 LDLIBS += -lrte_bus_dpaa
36 LDLIBS += -lrte_bus_vdev
37 LDLIBS += -lrte_common_dpaax
39 include $(RTE_SDK)/mk/rte.lib.mk