1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2015 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
13 CFLAGS += $(WERROR_FLAGS)
16 # external library include paths
17 CFLAGS += -I$(SRCDIR)/qat_adf
19 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
20 LDLIBS += -lrte_cryptodev
21 LDLIBS += -lrte_pci -lrte_bus_pci
23 # library source files
24 SRCS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += qat_crypto.c
25 SRCS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += qat_qp.c
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += qat_adf/qat_algs_build_desc.c
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += rte_qat_cryptodev.c
29 # export include files
32 # versioning export map
33 EXPORT_MAP := rte_pmd_qat_version.map
35 include $(RTE_SDK)/mk/rte.lib.mk