New upstream version 18.08
[deb_dpdk.git] / drivers / net / bonding / 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 #
7 # library name
8 #
9 LIB = librte_pmd_bond.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
14 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_cmdline
15 LDLIBS += -lrte_pci -lrte_bus_pci
16 LDLIBS += -lrte_bus_vdev
17
18 EXPORT_MAP := rte_pmd_bond_version.map
19
20 LIBABIVER := 2
21
22 #
23 # all source are stored in SRCS-y
24 #
25 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_api.c
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_pmd.c
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_args.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_8023ad.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_alb.c
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_flow.c
31
32 #
33 # Export include files
34 #
35 SYMLINK-y-include += rte_eth_bond.h
36 SYMLINK-y-include += rte_eth_bond_8023ad.h
37
38 include $(RTE_SDK)/mk/rte.lib.mk