New upstream version 18.02
[deb_dpdk.git] / lib / librte_member / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_member.a
8
9 CFLAGS := -I$(SRCDIR) $(CFLAGS)
10 CFLAGS += $(WERROR_FLAGS) -O3
11
12 LDLIBS += -lm
13 LDLIBS += -lrte_eal -lrte_hash
14
15 EXPORT_MAP := rte_member_version.map
16
17 LIBABIVER := 1
18
19 # all source are stored in SRCS-y
20 SRCS-$(CONFIG_RTE_LIBRTE_MEMBER) +=  rte_member.c rte_member_ht.c rte_member_vbf.c
21 # install includes
22 SYMLINK-$(CONFIG_RTE_LIBRTE_MEMBER)-include := rte_member.h
23
24 include $(RTE_SDK)/mk/rte.lib.mk