1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2015 Intel Corporation
4 include $(RTE_SDK
)/mk
/rte.vars.mk
10 CFLAGS
+= $(WERROR_FLAGS
) -I
$(SRCDIR
)
11 LDLIBS
+= -lrte_eal
-lrte_ring
13 EXPORT_MAP
:= rte_hash_version.map
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
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
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
31 include $(RTE_SDK
)/mk
/rte.lib.mk