2020-04-15 08:48:00 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2019-2020 Intel Corporation
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_igc.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
LDLIBS += -lrte_eal
|
|
|
|
LDLIBS += -lrte_ethdev
|
|
|
|
LDLIBS += -lrte_bus_pci
|
2020-04-15 08:48:01 +00:00
|
|
|
LDLIBS += -lrte_mbuf
|
|
|
|
LDLIBS += -lrte_mempool
|
2020-04-15 08:48:00 +00:00
|
|
|
|
|
|
|
EXPORT_MAP := rte_pmd_igc_version.map
|
|
|
|
|
2020-04-15 08:48:01 +00:00
|
|
|
VPATH += $(SRCDIR)/base
|
|
|
|
|
2020-04-15 08:48:00 +00:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2020-04-15 08:48:01 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_api.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_base.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_i225.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_mac.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_manage.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_nvm.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_osdep.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_phy.c
|
2020-04-15 08:48:00 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_logs.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_ethdev.c
|
2020-04-15 08:48:03 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_txrx.c
|
2020-04-15 08:48:10 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_filter.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IGC_PMD) += igc_flow.c
|
2020-04-15 08:48:00 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|