head	1.19;
access;
symbols
	RELENG_8_4:1.19.0.2
	RELENG_9_1_0_RELEASE:1.18.2.1.4.2
	RELENG_9_1:1.18.2.1.0.4
	RELENG_9_1_BP:1.18.2.1
	RELENG_8_3_0_RELEASE:1.15.10.1.8.1
	RELENG_8_3:1.15.10.1.0.8
	RELENG_8_3_BP:1.15.10.1
	RELENG_9_0_0_RELEASE:1.18.2.1.2.1
	RELENG_9_0:1.18.2.1.0.2
	RELENG_9_0_BP:1.18.2.1
	RELENG_9:1.18.0.2
	RELENG_9_BP:1.18
	RELENG_7_4_0_RELEASE:1.15.14.1
	RELENG_8_2_0_RELEASE:1.15.10.1.6.1
	RELENG_7_4:1.15.0.14
	RELENG_7_4_BP:1.15
	RELENG_8_2:1.15.10.1.0.6
	RELENG_8_2_BP:1.15.10.1
	RELENG_8_1_0_RELEASE:1.15.10.1.4.1
	RELENG_8_1:1.15.10.1.0.4
	RELENG_8_1_BP:1.15.10.1
	RELENG_7_3_0_RELEASE:1.15.12.1
	RELENG_7_3:1.15.0.12
	RELENG_7_3_BP:1.15
	RELENG_8_0_0_RELEASE:1.15.10.1.2.1
	RELENG_8_0:1.15.10.1.0.2
	RELENG_8_0_BP:1.15.10.1
	RELENG_8:1.15.0.10
	RELENG_8_BP:1.15
	RELENG_7_2_0_RELEASE:1.15.8.1
	RELENG_7_2:1.15.0.8
	RELENG_7_2_BP:1.15
	RELENG_7_1_0_RELEASE:1.15.6.1
	RELENG_6_4_0_RELEASE:1.14.2.1.8.1
	RELENG_7_1:1.15.0.6
	RELENG_7_1_BP:1.15
	RELENG_6_4:1.14.2.1.0.8
	RELENG_6_4_BP:1.14.2.1
	RELENG_7_0_0_RELEASE:1.15
	RELENG_6_3_0_RELEASE:1.14.2.1
	RELENG_7_0:1.15.0.4
	RELENG_7_0_BP:1.15
	RELENG_6_3:1.14.2.1.0.6
	RELENG_6_3_BP:1.14.2.1
	RELENG_7:1.15.0.2
	RELENG_7_BP:1.15
	RELENG_6_2_0_RELEASE:1.14.2.1
	RELENG_6_2:1.14.2.1.0.4
	RELENG_6_2_BP:1.14.2.1
	RELENG_5_5_0_RELEASE:1.13
	RELENG_5_5:1.13.0.8
	RELENG_5_5_BP:1.13
	RELENG_6_1_0_RELEASE:1.14.2.1
	RELENG_6_1:1.14.2.1.0.2
	RELENG_6_1_BP:1.14.2.1
	RELENG_6_0_0_RELEASE:1.14
	RELENG_6_0:1.14.0.4
	RELENG_6_0_BP:1.14
	RELENG_6:1.14.0.2
	RELENG_6_BP:1.14
	RELENG_5_4_0_RELEASE:1.13
	RELENG_5_4:1.13.0.6
	RELENG_5_4_BP:1.13
	RELENG_4_11_0_RELEASE:1.6.8.3
	RELENG_4_11:1.6.8.3.0.12
	RELENG_4_11_BP:1.6.8.3
	RELENG_5_3_0_RELEASE:1.13
	RELENG_5_3:1.13.0.4
	RELENG_5_3_BP:1.13
	RELENG_5:1.13.0.2
	RELENG_5_BP:1.13
	RELENG_4_10_0_RELEASE:1.6.8.3
	RELENG_4_10:1.6.8.3.0.10
	RELENG_4_10_BP:1.6.8.3
	RELENG_5_2_1_RELEASE:1.12
	RELENG_5_2_0_RELEASE:1.12
	RELENG_5_2:1.12.0.6
	RELENG_5_2_BP:1.12
	RELENG_4_9_0_RELEASE:1.6.8.3
	RELENG_4_9:1.6.8.3.0.8
	RELENG_4_9_BP:1.6.8.3
	RELENG_5_1_0_RELEASE:1.12
	RELENG_5_1:1.12.0.4
	RELENG_5_1_BP:1.12
	RELENG_4_8_0_RELEASE:1.6.8.3
	RELENG_4_8:1.6.8.3.0.6
	RELENG_4_8_BP:1.6.8.3
	RELENG_5_0_0_RELEASE:1.12
	RELENG_5_0:1.12.0.2
	RELENG_5_0_BP:1.12
	RELENG_4_7_0_RELEASE:1.6.8.3
	RELENG_4_7:1.6.8.3.0.4
	RELENG_4_7_BP:1.6.8.3
	RELENG_4_6_2_RELEASE:1.6.8.3
	RELENG_4_6_1_RELEASE:1.6.8.3
	RELENG_4_6_0_RELEASE:1.6.8.3
	RELENG_4_6:1.6.8.3.0.2
	RELENG_4_6_BP:1.6.8.3
	RELENG_4_5_0_RELEASE:1.6.8.2
	RELENG_4_5:1.6.8.2.0.4
	RELENG_4_5_BP:1.6.8.2
	RELENG_4_4_0_RELEASE:1.6.8.2
	RELENG_4_4:1.6.8.2.0.2
	RELENG_4_4_BP:1.6.8.2
	RELENG_4_3_0_RELEASE:1.6
	RELENG_4_3:1.6.0.10
	RELENG_4_3_BP:1.6
	RELENG_4_2_0_RELEASE:1.6
	RELENG_4_1_1_RELEASE:1.6
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.6
	RELENG_3_5_0_RELEASE:1.6
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.8
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.6
	RELENG_3_3_0_RELEASE:1.6
	RELENG_3_2_PAO:1.6.0.6
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.4
	RELENG_3_BP:1.6
	RELENG_2_2_8_RELEASE:1.6
	RELENG_3_0_0_RELEASE:1.6
	RELENG_2_2_7_RELEASE:1.6
	RELENG_2_2_6_RELEASE:1.6
	RELENG_2_2_5_RELEASE:1.6
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.6
	RELENG_2_2_1_RELEASE:1.6
	RELENG_2_2_0_RELEASE:1.6
	RELENG_2_1_7_RELEASE:1.4.6.1
	RELENG_2_1_6_1_RELEASE:1.4.6.1
	RELENG_2_1_6_RELEASE:1.4.6.1
	RELENG_2_2:1.6.0.2
	RELENG_2_2_BP:1.6
	RELENG_2_1_5_RELEASE:1.4.6.1
	RELENG_2_1_0_RELEASE:1.4.6.1
	RELENG_2_1_0:1.4.0.6
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.4
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.4
	BETA_2_0:1.4
	ALPHA_2_0:1.4.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.01.50.25;	author svnexp;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2010.01.13.17.59.23;	author ed;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2009.12.05.20.26.55;	author ed;	state Exp;
branches;
next	1.16;

1.16
date	2009.10.19.16.00.24;	author ru;	state Exp;
branches;
next	1.15;

1.15
date	2005.11.17.09.39.36;	author ru;	state Exp;
branches
	1.15.2.1
	1.15.6.1
	1.15.8.1
	1.15.10.1
	1.15.12.1
	1.15.14.1;
next	1.14;

1.14
date	2005.01.25.08.14.00;	author delphij;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2004.03.22.00.52.27;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.04.17.39.54;	author gordon;	state Exp;
branches;
next	1.11;

1.11
date	2002.05.24.04.06.03;	author gordon;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.04.02.19.56;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2001.09.12.12.21.08;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2001.07.15.05.44.23;	author dd;	state Exp;
branches;
next	1.7;

1.7
date	2001.03.26.14.33.21;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	96.02.12.04.28.59;	author mpp;	state Exp;
branches
	1.6.8.1;
next	1.5;

1.5
date	95.10.07.12.04.59;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	94.08.21.05.48.32;	author davidg;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	94.08.05.02.42.28;	author wollman;	state Exp;
branches;
next	1.2;

1.2
date	94.05.28.06.27.25;	author rgrimes;	state Exp;
branches;
next	1.1;

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

1.19.2.1
date	2012.11.17.01.50.25;	author svnexp;	state dead;
branches;
next	1.19.2.2;

1.19.2.2
date	2013.03.28.13.03.36;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.18.2.1.2.1
	1.18.2.1.4.1;
next	1.18.2.2;

1.18.2.2
date	2012.11.17.11.36.33;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.18.2.1.2.2;

1.18.2.1.2.2
date	2012.11.17.08.36.32;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.18.2.1.4.2;

1.18.2.1.4.2
date	2012.11.17.08.47.22;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2012.11.17.08.03.41;	author svnexp;	state Exp;
branches;
next	;

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

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

1.15.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.15.10.1.2.1
	1.15.10.1.4.1
	1.15.10.1.6.1
	1.15.10.1.8.1;
next	1.15.10.2;

1.15.10.2
date	2012.11.17.10.36.16;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.15.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.15.10.1.8.2;

1.15.10.1.8.2
date	2012.11.17.08.24.57;	author svnexp;	state Exp;
branches;
next	;

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

1.15.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.15.14.2;

1.15.14.2
date	2012.11.17.08.16.55;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	2006.02.15.15.10.07;	author ru;	state Exp;
branches
	1.14.2.1.8.1;
next	1.14.2.2;

1.14.2.2
date	2012.11.17.07.41.22;	author svnexp;	state Exp;
branches;
next	;

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

1.6.8.1
date	2001.04.25.10.58.47;	author ru;	state Exp;
branches;
next	1.6.8.2;

1.6.8.2
date	2001.07.30.10.38.07;	author dd;	state Exp;
branches;
next	1.6.8.3;

1.6.8.3
date	2002.02.20.15.26.14;	author ru;	state Exp;
branches;
next	1.6.8.4;

1.6.8.4
date	2012.11.17.07.24.35;	author svnexp;	state Exp;
branches;
next	;

1.4.6.1
date	95.10.10.01.15.23;	author davidg;	state Exp;
branches;
next	;

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


desc
@@


1.19
log
@Switching exporter and resync
@
text
@#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD: head/sbin/reboot/Makefile 202195 2010-01-13 17:59:23Z ed $

PROG=	reboot
MAN=	reboot.8 nextboot.8
MLINKS=	reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8

.if exists(${.CURDIR}/boot_${MACHINE}.8)
MAN+=	boot_${MACHINE}.8
MLINKS+= boot_${MACHINE}.8 boot.8
.endif
.if ${MACHINE} == "amd64"
MAN+=	boot_i386.8
MLINKS+= boot_i386.8 boot.8
.endif

LINKS=	${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
	${BINDIR}/reboot ${BINDIR}/fasthalt

SCRIPTS=	nextboot.sh

.include <bsd.prog.mk>
@


1.19.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:36 +0000
@
text
@d1 22
@


1.19.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 25
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD: releng/8.4/sbin/reboot/Makefile 152544 2005-11-17 09:39:36Z ru $

PROG=	reboot
WARNS?=	6
DPADD=	${LIBUTIL}
LDADD=	-lutil
MAN=	reboot.8 nextboot.8
MLINKS=	reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8

.if exists(${.CURDIR}/boot_${MACHINE}.8)
MAN+=	boot_${MACHINE}.8
MLINKS+= boot_${MACHINE}.8 boot.8
.endif
.if ${MACHINE} == "amd64"
MAN+=	boot_i386.8
MLINKS+= boot_i386.8 boot.8
.endif

LINKS=	${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
	${BINDIR}/reboot ${BINDIR}/fasthalt

SCRIPTS=	nextboot.sh

.include <bsd.prog.mk>
@


1.18
log
@SVN rev 202195 on 2010-01-13 17:59:23Z by ed

Port the remaining apps in sbin/ to utmpx; only reboot(8).
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18.2.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.18.2.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
@d2 1
a2 1
# $FreeBSD: stable/9/sbin/reboot/Makefile 202195 2010-01-13 17:59:23Z ed $
@


1.18.2.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.18.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/sbin/reboot/Makefile 202195 2010-01-13 17:59:23Z ed $
@


1.18.2.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.18.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/sbin/reboot/Makefile 202195 2010-01-13 17:59:23Z ed $
@


1.17
log
@SVN rev 200161 on 2009-12-05 20:26:55Z by ed

Let init(8) and reboot(8) use utmpx to log wtmp entries.

logwtmp() gets called with the raw strings that are written to disk. For
regular user entries, this isn't too bad, but when booting/shutting
down, the contents get rather cryptic.

Just call the standardized pututxline().
@
text
@a4 2
DPADD=	${LIBULOG}
LDADD=	-lulog
@


1.16
log
@SVN rev 198236 on 2009-10-19 16:00:24Z by ru

Switch the default WARNS level for sbin/ to 6.

Submitted by:	Ulrich Spörlein
@
text
@d5 2
a6 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.15
log
@Do not install boot_i386.8 on all architectures.
@
text
@a4 1
WARNS?=	6
@


1.15.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/sbin/reboot/Makefile 152544 2005-11-17 09:39:36Z ru $
@


1.15.14.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.15.14.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/sbin/reboot/Makefile 152544 2005-11-17 09:39:36Z ru $
@


1.15.12.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.15.10.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.15.10.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
@d2 1
a2 1
# $FreeBSD: stable/8/sbin/reboot/Makefile 152544 2005-11-17 09:39:36Z ru $
@


1.15.10.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.15.10.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/sbin/reboot/Makefile 152544 2005-11-17 09:39:36Z ru $
@


1.15.10.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.15.10.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.15.10.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.15.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.15.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.14
log
@The kernel specified in main() of reboot(8) will be initialized
with -k option and never be used without kflag.  This confuses
gcc because we set "kflag" at the same time with "kernel", but
the logic is not that apparant for gcc.

Since we can initialize "kernel" to NULL then know if "k" option
is set through determining whether it is still NULL, don't try
to have gcc to guess why we are connecting "kflag" with "kernel"
and use "kernel" directly in place of kflag.

Bump WARNS?= from 2 to 6
@
text
@d8 1
a8 1
MAN=	reboot.8 boot_i386.8 nextboot.8
d12 1
d16 1
@


1.14.2.1
log
@MFC: 1.15: Only install boot_i386.8 on i386 and amd64.

Approved by:	re (scottl)
@
text
@d8 1
a8 1
MAN=	reboot.8 nextboot.8
a11 1
MAN+=	boot_${MACHINE}.8
a14 1
MAN+=	boot_i386.8
@


1.14.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/sbin/reboot/Makefile 155724 2006-02-15 15:10:07Z ru $
@


1.14.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.13
log
@Share the i386 boot manual page.
@
text
@d5 1
@


1.12
log
@Hook the new nextboot(8) manpage up to the build.
@
text
@d13 3
@


1.11
log
@Add a nextboot script to make it easier to control the loader nextboot
support. Also, hook it up to the build.

Approved by:	jake (mentor)
@
text
@d7 1
a7 1
MAN=	reboot.8 boot_i386.8
@


1.10
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d17 2
@


1.9
log
@Use ${MACHINE}, it works with cross-builds.
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/reboot/Makefile,v 1.8 2001/07/15 05:44:23 dd Exp $
a4 1
WARNS?=	2
@


1.8
log
@Constify and set WARNS=2.

Submitted by:	Mike Barcroft <mike@@q9media.com>
@
text
@d2 1
a2 1
# $FreeBSD: src/sbin/reboot/Makefile,v 1.7 2001/03/26 14:33:21 ru Exp $
d11 2
a12 4
ARCH!=	uname -m

.if exists (${.CURDIR}/boot_${ARCH}.8)
MLINKS+= boot_${ARCH}.8 boot.8
@


1.7
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
@


1.6
log
@Removed the boot_*(8) man pages for machines we don't support:
    hp300, sparc, tahoe, and vax
@
text
@d2 1
d7 1
a7 1
MAN8=	reboot.8 boot_i386.8
@


1.6.8.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@a1 1
# $FreeBSD$
d6 1
a6 1
MAN=	reboot.8 boot_i386.8
@


1.6.8.2
log
@MFC: WARNS cleanups.
@
text
@a4 1
WARNS?=	2
@


1.6.8.3
log
@MFC: 1.9: Use ${MACHINE}, it works with cross-builds.

We use MACHINE not MACHINE_ARCH because boot_i386(8)
doesn't fit the PC98 design.
@
text
@d11 4
a14 2
.if exists(${.CURDIR}/boot_${MACHINE}.8)
MLINKS+= boot_${MACHINE}.8 boot.8
@


1.6.8.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/sbin/reboot/Makefile 90971 2002-02-20 15:26:14Z ru $
@


1.5
log
@Totally revamp the man page, update to the state of affairs.

Make a link from boot_${ARCH}.8 to boot.8, so people will get what
they expect when asking "man boot".

I think David will lynch me when i'm requesting this to go into 2.1... :-)
@
text
@d6 1
a6 1
MAN8=	reboot.8 boot_hp300.8 boot_i386.8 boot_sparc.8 boot_tahoe.8 boot_vax.8
a17 8
XXXBROKENafterinstall:
	${MINSTALL} boot_hp300.8 ${DESTDIR}${MANDIR}8/hp300/boot.8
	${MINSTALL} boot_i386.8 ${DESTDIR}${MANDIR}8/i386/boot.8
	${MINSTALL} boot_sparc.8 ${DESTDIR}${MANDIR}8/sparc/boot.8
	${MINSTALL} boot_tahoe.8 ${DESTDIR}${MANDIR}8/tahoe/boot.8
	${MINSTALL} boot_vax.8 ${DESTDIR}${MANDIR}8/vax/boot.8

.include <bsd.man.mk>
@


1.4
log
@Install aliases "fasthalt" and "fastboot" for halt and boot respectively.
This is for "backwards compatibility". Documented these aliases in the
manual page.
@
text
@d8 7
@


1.4.6.1
log
@Sync with main branch.
@
text
@a7 7

ARCH!=	uname -m

.if exists (${.CURDIR}/boot_${ARCH}.8)
MLINKS+= boot_${ARCH}.8 boot.8
.endif

@


1.3
log
@Convert to our man installation style.  Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
@
text
@d7 3
a9 2
MLINKS=	reboot.8 halt.8
LINKS=	${BINDIR}/reboot ${BINDIR}/halt
@


1.2
log
@Disable afterinstall: for manual pages until the manual page fix patch
comes in.
@
text
@d6 1
a6 1
MAN8=	reboot.0 boot_hp300.0 boot_i386.0 boot_sparc.0 boot_tahoe.0 boot_vax.0
d11 5
a15 5
	${MINSTALL} boot_hp300.0 ${DESTDIR}${MANDIR}8/hp300/boot.0
	${MINSTALL} boot_i386.0 ${DESTDIR}${MANDIR}8/i386/boot.0
	${MINSTALL} boot_sparc.0 ${DESTDIR}${MANDIR}8/sparc/boot.0
	${MINSTALL} boot_tahoe.0 ${DESTDIR}${MANDIR}8/tahoe/boot.0
	${MINSTALL} boot_vax.0 ${DESTDIR}${MANDIR}8/vax/boot.0
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
afterinstall:
@


1.1.1.1
log
@BSD 4.4 Lite sbin Sources

Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
@
text
@@
