build: disable experimental API check internally
[dpdk.git] / lib / librte_hash / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2015 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_hash.a
8
9 CFLAGS += -O3
10 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
11 LDLIBS += -lrte_eal -lrte_ring
12
13 EXPORT_MAP := rte_hash_version.map
14
15 # all source are stored in SRCS-y
16 SRCS-$(CONFIG_RTE_LIBRTE_HASH) := rte_cuckoo_hash.c
17 SRCS-$(CONFIG_RTE_LIBRTE_HASH) += rte_fbk_hash.c
18
19 # install this header file
20 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include := rte_hash.h
21 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include += rte_hash_crc.h
22 ifeq ($(CONFIG_RTE_ARCH_ARM64),y)
23 ifneq ($(findstring RTE_MACHINE_CPUFLAG_CRC32,$(CFLAGS)),)
24 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include += rte_crc_arm64.h
25 endif
26 endif
27 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include += rte_jhash.h
28 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include += rte_thash.h
29 SYMLINK-$(CONFIG_RTE_LIBRTE_HASH)-include += rte_fbk_hash.h
30
31 include $(RTE_SDK)/mk/rte.lib.mk