xref: /dragonfly/sbin/reboot/Makefile (revision a563ca70)
1#	@(#)Makefile	8.1 (Berkeley) 6/5/93
2# $FreeBSD: src/sbin/reboot/Makefile,v 1.6.8.3 2002/02/20 15:26:14 ru Exp $
3# $DragonFly: src/sbin/reboot/Makefile,v 1.6 2007/01/20 19:18:02 swildner Exp $
4
5PROG=	reboot
6DPADD=	${LIBUTIL}
7LDADD=	-lutil
8MAN=	reboot.8
9MLINKS=	reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
10
11.if exists(${.CURDIR}/boot_${MACHINE_PLATFORM}.8)
12MAN+=	boot_${MACHINE_PLATFORM}.8
13MLINKS+=boot_${MACHINE_PLATFORM}.8 boot.8
14.endif
15
16.if ${MACHINE_PLATFORM} == "pc64"
17MAN+=	boot_pc32.8
18MLINKS+=boot_pc32.8 boot.8
19.endif
20
21LINKS=	${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
22	${BINDIR}/reboot ${BINDIR}/fasthalt
23
24.include <bsd.prog.mk>
25