mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
20 lines
538 B
Makefile
20 lines
538 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/nve
|
|
|
|
KMOD= if_nve
|
|
SRCS= if_nve.c if_nvereg.h miidevs.h \
|
|
device_if.h bus_if.h pci_if.h miibus_if.h \
|
|
os+%DIKED-nve.h
|
|
OBJS+= nvenetlib.o
|
|
|
|
CLEANFILES+= nvenetlib.o os+%DIKED-nve.h
|
|
nvenetlib.o: ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
|
|
uudecode < ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
|
|
bzip2 -df ${.TARGET}.bz2
|
|
|
|
os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h
|
|
sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET}
|
|
|
|
.include <bsd.kmod.mk>
|