diff --git a/sys/modules/nve/Makefile b/sys/modules/nve/Makefile index 5a055fc864bc..33d5c2d9f804 100644 --- a/sys/modules/nve/Makefile +++ b/sys/modules/nve/Makefile @@ -4,12 +4,16 @@ KMOD= if_nve SRCS= if_nve.c if_nvereg.h miidevs.h \ - device_if.h bus_if.h pci_if.h miibus_if.h + device_if.h bus_if.h pci_if.h miibus_if.h \ + os+%DIKED-nve.h OBJS+= nvenetlib.o -CLEANFILES+= 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 -d ${.TARGET}.bz2 + bzip2 -df ${.TARGET}.bz2 + +os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h + sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET} .include