743a7c42e2
generic watchdoc(9) interface. Make watchdogd(8) perform as watchdog(8) as well, and make it possible to specify a check command to run, timeout and sleep periods. Update watchdog(4) to talk about the generic interface and add new watchdog(8) page.
15 lines
197 B
Makefile
15 lines
197 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= watchdogd
|
|
LINKS= ${BINDIR}/watchdogd ${BINDIR}/watchdog
|
|
MAN= watchdogd.8 watchdog.8
|
|
WARNS?= 6
|
|
|
|
LDADD= -lm
|
|
DPADD= ${LIBM}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
test: ${PROG}
|
|
./${PROG} -t 1.0
|