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