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)
18 CFLAGS += -DALLOW_EXPERIMENTAL_API
23 # versioning export map
24 EXPORT_MAP := rte_pmd_zuc_version.map
26 # external library dependencies
27 CFLAGS += -I$(LIBSSO_ZUC_PATH)
28 CFLAGS += -I$(LIBSSO_ZUC_PATH)/include
29 CFLAGS += -I$(LIBSSO_ZUC_PATH)/build
30 LDLIBS += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc
31 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
32 LDLIBS += -lrte_cryptodev
33 LDLIBS += -lrte_bus_vdev
35 # library source files
36 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd.c
37 SRCS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += rte_zuc_pmd_ops.c
39 include $(RTE_SDK)/mk/rte.lib.mk