1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
5 include $(RTE_SDK)/mk/rte.vars.mk
10 LIB = librte_pmd_dpaa_sec.a
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += -D _GNU_SOURCE
16 CFLAGS += $(WERROR_FLAGS)
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
28 # versioning export map
29 EXPORT_MAP := rte_pmd_dpaa_sec_version.map
34 # library source files
35 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_SEC) += dpaa_sec.c
37 # library dependencies
39 LDLIBS += -lrte_bus_dpaa
40 LDLIBS += -lrte_mempool_dpaa
42 include $(RTE_SDK)/mk/rte.lib.mk