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
17 # all source are stored in SRCS-y
18 SRCS-
$(CONFIG_RTE_LIBRTE_HASH
) := rte_cuckoo_hash.c
19 SRCS-
$(CONFIG_RTE_LIBRTE_HASH
) += rte_fbk_hash.c
21 # install this header file
22 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include := rte_hash.h
23 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include += rte_hash_crc.h
24 ifeq ($(CONFIG_RTE_ARCH_ARM64
),y
)
25 ifneq ($(findstring RTE_MACHINE_CPUFLAG_CRC32
,$(CFLAGS
)),)
26 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include += rte_crc_arm64.h
29 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include += rte_jhash.h
30 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include += rte_thash.h
31 SYMLINK-
$(CONFIG_RTE_LIBRTE_HASH
)-include += rte_fbk_hash.h
33 include $(RTE_SDK
)/mk
/rte.lib.mk