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