11558Srgrimes#	@(#)Makefile	8.1 (Berkeley) 6/5/93
274815Sru# $FreeBSD: releng/10.3/sbin/reboot/Makefile 202195 2010-01-13 17:59:23Z ed $
31558Srgrimes
41558SrgrimesPROG=	reboot
5152544SruMAN=	reboot.8 nextboot.8
62171SdgMLINKS=	reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
711307Sjoerg
883369Sru.if exists(${.CURDIR}/boot_${MACHINE}.8)
9152544SruMAN+=	boot_${MACHINE}.8
1083369SruMLINKS+= boot_${MACHINE}.8 boot.8
1111307Sjoerg.endif
12127285Sobrien.if ${MACHINE} == "amd64"
13152544SruMAN+=	boot_i386.8
14127285SobrienMLINKS+= boot_i386.8 boot.8
15127285Sobrien.endif
1611307Sjoerg
172171SdgLINKS=	${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
182171Sdg	${BINDIR}/reboot ${BINDIR}/fasthalt
191558Srgrimes
2097203SgordonSCRIPTS=	nextboot.sh
2197203Sgordon
221558Srgrimes.include <bsd.prog.mk>
23