]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/nve/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 WERROR=
11
12 CLEANFILES+=    nvenetlib.o os+%DIKED-nve.h
13 nvenetlib.o: ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
14         uudecode < ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
15         bzip2 -df ${.TARGET}.bz2
16
17 os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h
18         sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET}
19
20 .include <bsd.kmod.mk>