summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-09-18 23:32:09 +0000
committerpeter <peter@FreeBSD.org>2001-09-18 23:32:09 +0000
commit85182a8d785d189f1e845c7d66810e3977ac161b (patch)
tree626c88f61c1e52e9cd18eaec61b54aaaee5d3bfc /sys/modules
parentabe9cf18de01077e00cd2ee3d47363af647e65e4 (diff)
downloadFreeBSD-src-85182a8d785d189f1e845c7d66810e3977ac161b.zip
FreeBSD-src-85182a8d785d189f1e845c7d66810e3977ac161b.tar.gz
Cleanup and split of nfs client and server code.
This builds on the top of several repo-copies.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile3
-rw-r--r--sys/modules/nfsclient/Makefile15
-rw-r--r--sys/modules/nfsserver/Makefile18
3 files changed, 16 insertions, 20 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index a648db2..3cae877 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -49,7 +49,8 @@ SUBDIR= 3dfx \
mii \
mlx \
msdosfs \
- nfs \
+ nfsclient \
+ nfsserver \
nge \
nmdm \
ntfs \
diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile
index 05ab424..9f806ac 100644
--- a/sys/modules/nfsclient/Makefile
+++ b/sys/modules/nfsclient/Makefile
@@ -1,17 +1,18 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../nfs
-
-KMOD= nfs
+.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs
+KMOD= nfsclient
SRCS= vnode_if.h \
- nfs_bio.c nfs_lock.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
- nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
- nfs_vnops.c opt_inet.h opt_nfs.h opt_vmpage.h opt_bootp.h
+ nfs_bio.c nfs_node.c nfs_socket.c nfs_subs.c nfs_nfsiod.c \
+ nfs_vfsops.c nfs_vnops.c nfs_common.c \
+ opt_inet.h opt_nfs.h opt_bootp.h
+
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
NOMAN=
-.if ${NFS_INET} > 0
opt_inet.h:
+ touch ${.TARGET}
+.if ${NFS_INET} > 0
echo "#define INET 1" > ${.TARGET}
.endif
diff --git a/sys/modules/nfsserver/Makefile b/sys/modules/nfsserver/Makefile
index 05ab424..9c9808d 100644
--- a/sys/modules/nfsserver/Makefile
+++ b/sys/modules/nfsserver/Makefile
@@ -1,18 +1,12 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../nfs
-
-KMOD= nfs
+.PATH: ${.CURDIR}/../../nfsserver ${.CURDIR}/../../nfs
+KMOD= nfsserver
SRCS= vnode_if.h \
- nfs_bio.c nfs_lock.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \
- nfs_srvcache.c nfs_subs.c nfs_syscalls.c nfs_vfsops.c \
- nfs_vnops.c opt_inet.h opt_nfs.h opt_vmpage.h opt_bootp.h
-NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
-NOMAN=
+ nfs_serv.c nfs_srvsock.c nfs_srvcache.c nfs_srvsubs.c nfs_syscalls.c \
+ nfs_common.c \
+ opt_nfs.h
-.if ${NFS_INET} > 0
-opt_inet.h:
- echo "#define INET 1" > ${.TARGET}
-.endif
+NOMAN=
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud