#$FreeBSD$
.PATH:  ${.CURDIR}
KMOD    = ixgbe
SRCS    = device_if.h bus_if.h pci_if.h opt_bdg.h
SRCS    += ixgbe.c
# Shared source
SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c
SRCS    += ixgbe_82598.c ixgbe_82599.c
# Define SMP for binding ability
CFLAGS	+= -DSMP -DIXGBE_FDIR

#  Add this to build the driver with IEEE 1588 support
#CFLAGS  += -DIXGBE_IEEE1588

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

.include <bsd.kmod.mk>
