1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_bond.a
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
14 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
15 LDLIBS += -lrte_pci -lrte_bus_pci
16 LDLIBS += -lrte_bus_vdev
18 EXPORT_MAP := rte_pmd_bond_version.map
21 # all source are stored in SRCS-y
23 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_api.c
24 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_pmd.c
25 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_args.c
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_8023ad.c
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_alb.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_flow.c
31 # Export include files
33 SYMLINK-y-include += rte_eth_bond.h
34 SYMLINK-y-include += rte_eth_bond_8023ad.h
36 include $(RTE_SDK)/mk/rte.lib.mk