1# $FreeBSD: releng/10.3/sys/modules/nve/Makefile 228861 2011-12-24 13:36:28Z dim $ 2 3.PATH: ${.CURDIR}/../../dev/nve 4 5KMOD= if_nve 6SRCS= 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 9OBJS+= nvenetlib.o 10WERROR= 11 12CLEANFILES+= nvenetlib.o os+%DIKED-nve.h 13nvenetlib.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 17os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h 18 sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET} 19 20.include <bsd.kmod.mk> 21