]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/nve/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / nve / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/nve
4
5 KMOD=   if_nve
6 SRCS=   if_nve.c if_nvereg.h miidevs.h \
7         device_if.h bus_if.h pci_if.h miibus_if.h \
8         os+%DIKED-nve.h
9 OBJS+=  nvenetlib.o
10
11 CLEANFILES+=    nvenetlib.o os+%DIKED-nve.h
12 nvenetlib.o: ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
13         uudecode < ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
14         bzip2 -df ${.TARGET}.bz2
15
16 os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h
17         sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET}
18
19 .include <bsd.kmod.mk>