Merge from vendor branch FILE:
[dragonfly.git] / sbin / reboot / Makefile
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.4 2006/10/17 00:55:43 pavalos Exp $
4
5 PROG=   reboot
6 DPADD=  ${LIBUTIL}
7 LDADD=  -lutil
8 MAN=    reboot.8 boot_i386.8
9 MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
10
11 .if exists(${.CURDIR}/boot_${MACHINE}.8)
12 MLINKS+= boot_${MACHINE}.8 boot.8
13 .endif
14
15 LINKS=  ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
16         ${BINDIR}/reboot ${BINDIR}/fasthalt
17
18 .include <bsd.prog.mk>