net/iavf: add GTPU in default hash
[dpdk.git] / lib / librte_distributor / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 # library name
7 LIB = librte_distributor.a
8
9 CFLAGS += -O3
10 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
11 LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev
12
13 EXPORT_MAP := rte_distributor_version.map
14
15 # all source are stored in SRCS-y
16 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) := rte_distributor_single.c
17 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor.c
18 ifeq ($(CONFIG_RTE_ARCH_X86),y)
19 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_sse.c
20 else
21 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_generic.c
22 endif
23
24
25 # install this header file
26 SYMLINK-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR)-include := rte_distributor.h
27
28 include $(RTE_SDK)/mk/rte.lib.mk