1# SPDX-License-Identifier: GPL-2.0
2# Copyright(c) 1999 - 2024 Intel Corporation.
3#
4# Makefile for the Intel(R) 10GbE PCI Express ethernet driver
5#
6
7subdir-ccflags-y += -I$(src)
8obj-$(CONFIG_IXGBE) += ixgbe.o
9
10ixgbe-y := ixgbe_main.o ixgbe_common.o ixgbe_ethtool.o \
11           ixgbe_82599.o ixgbe_82598.o ixgbe_phy.o ixgbe_sriov.o \
12           ixgbe_mbx.o ixgbe_x540.o ixgbe_x550.o ixgbe_lib.o ixgbe_ptp.o \
13           ixgbe_xsk.o ixgbe_e610.o devlink/devlink.o ixgbe_fw_update.o \
14	   devlink/region.o
15
16ixgbe-$(CONFIG_IXGBE_DCB) +=  ixgbe_dcb.o ixgbe_dcb_82598.o \
17                              ixgbe_dcb_82599.o ixgbe_dcb_nl.o
18
19ixgbe-$(CONFIG_IXGBE_HWMON) += ixgbe_sysfs.o
20ixgbe-$(CONFIG_DEBUG_FS) += ixgbe_debugfs.o
21ixgbe-$(CONFIG_FCOE:m=y) += ixgbe_fcoe.o
22ixgbe-$(CONFIG_IXGBE_IPSEC) += ixgbe_ipsec.o
23