netif: Enable ifpoll in module building
[dragonfly.git] / sys / dev / netif / igb / Makefile
CommitLineData
1f7e3916
SZ
1KMOD= if_igb
2SRCS= if_igb.c
3SRCS+= device_if.h bus_if.h pci_if.h
d0f59cad 4SRCS+= opt_ifpoll.h opt_igb.h
1f7e3916
SZ
5
6.ifndef BUILDING_WITH_KERNEL
dc43b724 7
d0f59cad 8opt_ifpoll.h:
dc43b724
SZ
9 echo '#define IFPOLL_ENABLE 1' > ${.OBJDIR}/${.TARGET}
10
8d6600da 11opt_igb.h:
d0f59cad 12 touch ${.OBJDIR}/${.TARGET}
dc43b724 13
1f7e3916
SZ
14.endif
15
16.include <bsd.kmod.mk>