1#$FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/ice 4 5KMOD = if_ice 6 7# Interface headers 8SRCS = device_if.h bus_if.h pci_if.h ifdi_if.h 9SRCS += irdma_di_if.h irdma_if.h 10 11# Option headers 12SRCS += opt_inet.h opt_inet6.h opt_rss.h opt_iflib.h 13 14# Core source 15SRCS += ice_lib.c ice_osdep.c ice_resmgr.c ice_strings.c 16SRCS += ice_iflib_recovery_txrx.c ice_iflib_txrx.c if_ice_iflib.c 17SRCS += ice_fw_logging.c 18 19# RDMA Client interface 20# TODO: Is this the right way to compile this? 21SRCS += ice_rdma.c irdma_di_if.c irdma_if.c 22CFLAGS.irdma_di_if.c += -I${SRCTOP}/sys/dev/ice 23CFLAGS.irdma_if.c += -I${SRCTOP}/sys/dev/ice 24 25# Shared source 26SRCS += ice_common.c ice_controlq.c ice_dcb.c ice_flex_pipe.c ice_flow.c 27SRCS += ice_nvm.c ice_sched.c ice_switch.c ice_vlan_mode.c ice_fwlog.c 28 29.include <bsd.kmod.mk> 30