--- src/sys/dev/netif/dc/Makefile 2005/05/31 07:46:17 1.3 +++ src/sys/dev/netif/dc/Makefile 2005/10/24 08:06:15 1.4 @@ -2,8 +2,14 @@ # $DragonFly$ KMOD = if_dc -SRCS = if_dc.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS = if_dc.c device_if.h bus_if.h pci_if.h SRCS += miibus_if.h +SRCS += opt_bdg.h opt_polling.h KMODDEPS = miibus +.ifndef BUILDING_WITH_KERNEL +opt_polling.h: + echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET} +.endif + .include