1# $FreeBSD: src/sys/modules/fxp/Makefile,v 1.9.2.3 2001/12/04 20:01:53 brooks Exp $ 2# $DragonFly: src/sys/dev/netif/fxp/Makefile,v 1.6 2008/06/25 11:56:13 sephe Exp $ 3 4KMOD = if_fxp 5SRCS = if_fxp.c device_if.h bus_if.h pci_if.h miibus_if.h 6SRCS += opt_polling.h opt_ethernet.h 7KMODDEPS = miibus 8 9.ifndef BUILDING_WITH_KERNEL 10opt_polling.h: 11 echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} 12 13opt_ethernet.h: 14 touch ${.OBJDIR}/${.TARGET} 15.endif 16 17.include <bsd.kmod.mk> 18