#	@(#)Makefile	8.1 (Berkeley) 6/5/93
# $FreeBSD: stable/4/sbin/reboot/Makefile 90971 2002-02-20 15:26:14Z ru $

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

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

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

.include <bsd.prog.mk>
