regexdev: introduce API
[dpdk.git] / lib / librte_regexdev / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 # Copyright 2020 Mellanox Technologies, Ltd
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # library name
8 LIB = librte_regexdev.a
9
10 EXPORT_MAP := rte_regex_version.map
11
12 # library version
13 LIBABIVER := 1
14
15 # build flags
16 CFLAGS += -O3
17 CFLAGS += $(WERROR_FLAGS)
18 LDLIBS += -lrte_eal -lrte_mbuf
19
20 # library source files
21 # all source are stored in SRCS-y
22 SRCS-$(CONFIG_RTE_LIBRTE_REGEXDEV) := rte_regexdev.c
23
24 # export include files
25 SYMLINK-$(CONFIG_RTE_LIBRTE_REGEXDEV)-include += rte_regexdev.h
26
27 # versioning export map
28 EXPORT_MAP := rte_regexdev_version.map
29
30 include $(RTE_SDK)/mk/rte.lib.mk