1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
7 LIB = librte_distributor.a
10 CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
11 LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev
13 EXPORT_MAP := rte_distributor_version.map
17 # all source are stored in SRCS-y
18 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) := rte_distributor_v20.c
19 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor.c
20 ifeq ($(CONFIG_RTE_ARCH_X86),y)
21 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_sse.c
23 SRCS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += rte_distributor_match_generic.c
27 # install this header file
28 SYMLINK-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR)-include := rte_distributor.h
30 include $(RTE_SDK)/mk/rte.lib.mk