1KMOD= if_emx 2SRCS= if_emx.c 3SRCS+= device_if.h bus_if.h pci_if.h 4SRCS+= opt_polling.h opt_ktr.h opt_serializer.h opt_emx.h opt_rss.h 5 6KMODDEPS = ig_hal 7 8.ifndef BUILDING_WITH_KERNEL 9 10opt_polling.h: 11 echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} 12 13opt_serializer.h: 14 touch ${.OBJDIR}/${.TARGET} 15 16opt_emx.h: 17 touch ${.OBJDIR}/${.TARGET} 18 19opt_rss.h: 20 touch ${.OBJDIR}/${.TARGET} 21 22.endif 23 24.include <bsd.kmod.mk> 25