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_KASUMI_PATH),)
8 $(error "Please define LIBSSO_KASUMI_PATH environment variable")
13 LIB = librte_pmd_kasumi.a
17 CFLAGS += $(WERROR_FLAGS)
18 CFLAGS += -DALLOW_EXPERIMENTAL_API
23 # versioning export map
24 EXPORT_MAP := rte_pmd_kasumi_version.map
26 # external library dependencies
27 CFLAGS += -I$(LIBSSO_KASUMI_PATH)
28 CFLAGS += -I$(LIBSSO_KASUMI_PATH)/include
29 CFLAGS += -I$(LIBSSO_KASUMI_PATH)/build
30 LDLIBS += -L$(LIBSSO_KASUMI_PATH)/build -lsso_kasumi
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_KASUMI) += rte_kasumi_pmd.c
37 SRCS-$(CONFIG_RTE_LIBRTE_PMD_KASUMI) += rte_kasumi_pmd_ops.c
39 include $(RTE_SDK)/mk/rte.lib.mk