1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 # Copyright 2020 Mellanox Technologies, Ltd
5 include $(RTE_SDK)/mk/rte.vars.mk
8 LIB = librte_regexdev.a
10 EXPORT_MAP := rte_regex_version.map
17 CFLAGS += $(WERROR_FLAGS)
18 LDLIBS += -lrte_eal -lrte_mbuf
20 # library source files
21 # all source are stored in SRCS-y
22 SRCS-$(CONFIG_RTE_LIBRTE_REGEXDEV) := rte_regexdev.c
24 # export include files
25 SYMLINK-$(CONFIG_RTE_LIBRTE_REGEXDEV)-include += rte_regexdev.h
26 SYMLINK-$(CONFIG_RTE_LIBRTE_REGEXDEV)-include += rte_regexdev_core.h
27 SYMLINK-$(CONFIG_RTE_LIBRTE_REGEXDEV)-include += rte_regexdev_driver.h
29 # versioning export map
30 EXPORT_MAP := rte_regexdev_version.map
32 include $(RTE_SDK)/mk/rte.lib.mk