summaryrefslogtreecommitdiffstats
path: root/sys/modules/nwfs
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-10-02 06:32:36 +0000
committerbp <bp@FreeBSD.org>1999-10-02 06:32:36 +0000
commitcaded970e8430639c7a140227ee85bed679f2498 (patch)
tree30c4b1fc6fc65279ba072cd573f5d58833fb0fed /sys/modules/nwfs
parent41d9423f5e85417f47f05821e01a7a3b36596a6f (diff)
downloadFreeBSD-src-caded970e8430639c7a140227ee85bed679f2498.zip
FreeBSD-src-caded970e8430639c7a140227ee85bed679f2498.tar.gz
ncplib modules: bring up new ncp.ko and nwfs.ko
Diffstat (limited to 'sys/modules/nwfs')
-rw-r--r--sys/modules/nwfs/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys/modules/nwfs/Makefile b/sys/modules/nwfs/Makefile
new file mode 100644
index 0000000..4050ea6
--- /dev/null
+++ b/sys/modules/nwfs/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../nwfs
+
+KMOD= nwfs
+KMODDEPS= ncp
+
+SRCS= nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \
+ opt_ncp.h opt_nwfs.h opt_vmpage.h
+
+VFS_KLD=true
+
+CLEANFILES= opt_ncp.h opt_nwfs.h opt_vmpage.h
+
+NOMAN=true
+
+CFLAGS+= -DNWFS
+
+.if defined(VNPRINT)
+CFLAGS+= -DVNPRINT
+.endif
+
+opt_ncp.h:
+ echo "#define NCP 1" > ${.TARGET}
+
+opt_nwfs.h opt_vmpage.h:
+ touch ${.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>
OpenPOWER on IntegriCloud