diff options
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/nfsclient/Makefile | 15 | ||||
-rw-r--r-- | sys/modules/nfsserver/Makefile | 18 |
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> |