head	1.30;
access;
symbols
	RELENG_8_4:1.30.0.2
	RELENG_9_1_0_RELEASE:1.29.4.1.4.2
	RELENG_9_1:1.29.4.1.0.4
	RELENG_9_1_BP:1.29.4.1
	RELENG_8_3_0_RELEASE:1.29.2.1.8.1
	RELENG_8_3:1.29.2.1.0.8
	RELENG_8_3_BP:1.29.2.1
	RELENG_9_0_0_RELEASE:1.29.4.1.2.1
	RELENG_9_0:1.29.4.1.0.2
	RELENG_9_0_BP:1.29.4.1
	RELENG_9:1.29.0.4
	RELENG_9_BP:1.29
	RELENG_7_4_0_RELEASE:1.27.2.1.8.1
	RELENG_8_2_0_RELEASE:1.29.2.1.6.1
	RELENG_7_4:1.27.2.1.0.8
	RELENG_7_4_BP:1.27.2.1
	RELENG_8_2:1.29.2.1.0.6
	RELENG_8_2_BP:1.29.2.1
	RELENG_8_1_0_RELEASE:1.29.2.1.4.1
	RELENG_8_1:1.29.2.1.0.4
	RELENG_8_1_BP:1.29.2.1
	RELENG_7_3_0_RELEASE:1.27.2.1.6.1
	RELENG_7_3:1.27.2.1.0.6
	RELENG_7_3_BP:1.27.2.1
	RELENG_8_0_0_RELEASE:1.29.2.1.2.1
	RELENG_8_0:1.29.2.1.0.2
	RELENG_8_0_BP:1.29.2.1
	RELENG_8:1.29.0.2
	RELENG_8_BP:1.29
	RELENG_7_2_0_RELEASE:1.27.2.1.4.1
	RELENG_7_2:1.27.2.1.0.4
	RELENG_7_2_BP:1.27.2.1
	RELENG_7_1_0_RELEASE:1.27.2.1.2.1
	RELENG_6_4_0_RELEASE:1.24.2.1.2.1
	RELENG_7_1:1.27.2.1.0.2
	RELENG_7_1_BP:1.27.2.1
	RELENG_6_4:1.24.2.1.0.2
	RELENG_6_4_BP:1.24.2.1
	RELENG_7_0_0_RELEASE:1.27
	RELENG_6_3_0_RELEASE:1.24
	RELENG_7_0:1.27.0.4
	RELENG_7_0_BP:1.27
	RELENG_6_3:1.24.0.10
	RELENG_6_3_BP:1.24
	RELENG_7:1.27.0.2
	RELENG_7_BP:1.27
	RELENG_6_2_0_RELEASE:1.24
	RELENG_6_2:1.24.0.8
	RELENG_6_2_BP:1.24
	RELENG_5_5_0_RELEASE:1.23.2.1
	RELENG_5_5:1.23.2.1.0.4
	RELENG_5_5_BP:1.23.2.1
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.6
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.4
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.2
	RELENG_6_BP:1.24
	RELENG_5_4_0_RELEASE:1.23.2.1
	RELENG_5_4:1.23.2.1.0.2
	RELENG_5_4_BP:1.23.2.1
	RELENG_4_11_0_RELEASE:1.17.2.1
	RELENG_4_11:1.17.2.1.0.16
	RELENG_4_11_BP:1.17.2.1
	RELENG_5_3_0_RELEASE:1.23
	RELENG_5_3:1.23.0.4
	RELENG_5_3_BP:1.23
	RELENG_5:1.23.0.2
	RELENG_5_BP:1.23
	RELENG_4_10_0_RELEASE:1.17.2.1
	RELENG_4_10:1.17.2.1.0.14
	RELENG_4_10_BP:1.17.2.1
	RELENG_5_2_1_RELEASE:1.22
	RELENG_5_2_0_RELEASE:1.22
	RELENG_5_2:1.22.0.6
	RELENG_5_2_BP:1.22
	RELENG_4_9_0_RELEASE:1.17.2.1
	RELENG_4_9:1.17.2.1.0.12
	RELENG_4_9_BP:1.17.2.1
	RELENG_5_1_0_RELEASE:1.22
	RELENG_5_1:1.22.0.4
	RELENG_5_1_BP:1.22
	RELENG_4_8_0_RELEASE:1.17.2.1
	RELENG_4_8:1.17.2.1.0.10
	RELENG_4_8_BP:1.17.2.1
	RELENG_5_0_0_RELEASE:1.22
	RELENG_5_0:1.22.0.2
	RELENG_5_0_BP:1.22
	RELENG_4_7_0_RELEASE:1.17.2.1
	RELENG_4_7:1.17.2.1.0.8
	RELENG_4_7_BP:1.17.2.1
	RELENG_4_6_2_RELEASE:1.17.2.1
	RELENG_4_6_1_RELEASE:1.17.2.1
	RELENG_4_6_0_RELEASE:1.17.2.1
	RELENG_4_6:1.17.2.1.0.6
	RELENG_4_6_BP:1.17.2.1
	RELENG_4_5_0_RELEASE:1.17.2.1
	RELENG_4_5:1.17.2.1.0.4
	RELENG_4_5_BP:1.17.2.1
	RELENG_4_4_0_RELEASE:1.17.2.1
	RELENG_4_4:1.17.2.1.0.2
	RELENG_4_4_BP:1.17.2.1
	RELENG_4_3_0_RELEASE:1.17
	RELENG_4_3:1.17.0.4
	RELENG_4_3_BP:1.17
	RELENG_4_2_0_RELEASE:1.17
	RELENG_4_1_1_RELEASE:1.17
	PRE_SMPNG:1.17
	RELENG_4_1_0_RELEASE:1.17
	RELENG_3_5_0_RELEASE:1.16.2.1
	RELENG_4_0_0_RELEASE:1.17
	RELENG_4:1.17.0.2
	RELENG_4_BP:1.17
	RELENG_3_4_0_RELEASE:1.16.2.1
	RELENG_3_3_0_RELEASE:1.16.2.1
	RELENG_3_2_PAO:1.16.0.4
	RELENG_3_2_PAO_BP:1.16
	RELENG_3_2_0_RELEASE:1.16
	RELENG_3_1_0_RELEASE:1.16
	RELENG_3:1.16.0.2
	RELENG_3_BP:1.16
	RELENG_2_2_8_RELEASE:1.2.8.3
	RELENG_3_0_0_RELEASE:1.15
	before_amd_contrib:1.12
	RELENG_2_2_7_RELEASE:1.2.8.3
	RELENG_2_2_6_RELEASE:1.2.8.3
	RELENG_2_2_5_RELEASE:1.2.8.3
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.2.8.2
	RELENG_2_2_1_RELEASE:1.2
	RELENG_2_2_0_RELEASE:1.2
	RELENG_2_1_7_RELEASE:1.2
	RELENG_2_1_6_1_RELEASE:1.2
	RELENG_2_1_6_RELEASE:1.2
	RELENG_2_2:1.2.0.8
	RELENG_2_2_BP:1.2
	RELENG_2_1_5_RELEASE:1.2
	RELENG_2_1_0_RELEASE:1.2
	RELENG_2_1_0:1.2.0.6
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.4
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.30
date	2012.11.17.01.54.36;	author svnexp;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2008.03.29.18.13.15;	author ru;	state Exp;
branches
	1.29.2.1
	1.29.4.1;
next	1.28;

1.28
date	2007.12.05.16.40.05;	author obrien;	state Exp;
branches;
next	1.27;

1.27
date	2006.03.21.09.00.51;	author ru;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2006.03.17.18.54.40;	author ru;	state Exp;
branches;
next	1.25;

1.25
date	2005.08.06.16.52.30;	author phk;	state Exp;
branches;
next	1.24;

1.24
date	2004.11.13.20.40.31;	author bz;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2004.02.04.11.59.08;	author ru;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2001.09.02.20.37.24;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2001.09.02.19.50.47;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2001.07.20.06.19.34;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.26.14.39.22;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	2001.03.20.18.16.15;	author ru;	state Exp;
branches;
next	1.17;

1.17
date	99.08.28.01.15.13;	author peter;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	98.10.17.13.55.22;	author bde;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	98.08.30.19.59.49;	author gpalmer;	state Exp;
branches;
next	1.14;

1.14
date	98.08.27.08.09.40;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	98.08.27.08.03.24;	author obrien;	state dead;
branches;
next	1.12;

1.12
date	98.05.10.15.48.54;	author bde;	state Exp;
branches;
next	1.11;

1.11
date	98.03.06.07.00.20;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	98.01.20.10.40.18;	author bde;	state Exp;
branches;
next	1.9;

1.9
date	97.12.17.11.13.26;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	97.05.23.07.45.06;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	97.04.29.08.43.52;	author dfr;	state Exp;
branches;
next	1.6;

1.6
date	97.04.29.08.42.29;	author dfr;	state Exp;
branches;
next	1.5;

1.5
date	97.04.19.09.15.09;	author dfr;	state Exp;
branches;
next	1.4;

1.4
date	97.04.18.13.23.04;	author dfr;	state Exp;
branches;
next	1.3;

1.3
date	97.03.11.15.51.33;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	94.08.08.00.04.11;	author wollman;	state Exp;
branches
	1.2.6.1
	1.2.8.1;
next	1.1;

1.1
date	94.05.26.05.22.02;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.30.2.1
date	2012.11.17.01.54.36;	author svnexp;	state dead;
branches;
next	1.30.2.2;

1.30.2.2
date	2013.03.28.13.06.13;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.29.2.1.2.1
	1.29.2.1.4.1
	1.29.2.1.6.1
	1.29.2.1.8.1;
next	1.29.2.2;

1.29.2.2
date	2012.11.17.10.37.20;	author svnexp;	state Exp;
branches;
next	;

1.29.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.29.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.29.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.29.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.29.2.1.8.2;

1.29.2.1.8.2
date	2012.11.17.08.25.53;	author svnexp;	state Exp;
branches;
next	;

1.29.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.29.4.1.2.1
	1.29.4.1.4.1;
next	1.29.4.2;

1.29.4.2
date	2012.11.17.11.37.42;	author svnexp;	state Exp;
branches;
next	;

1.29.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.29.4.1.2.2;

1.29.4.1.2.2
date	2012.11.17.08.37.39;	author svnexp;	state Exp;
branches;
next	;

1.29.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.29.4.1.4.2;

1.29.4.1.4.2
date	2012.11.17.08.48.30;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	2008.01.30.03.18.46;	author obrien;	state Exp;
branches
	1.27.2.1.2.1
	1.27.2.1.4.1
	1.27.2.1.6.1
	1.27.2.1.8.1;
next	1.27.2.2;

1.27.2.2
date	2012.11.17.08.08.55;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.27.2.1.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.27.2.1.8.2;

1.27.2.1.8.2
date	2012.11.17.08.17.45;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2008.02.09.01.35.34;	author obrien;	state Exp;
branches
	1.24.2.1.2.1;
next	1.24.2.2;

1.24.2.2
date	2012.11.17.07.46.09;	author svnexp;	state Exp;
branches;
next	;

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

1.23.2.1
date	2004.11.28.14.10.19;	author bz;	state Exp;
branches;
next	;

1.17.2.1
date	2001.04.25.12.09.12;	author ru;	state Exp;
branches;
next	1.17.2.2;

1.17.2.2
date	2012.11.17.07.28.03;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	99.08.29.15.39.07;	author peter;	state Exp;
branches;
next	;

1.2.6.1
date	97.04.29.10.14.15;	author dfr;	state Exp;
branches;
next	;

1.2.8.1
date	97.04.29.10.11.57;	author dfr;	state Exp;
branches;
next	1.2.8.2;

1.2.8.2
date	97.05.14.08.19.32;	author dfr;	state Exp;
branches;
next	1.2.8.3;

1.2.8.3
date	97.05.23.07.47.01;	author asami;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.05.22.03;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.30
log
@Switching exporter and resync
@
text
@# ex:ts=8
#
# Makefile for amd
# 	This file is under a "BSD" copyright (c) by David O'Brien 1998
#
# $FreeBSD: head/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
#

.include <bsd.own.mk>

.PATH: ${.CURDIR}/../../../contrib/amd/amd

PROG=	amd
MAN=	amd.8
SRCS=	conf_parse.y conf_tok.l
SRCS+=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
SRCS+=	amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c
SRCS+=	amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c
SRCS+=	amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c
SRCS+=	get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c
SRCS+=	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c
SRCS+=	nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c
SRCS+=	ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c
SRCS+=	ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
SRCS+=	srvr_amfs_auto.c srvr_nfs.c

CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \
	 -I${DESTDIR}/usr/include/rpcsvc

DPADD=	${LIBAMU} ${LIBWRAP}
LDADD=	${LIBAMU} -lwrap

CLEANFILES+=	conf_parse.c conf_parse.h conf_tok.c

conf_tok.o: conf_parse.h

#		These are generated at compile time
SRCS+=		mount_xdr.c
CLEANFILES+=	mount_xdr.c

mount_xdr.c: ${MOUNT_X}
	${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}

.if ${MK_HESIOD} != "no"
SRCS+=	info_hesiod.c
CFLAGS+= -DHAVE_MAP_HESIOD
.endif

.if ${MK_NIS} != "no"
SRCS+=	info_nis.c
.endif

.include <bsd.prog.mk>
@


1.30.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:13 +0000
@
text
@d1 53
@


1.30.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 53
# ex:ts=8
#
# Makefile for amd
# 	This file is under a "BSD" copyright (c) by David O'Brien 1998
#
# $FreeBSD: releng/8.4/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
#

.include <bsd.own.mk>

.PATH: ${.CURDIR}/../../../contrib/amd/amd

PROG=	amd
MAN=	amd.8
SRCS=	conf_parse.y conf_tok.l
SRCS+=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
SRCS+=	amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c
SRCS+=	amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c
SRCS+=	amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c
SRCS+=	get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c
SRCS+=	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c
SRCS+=	nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c
SRCS+=	ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c
SRCS+=	ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
SRCS+=	srvr_amfs_auto.c srvr_nfs.c

CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd \
	 -I${DESTDIR}/usr/include/rpcsvc

DPADD=	${LIBAMU} ${LIBWRAP}
LDADD=	${LIBAMU} -lwrap

CLEANFILES+=	conf_parse.c conf_parse.h conf_tok.c

conf_tok.o: conf_parse.h

#		These are generated at compile time
SRCS+=		mount_xdr.c
CLEANFILES+=	mount_xdr.c

mount_xdr.c: ${MOUNT_X}
	${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}

.if ${MK_HESIOD} != "no"
SRCS+=	info_hesiod.c
CFLAGS+= -DHAVE_MAP_HESIOD
.endif

.if ${MK_NIS} != "no"
SRCS+=	info_nis.c
.endif

.include <bsd.prog.mk>
@


1.29
log
@Don't always link statically with libwrap.  By the time amd(8)
runs, /usr/lib should have already been mounted.

Found by:	make checkdpadd
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.29.4.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.29.4.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d6 1
a6 1
# $FreeBSD: stable/9/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
@


1.29.4.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.29.4.1.4.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: releng/9.1/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
@


1.29.4.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.29.4.1.2.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: releng/9.0/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
@


1.29.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.29.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d6 1
a6 1
# $FreeBSD: stable/8/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
@


1.29.2.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.8.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: releng/8.3/usr.sbin/amd/amd/Makefile 177718 2008-03-29 18:13:15Z ru $
@


1.29.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.29.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.28
log
@Adjust for new files added to 6.1.5, and files retired from 6.0.10p1.
Also TCP Wrappers is now supported.
Also tweak the MK_HESIOD.
@
text
@d31 1
a31 1
LDADD=	${LIBAMU} ${LIBWRAP}
@


1.27
log
@Folded WITH_HESIOD_SUPPORT into WITH_HESIOD.
@
text
@d16 2
a17 2
SRCS+=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c
SRCS+=	amfs_host.c amfs_inherit.c amfs_link.c amfs_linkx.c amfs_nfsl.c
d20 5
a24 5
SRCS+=	get_args.c info_file.c info_ndbm.c info_passwd.c
SRCS+=	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c 
SRCS+=	nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c 
SRCS+=	ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c 
SRCS+=	ops_unionfs.c opts.c restart.c rpc_fwd.c sched.c
d30 2
a31 2
DPADD=	${LIBAMU}
LDADD=	${LIBAMU}
d46 1
@


1.27.2.1
log
@MFC: version 6.1.5.
@
text
@d16 2
a17 2
SRCS+=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
SRCS+=	amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c
d20 5
a24 5
SRCS+=	get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c
SRCS+=	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c
SRCS+=	nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c
SRCS+=	ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c
SRCS+=	ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
d30 2
a31 2
DPADD=	${LIBAMU} ${LIBWRAP}
LDADD=	${LIBAMU} ${LIBWRAP}
a45 1
CFLAGS+= -DHAVE_MAP_HESIOD
@


1.27.2.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: stable/7/usr.sbin/amd/amd/Makefile 175814 2008-01-30 03:18:56Z obrien $
@


1.27.2.1.8.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.27.2.1.8.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: releng/7.4/usr.sbin/amd/amd/Makefile 175814 2008-01-30 03:18:56Z obrien $
@


1.27.2.1.6.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.27.2.1.4.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.27.2.1.2.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.26
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d44 1
a44 1
.if ${MK_HESIOD_SUPPORT} != "no"
@


1.25
log
@Respect the YES_HESIOD build variable
@
text
@d9 2
d44 1
a44 1
.if defined(YES_HESIOD)
d48 1
a48 1
.if !defined(NO_NIS)
@


1.24
log
@Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
@
text
@d18 1
a18 1
SRCS+=	get_args.c info_file.c info_hesiod.c info_ndbm.c info_passwd.c
d42 4
@


1.24.2.1
log
@MFC: version 6.1.5.
@
text
@d14 2
a15 2
SRCS+=	am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c
SRCS+=	amfs_host.c amfs_link.c amfs_linkx.c amfs_nfsl.c
d18 5
a22 5
SRCS+=	get_args.c info_exec.c info_file.c info_ndbm.c info_passwd.c
SRCS+=	info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c
SRCS+=	nfs_subr.c ops_cdfs.c ops_mfs.c ops_nfs.c ops_nfs3.c
SRCS+=	ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c
SRCS+=	ops_unionfs.c opts.c readdir.c restart.c rpc_fwd.c sched.c
d28 2
a29 2
DPADD=	${LIBAMU} ${LIBWRAP}
LDADD=	${LIBAMU} ${LIBWRAP}
@


1.24.2.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: stable/6/usr.sbin/amd/amd/Makefile 176123 2008-02-09 01:35:35Z obrien $
@


1.24.2.1.2.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.23
log
@Removed unnecessary dependencies on librpcsvc.

Prodded by:	des
@
text
@d18 1
a18 1
SRCS+=	get_args.c info_file.c info_hesiod.c info_ndbm.c info_nis.c info_passwd.c 
d41 4
@


1.23.2.1
log
@MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Approved by:	rwatson (mentor)
@
text
@d18 1
a18 1
SRCS+=	get_args.c info_file.c info_hesiod.c info_ndbm.c info_passwd.c
a41 4
.if !defined(NO_NIS)
SRCS+=	info_nis.c
.endif

@


1.22
log
@Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.21 2001/09/02 19:50:47 obrien Exp $
d28 2
a29 2
DPADD=	${LIBAMU} ${LIBRPCSVC}
LDADD=	${LIBAMU} -lrpcsvc
@


1.21
log
@Update for version 6.0.7.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.20 2001/07/20 06:19:34 obrien Exp $
d25 2
a26 1
CFLAGS+= -I${.CURDIR}/../../../contrib/amd/amd
@


1.20
log
@Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.19 2001/03/26 14:39:22 ru Exp $
d18 1
a18 1
SRCS+=	get_args.c info_file.c info_ndbm.c info_nis.c info_passwd.c 
d20 1
a20 1
SRCS+=	nfs_subr.c ops_cdfs.c ops_lofs.c ops_mfs.c ops_nfs.c ops_nfs3.c 
@


1.19
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.18 2001/03/20 18:16:15 ru Exp $
d9 1
a9 1
.PATH:		${.CURDIR}/../../../contrib/amd/amd
d11 13
a23 2
PROG=		amd
MAN=		amd.8
d25 1
a25 11
SRCS=		conf_parse.y conf_tok.l
SRCS+=		am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c
SRCS+=		amfs_host.c amfs_inherit.c amfs_link.c amfs_linkx.c amfs_nfsl.c
SRCS+=		amfs_nfsx.c amfs_program.c amfs_root.c amfs_toplvl.c
SRCS+=		amfs_union.c amq_subr.c amq_svc.c autil.c clock.c conf.c
SRCS+=		get_args.c info_file.c info_ndbm.c info_nis.c info_passwd.c 
SRCS+=		info_union.c map.c mapc.c mntfs.c nfs_prot_svc.c nfs_start.c 
SRCS+=		nfs_subr.c ops_cdfs.c ops_lofs.c ops_mfs.c ops_nfs.c ops_nfs3.c 
SRCS+=		ops_nullfs.c ops_pcfs.c ops_tfs.c ops_ufs.c ops_umapfs.c 
SRCS+=		ops_unionfs.c opts.c restart.c rpc_fwd.c sched.c
SRCS+=		srvr_amfs_auto.c srvr_nfs.c
d27 2
a28 4
CFLAGS+=	-I${.CURDIR}/../../../contrib/amd/amd

DPADD=		${LIBAMU} ${LIBRPCSVC}
LDADD=		${LIBAMU} -lrpcsvc
d32 1
a32 1
conf_tok.o:	conf_parse.h
@


1.18
log
@Set the default manual section for usr.sbin/ to 8.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.17 1999/08/28 01:15:13 peter Exp $
d12 1
@


1.17
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
a11 1
MAN8=		amd.8
@


1.17.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d6 1
a6 1
# $FreeBSD: src/usr.sbin/amd/amd/Makefile,v 1.17 1999/08/28 01:15:13 peter Exp $
d12 1
a12 1
MAN=		amd.8
@


1.17.2.2
log
@Switch importer
@
text
@d6 1
a6 1
# $FreeBSD: stable/4/usr.sbin/amd/amd/Makefile 75960 2001-04-25 12:11:16Z ru $
@


1.16
log
@Fixed missing libraries in DPADD.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1998/08/30 19:59:49 gpalmer Exp $
@


1.16.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.15
log
@DPDADD -> DPADD
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1998/08/27 08:09:40 obrien Exp $
d28 2
a29 2
DPADD+=		${LIBAMU}
LDADD+=		${LIBAMU} -lrpcsvc
@


1.14
log
@bmake framework for contrib_amd
@
text
@d6 1
a6 1
# $Id$
d28 1
a28 1
DPDADD+=	${LIBAMU}
@


1.13
log
@Make way for the contrib_amd bmake frame work.
@
text
@d1 37
a37 35
#	@@(#)Makefile	8.2 (Berkeley) 4/22/94

PROG=	amd
MAN8=	amd.8
OS=	bsd44
SRCS=	afs_ops.c am_ops.c clock.c util.c xutil.c \
	efs_ops.c mapc.c info_file.c info_hes.c \
	info_ndbm.c info_passwd.c info_nis.c \
	info_union.c map.c srvr_afs.c srvr_nfs.c \
	mntfs.c misc_rpc.c mount.h mount_fs.c mount_xdr.c \
	mtab.c mtab_bsd.c nfs_ops.c nfs_prot.h nfs_prot_svc.c \
	nfs_start.c nfs_subr.c nfs_prot_xdr.c opts.c \
	pfs_ops.c rpc_fwd.c sched.c sfs_ops.c amq_svc.c \
	amq_subr.c umount_fs.c host_ops.c nfsx_ops.c \
	ufs_ops.c ifs_ops.c amd.c get_args.c restart.c wire.c
OBJS+=	vers.${PROG}.o
CFLAGS+=-I${.OBJDIR}
CFLAGS+=-I${.CURDIR}/../rpcx
CFLAGS+=-I${.CURDIR}/../config
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-DARCH_REP=\"${MACHINE}\"
CFLAGS+=-DOS_REP=\"${OS}\"
CFLAGS+=-DOS_HDR=\"os-${OS}.h\"
CFLAGS+=${CONFIG}
CLEANFILES+=vers.${PROG}.c vers.${PROG}.o version.amd
CLEANFILES+=mount.h mount_xdr.c nfs_prot.h nfs_prot_xdr.c nfs_prot_svc.c
RPCCOM = rpcgen
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x

vers.${PROG}.c: ${SRCS:.c=.o}
	@@d=${.CURDIR}/ sh ${.CURDIR}/../config/newvers.sh ${PROG} ${MACHINE} ${OS}

mount.h: ${MOUNT_X}
	${RPCCOM} -h -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}
a41 12
nfs_prot.h: ${NFS_PROT_X}
	${RPCCOM} -h ${NFS_PROT_X} -o ${.TARGET}

nfs_prot_xdr.c: ${NFS_PROT_X}
	${RPCCOM} -c ${NFS_PROT_X} -o ${.TARGET}

nfs_prot_svc.c: ${NFS_PROT_X}
	${RPCCOM} -m ${NFS_PROT_X} -o ${.TARGET}

.PATH: ${.CURDIR}/../rpcx ${.CURDIR}/../config
.include "Makefile.config"
.include "../../Makefile.inc"
@


1.12
log
@Simplified by putting all generated headers in SRCS.  The explicit
dependencies on *.o were complete, but this was not obvious.
@
text
@@


1.11
log
@Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
@
text
@d10 1
a10 1
	mntfs.c misc_rpc.c mount_fs.c mount_xdr.c \
a33 2
afs_ops.o host_ops.o nfs_ops.o srvr_nfs.o: mount.h

d37 1
a37 1
mount_xdr.c: mount.h ${MOUNT_X}
@


1.10
log
@Removed definition of _NEW_VFSCONF.  The new vfsconf interface is now
the default.
@
text
@d11 1
a11 1
	mtab.c mtab_bsd.c nfs_ops.c nfs_prot_svc.c \
a29 1
DPSRCS= nfs_prot.h
a40 2

beforedepend: nfs_prot.h
@


1.9
log
@Fixed missing DPADD by removing empty LDADD.
@
text
@a24 1
CFLAGS+=-D_NEW_VFSCONF
@


1.8
log
@Typo (${.DESTDIR} -> ${DESTDIR}).

Reviewed by:	bde
@
text
@a25 1
LDADD= ${XLIBDIR} ${RESOLV}
@


1.7
log
@Fix so that amd can build with hesiod support.

Submitted by:	Kevin Van Maren <vanmaren@@marker.cs.utah.edu>
@
text
@d30 2
a31 2
MOUNT_X= ${.DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${.DESTDIR}/usr/include/rpcsvc/nfs_prot.x
@


1.6
log
@Fix makefiles so they work without having to 'make depend'
@
text
@d26 1
@


1.5
log
@Fix make depend.
@
text
@d29 3
a31 2
MOUNT_X= /usr/include/rpcsvc/mount.x
NFS_PROT_X= /usr/include/rpcsvc/nfs_prot.x
d44 1
a44 1
${OBJS} beforedepend: nfs_prot.h
@


1.4
log
@Generate mount*.[ch] and nfs_prot*.[ch] from the .x files.

Delete bogus local versions of mount*.[ch] and nfs_prot*.[ch].

Use v3 protocol by default for NFS mounts.  If v3 is not supported, v2 is
used automatically.  Add a new mount options for NFS, 'nfsv2' to allow the
administrator to force the use of the older protocol.

Document the new mount options and fix a couple of markup problems.
@
text
@d43 1
a43 1
${OBJS}: nfs_prot.h
@


1.3
log
@I feel sick. :-(  There is some really, truely, shameful stuff in here
to try and work around the nfsv3 headers in the post-lite2-kernel era.
This program somehow manages to make just about every #include conflict
with everything else. :-(
@
text
@d17 1
d27 4
d34 19
@


1.2
log
@Delete reference to obsolete librpc.a.
@
text
@d24 1
@


1.2.6.1
log
@YAMFC (hesiod support)
@
text
@a23 1
LDADD= ${XLIBDIR} ${RESOLV}
@


1.2.8.1
log
@YAMFC (hesiod support).
@
text
@a23 1
LDADD= ${XLIBDIR} ${RESOLV}
@


1.2.8.2
log
@YAMFC.  NFS fixes, make NFSv3 the default, some other fs fixes.

Reviewed by:	Hidetoshi Shimokawa <simokawa@@sat.t.u-tokyo.ac.jp>
@
text
@a16 1
CFLAGS+=-I${.OBJDIR}
a26 4
CLEANFILES+=mount.h mount_xdr.c nfs_prot.h nfs_prot_xdr.c nfs_prot_svc.c
RPCCOM = rpcgen
MOUNT_X= /usr/include/rpcsvc/mount.x
NFS_PROT_X= /usr/include/rpcsvc/nfs_prot.x
a29 19

afs_ops.o host_ops.o nfs_ops.o srvr_nfs.o: mount.h

mount.h: ${MOUNT_X}
	${RPCCOM} -h -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}

mount_xdr.c: mount.h ${MOUNT_X}
	${RPCCOM} -c -DWANT_NFS3 ${MOUNT_X} -o ${.TARGET}

${OBJS} beforedepend: nfs_prot.h

nfs_prot.h: ${NFS_PROT_X}
	${RPCCOM} -h ${NFS_PROT_X} -o ${.TARGET}

nfs_prot_xdr.c: ${NFS_PROT_X}
	${RPCCOM} -c ${NFS_PROT_X} -o ${.TARGET}

nfs_prot_svc.c: ${NFS_PROT_X}
	${RPCCOM} -m ${NFS_PROT_X} -o ${.TARGET}
@


1.2.8.3
log
@Add ${DESTDIR} to absolute pathnames of required sources.  (Pretty much
MFC.)

Reviewed by:	bde
@
text
@d30 2
a31 2
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
MAN8=	amd.0
a16 1
LDADD+= -lrpc
@


1.1.1.1
log
@BSD 4.4 Lite usr.sbin Sources
@
text
@@
