netif: Enable ifpoll in module building
[dragonfly.git] / sys / dev / netif / jme / Makefile
CommitLineData
a75a1559 1# $DragonFly: src/sys/dev/netif/jme/Makefile,v 1.2 2008/09/17 08:51:29 sephe Exp $
76fbb0b9
SZ
2
3KMOD= if_jme
4SRCS= if_jme.c
5SRCS+= miibus_if.h device_if.h bus_if.h pci_if.h
8a0620e4 6SRCS+= opt_ifpoll.h opt_jme.h
76fbb0b9 7
9de40864 8.ifndef BUILDING_WITH_KERNEL
93bfe1b8 9
8a0620e4 10opt_ifpoll.h:
dc43b724 11 echo '#define IFPOLL_ENABLE 1' > ${.OBJDIR}/${.TARGET}
93bfe1b8
SZ
12
13opt_jme.h:
8a0620e4 14 touch ${.OBJDIR}/${.TARGET}
d585233c 15
9de40864
SZ
16.endif
17
76fbb0b9 18.include <bsd.kmod.mk>