1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2016 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
6 ifneq ($(MAKECMDGOALS),clean)
7 ifeq ($(LIBSSO_ZUC_PATH),)
8 $(error "Please define LIBSSO_ZUC_PATH environment variable")
13 LIB = librte_pmd_zuc.a
17 CFLAGS += $(WERROR_FLAGS)
22 # versioning export map
23 EXPORT_MAP := rte_pmd_zuc_version.map
25 # external library dependencies
26 CFLAGS += -I$(LIBSSO_ZUC_PATH)
27 CFLAGS += -I$(LIBSSO_ZUC_PATH)/include
28 CFLAGS += -I$(LIBSSO_ZUC_PATH)/build
29 LDLIBS += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc
30 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
31 LDLIBS += -lrte_cryptodev
32 LDLIBS += -lrte_bus_vdev
34 # library source files
35 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd.c
36 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd_ops.c
38 include $(RTE_SDK)/mk/rte.lib.mk