1998-10-16 04:30:52 +00:00
|
|
|
# $Id: Makefile,v 1.10 1998/07/07 02:27:09 bde Exp $
|
1994-09-22 22:12:59 +00:00
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
.PATH: ${.CURDIR}/../../nfs
|
|
|
|
KMOD= nfs
|
1998-07-07 02:27:09 +00:00
|
|
|
SRCS= nfs_bio.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 \
|
1998-07-02 14:09:44 +00:00
|
|
|
nfs_vnops.c opt_inet.h opt_nfs.h opt_vmpage.h
|
1998-01-09 01:01:21 +00:00
|
|
|
NFS_INET?= 1 # 0/1 - requires INET to be configured in kernel
|
1994-09-22 22:12:59 +00:00
|
|
|
NOMAN=
|
1998-10-16 04:30:52 +00:00
|
|
|
VFS_KLD=
|
1998-01-09 01:01:21 +00:00
|
|
|
CFLAGS+= -DNFS
|
1998-10-16 04:30:52 +00:00
|
|
|
CLEANFILES= opt_inet.h opt_nfs.h opt_vmpage.h opt_posix.h
|
1998-01-09 01:01:21 +00:00
|
|
|
|
|
|
|
opt_inet.h:
|
1998-07-07 02:27:09 +00:00
|
|
|
touch ${.TARGET}
|
1998-01-09 01:01:21 +00:00
|
|
|
.if ${NFS_INET} > 0
|
1998-07-07 02:27:09 +00:00
|
|
|
echo "#define INET 1" > ${.TARGET}
|
1998-01-09 01:01:21 +00:00
|
|
|
.endif
|
1994-09-22 22:12:59 +00:00
|
|
|
|
1998-10-16 04:30:52 +00:00
|
|
|
opt_nfs.h opt_vmpage.h opt_posix.h:
|
1998-07-07 02:27:09 +00:00
|
|
|
touch ${.TARGET}
|
1998-07-02 14:09:44 +00:00
|
|
|
|
1994-09-22 22:12:59 +00:00
|
|
|
.include <bsd.kmod.mk>
|