1124208Sdes#	$NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
2124208Sdes# $FreeBSD$
398937Sdes
4124208Sdes.include <bsd.own.mk>
5124208Sdes
6124208SdesPROG=	pkill
7124208Sdes
898937SdesDPADD=	${LIBKVM} ${LIBJAIL}
9124208SdesLDADD=	-lkvm -ljail
10124208Sdes
11124208SdesLINKS=	${BINDIR}/pkill ${BINDIR}/pgrep
12124208SdesMLINKS=	pkill.1 pgrep.1
13124208Sdes
14124208Sdes#
15124208Sdes# If considering retirement of these compatibility symlinks,
16124208Sdes# keep in mind that pkill is installed to /usr/bin in other
17124208Sdes# OS types, e.g., NetBSD, OpenBSD, Solaris, and Linux.
18124208Sdes#
19124208SdesSYMLINKS=	${BINDIR}/pkill /usr/bin/pkill
2098937SdesSYMLINKS+=	${BINDIR}/pgrep /usr/bin/pgrep
21124208Sdes
22124208Sdes.if ${MK_TESTS} != "no"
23124208SdesSUBDIR+= tests
24124208Sdes.endif
25124208Sdes
26124208Sdes.include <bsd.prog.mk>
27124208Sdes