common/iavf: update copyright date
[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 += -D _GNU_SOURCE
13
14 CFLAGS += -O3
15 CFLAGS += $(WERROR_FLAGS)
16
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
22
23 # versioning export map
24 EXPORT_MAP := rte_pmd_caam_jr_version.map
25
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
32
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
38
39 include $(RTE_SDK)/mk/rte.lib.mk