kernel: Generate miidevs.h, pccarddevs.h and pcidevs.h on the fly.
[dragonfly.git] / sys / dev / netif / vge / Makefile
1 KMOD=   if_vge
2 SRCS=   if_vge.c
3 SRCS+=  opt_ifpoll.h
4 SRCS+=  miibus_if.h device_if.h bus_if.h pci_if.h pcidevs.h
5
6 .ifndef BUILDING_WITH_KERNEL
7 opt_ifpoll.h:
8         echo '#define IFPOLL_ENABLE 1' > ${.OBJDIR}/${.TARGET}
9 .endif
10
11 .include <bsd.kmod.mk>