head	1.7;
access;
symbols
	RELENG_7_4_0_RELEASE:1.6.12.1
	RELENG_7_4:1.6.0.12
	RELENG_7_4_BP:1.6
	RELENG_7_3_0_RELEASE:1.6.10.1
	RELENG_7_3:1.6.0.10
	RELENG_7_3_BP:1.6
	RELENG_7_2_0_RELEASE:1.6.8.1
	RELENG_7_2:1.6.0.8
	RELENG_7_2_BP:1.6
	RELENG_7_1_0_RELEASE:1.6.6.1
	RELENG_6_4_0_RELEASE:1.4.2.1.8.1
	RELENG_7_1:1.6.0.6
	RELENG_7_1_BP:1.6
	RELENG_6_4:1.4.2.1.0.8
	RELENG_6_4_BP:1.4.2.1
	RELENG_7_0_0_RELEASE:1.6
	RELENG_6_3_0_RELEASE:1.4.2.1
	RELENG_7_0:1.6.0.4
	RELENG_7_0_BP:1.6
	RELENG_6_3:1.4.2.1.0.6
	RELENG_6_3_BP:1.4.2.1
	RELENG_7:1.6.0.2
	RELENG_7_BP:1.6
	RELENG_6_2_0_RELEASE:1.4.2.1
	RELENG_6_2:1.4.2.1.0.4
	RELENG_6_2_BP:1.4.2.1
	RELENG_5_5_0_RELEASE:1.3
	RELENG_5_5:1.3.0.8
	RELENG_5_5_BP:1.3
	RELENG_6_1_0_RELEASE:1.4.2.1
	RELENG_6_1:1.4.2.1.0.2
	RELENG_6_1_BP:1.4.2.1
	RELENG_6_0_0_RELEASE:1.4
	RELENG_6_0:1.4.0.4
	RELENG_6_0_BP:1.4
	RELENG_6:1.4.0.2
	RELENG_6_BP:1.4
	RELENG_5_4_0_RELEASE:1.3
	RELENG_5_4:1.3.0.6
	RELENG_5_4_BP:1.3
	RELENG_5_3_0_RELEASE:1.3
	RELENG_5_3:1.3.0.4
	RELENG_5_3_BP:1.3
	RELENG_5:1.3.0.2
	RELENG_5_BP:1.3
	RELENG_5_2_1_RELEASE:1.1
	RELENG_5_2_0_RELEASE:1.1
	RELENG_5_2:1.1.0.2
	RELENG_5_2_BP:1.1;
locks; strict;
comment	@# @;


1.7
date	2009.05.22.12.35.12;	author rwatson;	state dead;
branches;
next	1.6;

1.6
date	2006.02.18.23.49.28;	author yar;	state Exp;
branches
	1.6.2.1
	1.6.6.1
	1.6.8.1
	1.6.10.1
	1.6.12.1;
next	1.5;

1.5
date	2005.10.14.23.30.13;	author yar;	state Exp;
branches;
next	1.4;

1.4
date	2004.09.04.06.37.57;	author ru;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2004.07.08.22.35.35;	author brian;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.08.13.40.32;	author brian;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.15.01.02.00;	author alfred;	state Exp;
branches;
next	;

1.6.2.1
date	2012.11.17.08.06.54;	author svnexp;	state Exp;
branches;
next	;

1.6.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.6.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.6.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.6.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.6.12.2;

1.6.12.2
date	2012.11.17.08.17.27;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2006.02.10.00.38.04;	author yar;	state Exp;
branches
	1.4.2.1.8.1;
next	1.4.2.2;

1.4.2.2
date	2012.11.17.07.44.23;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1.8.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.7
log
@SVN rev 192578 on 2009-05-22 12:35:12Z by rwatson

Remove the unmaintained University of Michigan NFSv4 client from 8.x
prior to 8.0-RELEASE.  Rick Macklem's new and more feature-rich NFSv234
client and server are replacing it.

Discussed with:	rmacklem
@
text
@# $FreeBSD: src/sys/modules/nfs4client/Makefile,v 1.6 2006/02/18 23:49:28 yar Exp $

.PATH: ${.CURDIR}/../../nfsclient ${.CURDIR}/../../nfs4client \
	${.CURDIR}/../../nfs ${.CURDIR}/../../rpc
KMOD=	nfs4client
SRCS=	vnode_if.h \
	nfs_bio.c nfs_lock.c nfs_node.c nfs_nfsiod.c \
	nfs_common.c \
	opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h \
	nfs4_dev.c nfs4_idmap.c nfs4_socket.c nfs4_subs.c \
	nfs4_vfs_subs.c  nfs4_vfsops.c nfs4_vn_subs.c nfs4_vnops.c
SRCS+=	opt_inet6.h

# USE THE RPCCLNT:
CFLAGS+= -DRPCCLNT_DEBUG
SRCS+= rpcclnt.c

# USE THE NEW IDMAPPER
CFLAGS+= -DUSE_NEW_IDMAPPER

.if !defined(KERNBUILDDIR)
NFS_INET?=	1	# 0/1 - requires INET to be configured in kernel
NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel

.if ${NFS_INET} > 0
opt_inet.h:
	echo "#define INET 1" > ${.TARGET}
.endif

.if ${NFS_INET6} > 0
opt_inet6.h:
	echo "#define INET6 1" > ${.TARGET}
.endif
.endif

.include <bsd.kmod.mk>
@


1.6
log
@Style: Remove blank lines before EOF.

Tested by:	cvs diff -B
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/nfs4client/Makefile 155824 2006-02-18 23:49:28Z yar $
@


1.6.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.6.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/nfs4client/Makefile 155824 2006-02-18 23:49:28Z yar $
@


1.6.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.6.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.6.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.5
log
@Let modules use the kernel's opt_*.h files if built along with
the kernel by wrapping all targets for fake opt_*.h files in
.if defined(KERNBUILDDIR).  Thus, such fake files won't be
created at all if modules are built with the kernel.

Some modules undergo cleanup like removing unused or unneeded
options or .h files, without which they wouldn't build this way
or the other.

Reviewed by:	ru
Tested by:	no binary changes in modules built alone
Tested on:	i386 sparc64 amd64
@
text
@a36 1

@


1.4
log
@Let kmod.mk touch opt_*.h files as needed.

Inspired by:	imp's email
@
text
@a13 3
NFS_INET?=	1	# 0/1 - requires INET to be configured in kernel
NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel

d21 4
d34 1
@


1.4.2.1
log
@MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by:	re (kensmith, scottl)
Requested by:	ru
Tested on:	amd64 i386 sparc64
Tested by:	md5
@
text
@d14 3
a23 4
.if !defined(KERNBUILDDIR)
NFS_INET?=	1	# 0/1 - requires INET to be configured in kernel
NFS_INET6?=	1	# 0/1 - requires INET6 to be configured in kernel

a32 1
.endif
@


1.4.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/nfs4client/Makefile 155500 2006-02-10 00:38:08Z yar $
@


1.4.2.1.8.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.3
log
@Change the following environment variables to kernel options:

    bootp -> BOOTP
    bootp.nfsroot -> BOOTP_NFSROOT
    bootp.nfsv3 -> BOOTP_NFSV3
    bootp.compat -> BOOTP_COMPAT
    bootp.wired_to -> BOOTP_WIRED_TO

- i.e. back out the previous commit.  It's already possible to
pxeboot(8) with a GENERIC kernel.

Pointed out by: dwmalone
@
text
@d24 1
a25 2
	touch ${.TARGET}
.if ${NFS_INET} > 0
@


1.2
log
@Change the following kernel options to environment variables:

    BOOTP -> bootp
    BOOTP_NFSROOT -> bootp.nfsroot
    BOOTP_NFSV3 -> bootp.nfsv3
    BOOTP_COMPAT -> bootp.compat
    BOOTP_WIRED_TO -> bootp.wired_to

This lets you PXE boot with a GENERIC kernel by putting this sort of thing
in loader.conf:

    bootp="YES"
    bootp.nfsroot="YES"
    bootp.nfsv3="YES"
    bootp.wired_to="bge1"

or even setting the variables manually from the OK prompt.
@
text
@d9 1
a9 1
	opt_inet.h opt_nfs.h opt_nfsroot.h \
@


1.1
log
@nfs4 client module.
Not hooked up to the build yet.
@
text
@d9 1
a9 1
	opt_inet.h opt_nfs.h opt_bootp.h opt_nfsroot.h \
@

