1KMOD= if_igb 2SRCS= if_igb.c 3SRCS+= device_if.h bus_if.h pci_if.h 4SRCS+= opt_polling.h opt_igb.h 5 6.ifndef BUILDING_WITH_KERNEL 7opt_polling.h: 8 echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} 9opt_igb.h: 10 echo '#define IGB_RSS_DEBUG 1' > ${.OBJDIR}/${.TARGET} 11.endif 12 13.include <bsd.kmod.mk> 14