Merge from vendor branch NTPD:
[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.2 2003/06/17 04:27:34 dillon Exp $
4
5 PROG=   reboot
6 WARNS?= 2
7 DPADD=  ${LIBUTIL}
8 LDADD=  -lutil
9 MAN=    reboot.8 boot_i386.8
10 MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
11
12 .if exists(${.CURDIR}/boot_${MACHINE}.8)
13 MLINKS+= boot_${MACHINE}.8 boot.8
14 .endif
15
16 LINKS=  ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
17         ${BINDIR}/reboot ${BINDIR}/fasthalt
18
19 .include <bsd.prog.mk>