e6b475640f
with clang, which will probably never be fixed, as it is unmaintained, and superseded by nfe(4). MFC after: 1 week
21 lines
546 B
Makefile
21 lines
546 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
|
|
WERROR=
|
|
|
|
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>
|