blob: 1c1e6a89b90cc6594af11e391c3f25afe211bdb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $FreeBSD$
.PATH: ${.CURDIR}/../../fs/nwfs
KMOD= nwfs
SRCS= vnode_if.h \
nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h
.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>
|