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