2005-03-12 00:29:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/nve
|
|
|
|
|
|
|
|
KMOD= if_nve
|
|
|
|
SRCS= if_nve.c if_nvereg.h miidevs.h \
|
2005-03-12 08:02:06 +00:00
|
|
|
device_if.h bus_if.h pci_if.h miibus_if.h \
|
|
|
|
os+%DIKED-nve.h
|
2005-03-12 00:29:30 +00:00
|
|
|
OBJS+= nvenetlib.o
|
2011-12-24 13:36:28 +00:00
|
|
|
WERROR=
|
2005-03-12 00:29:30 +00:00
|
|
|
|
2005-03-12 08:02:06 +00:00
|
|
|
CLEANFILES+= nvenetlib.o os+%DIKED-nve.h
|
2005-03-12 00:29:30 +00:00
|
|
|
nvenetlib.o: ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
|
|
|
|
uudecode < ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
|
2005-03-12 08:02:06 +00:00
|
|
|
bzip2 -df ${.TARGET}.bz2
|
|
|
|
|
|
|
|
os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h
|
|
|
|
sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET}
|
2005-03-12 00:29:30 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|