2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for shutdown / halt / reboot.
|
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
PROGS= shutdown halt
|
|
|
|
SRCS.shutdown= shutdown.c sh_wall.c log.c
|
|
|
|
SRCS.halt= halt.c log.c
|
2011-11-09 16:34:47 +01:00
|
|
|
BINDIR=/bin
|
2010-05-13 14:05:53 +02:00
|
|
|
BINMODE= 4754
|
2011-11-09 16:34:47 +01:00
|
|
|
SYMLINKS+= ${BINDIR}/halt ${BINDIR}/reboot
|
|
|
|
SYMLINKS+= ${BINDIR}/halt /usr/bin/halt
|
|
|
|
SYMLINKS+= ${BINDIR}/shutdown /usr/bin/shutdown
|
|
|
|
SYMLINKS+= ${BINDIR}/reboot /usr/bin/reboot
|
2010-05-12 18:28:54 +02:00
|
|
|
MAN.shutdown=
|
|
|
|
MAN.halt=
|
|
|
|
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.prog.mk>
|