#$FreeBSD$
.PATH:  ${.CURDIR}
KMOD    = if_ixl
SRCS    = device_if.h bus_if.h pci_if.h opt_bdg.h
SRCS    += if_ixl.c ixl_txrx.c i40e_osdep.c
# Shared source
SRCS    += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c
# Add INET and INET6 for the standalone code, in-kernel options control it
CFLAGS	+= -DSMP -DINET -DINET6
# Add Flow Director support
# CFLAGS += -DI40E_FDIR
# A0 hardware support
# CFLAGS += -DFORTVILLE_A0_SUPPORT
# Debug messages / sysctls
# CFLAGS += -DI40E_DEBUG

clean:
	rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* *_StripErr
	rm -f *.o *.kld *.ko
	rm -f @ machine x86

.include <bsd.kmod.mk>
