Merge from vendor branch OPENSSL:
[dragonfly.git] / sys / dev / netif / bce / Makefile
1 # $DragonFly: src/sys/dev/netif/bce/Makefile,v 1.2 2008/06/25 13:36:52 sephe Exp $
2
3 KMOD=   if_bce
4 SRCS=   if_bce.c
5 SRCS+=  miibus_if.h device_if.h bus_if.h pci_if.h
6 SRCS+=  opt_bce.h opt_polling.h opt_ethernet.h
7
8 KMODDEPS = miibus
9
10 #ifndef BUILDING_WITH_KERNEL
11 opt_polling.h:
12         echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
13
14 opt_bce.h:
15         touch ${.OBJDIR}/${.TARGET}
16
17 opt_ethernet.h:
18         touch ${.OBJDIR}/${.TARGET}
19 #endif
20
21 .include <bsd.kmod.mk>