New upstream version 18.11-rc1
[deb_dpdk.git] / drivers / net / atlantic / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Aquantia Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_atlantic.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13
14 EXPORT_MAP := rte_pmd_atlantic_version.map
15
16 LIBABIVER := 1
17
18 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
19 LDLIBS += -lrte_ethdev -lrte_net
20 LDLIBS += -lrte_bus_pci
21
22 VPATH += $(SRCDIR)/hw_atl
23
24 #
25 # all source are stored in SRCS-y
26 #
27 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_rxtx.c
28 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_ethdev.c
29 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_hw_regs.c
30 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_utils.c
31 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_llh.c
32 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_utils_fw2x.c
33 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_b0.c
34
35 include $(RTE_SDK)/mk/rte.lib.mk