04ecb21f88387b9c7369ed0fb72d16c903acdc09
[dragonfly.git] / sys / dev / netif / fxp / Makefile
1 # $FreeBSD: src/sys/modules/fxp/Makefile,v 1.9.2.3 2001/12/04 20:01:53 brooks Exp $
2 # $DragonFly: src/sys/dev/netif/fxp/Makefile,v 1.6 2008/06/25 11:56:13 sephe Exp $
3
4 KMOD    = if_fxp
5 SRCS    = if_fxp.c device_if.h bus_if.h pci_if.h miibus_if.h
6 SRCS    += opt_polling.h opt_ethernet.h
7 KMODDEPS = miibus
8
9 .ifndef BUILDING_WITH_KERNEL
10 opt_polling.h:
11         echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
12
13 opt_ethernet.h:
14         touch ${.OBJDIR}/${.TARGET}
15 .endif
16
17 .include <bsd.kmod.mk>