net/bnxt: check access denied for HWRM commands
[dpdk.git] / drivers / crypto / dpaa_sec / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
3 # Copyright 2017 NXP
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 #
8 # library name
9 #
10 LIB = librte_pmd_dpaa_sec.a
11
12 # build flags
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += -D _GNU_SOURCE
15 CFLAGS += -O3
16 CFLAGS += $(WERROR_FLAGS)
17
18 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
19 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include
20 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec/
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 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
25 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
26 LDLIBS += -lrte_cryptodev
27
28 # versioning export map
29 EXPORT_MAP := rte_pmd_dpaa_sec_version.map
30
31 # library version
32 LIBABIVER := 1
33
34 # library source files
35 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec.c
36
37 # library dependencies
38
39 LDLIBS += -lrte_bus_dpaa
40 LDLIBS += -lrte_mempool_dpaa
41
42 include $(RTE_SDK)/mk/rte.lib.mk