From caded970e8430639c7a140227ee85bed679f2498 Mon Sep 17 00:00:00 2001 From: bp Date: Sat, 2 Oct 1999 06:32:36 +0000 Subject: ncplib modules: bring up new ncp.ko and nwfs.ko --- sys/modules/nwfs/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sys/modules/nwfs/Makefile (limited to 'sys/modules/nwfs') 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 -- cgit v1.1