1# SPDX-License-Identifier: GPL-2.0
2################################################################################
3#
4# Intel Ethernet Controller XL710 Family Linux Driver
5# Copyright(c) 2013 - 2015 Intel Corporation.
6#
7# This program is free software; you can redistribute it and/or modify it
8# under the terms and conditions of the GNU General Public License,
9# version 2, as published by the Free Software Foundation.
10#
11# This program is distributed in the hope it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14# more details.
15#
16# You should have received a copy of the GNU General Public License along
17# with this program.  If not, see <http://www.gnu.org/licenses/>.
18#
19# The full GNU General Public License is included in this distribution in
20# the file called "COPYING".
21#
22# Contact Information:
23# e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
24# Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
25#
26################################################################################
27
28#
29# Makefile for the Intel(R) Ethernet Connection XL710 (i40e.ko) driver
30#
31
32ccflags-y += -I$(src)
33subdir-ccflags-y += -I$(src)
34
35obj-$(CONFIG_I40E) += i40e.o
36
37i40e-objs := i40e_main.o \
38	i40e_ethtool.o	\
39	i40e_adminq.o	\
40	i40e_common.o	\
41	i40e_hmc.o	\
42	i40e_lan_hmc.o	\
43	i40e_nvm.o	\
44	i40e_debugfs.o	\
45	i40e_diag.o	\
46	i40e_txrx.o	\
47	i40e_ptp.o	\
48	i40e_client.o   \
49	i40e_virtchnl_pf.o
50
51i40e-$(CONFIG_I40E_DCB) += i40e_dcb.o i40e_dcb_nl.o
52