1999-10-02 06:32:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../nwfs
|
|
|
|
|
|
|
|
KMOD= nwfs
|
|
|
|
KMODDEPS= ncp
|
|
|
|
|
1999-12-12 16:47:33 +00:00
|
|
|
SRCS= vnode_if.h \
|
|
|
|
nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
|
1999-11-05 12:00:36 +00:00
|
|
|
nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
|
1999-10-02 06:32:36 +00:00
|
|
|
|
|
|
|
NOMAN=true
|
|
|
|
|
|
|
|
.if defined(VNPRINT)
|
|
|
|
CFLAGS+= -DVNPRINT
|
|
|
|
.endif
|
|
|
|
|
|
|
|
opt_ncp.h:
|
|
|
|
echo "#define NCP 1" > ${.TARGET}
|
|
|
|
|
|
|
|
load: nwfs.ko
|
|
|
|
kldload ./nwfs.ko
|
|
|
|
|
|
|
|
unload:
|
|
|
|
@(if kldunload nwfs; then true; else true; fi)
|
|
|
|
|
|
|
|
deinstall:
|
|
|
|
rm -f /modules/nwfs.ko
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|