1127412Sgad#	$NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
2127412Sgad# $FreeBSD: releng/10.3/bin/pkill/Makefile 287269 2015-08-29 02:41:59Z jamie $
3127412Sgad
4264996Sjmmv.include <bsd.own.mk>
5264996Sjmmv
6127412SgadPROG=	pkill
7127412Sgad
8287269SjamieDPADD=	${LIBKVM} ${LIBJAIL}
9287269SjamieLDADD=	-lkvm -ljail
10127412Sgad
11127437SruLINKS=	${BINDIR}/pkill ${BINDIR}/pgrep
12127437SruMLINKS=	pkill.1 pgrep.1
13127412Sgad
14161463Syar#
15161463Syar# If considering retirement of these compatibility symlinks,
16161463Syar# keep in mind that pkill is installed to /usr/bin in other
17161463Syar# OS types, e.g., NetBSD, OpenBSD, Solaris, and Linux.
18161463Syar#
19161458SyarSYMLINKS=	${BINDIR}/pkill /usr/bin/pkill
20161458SyarSYMLINKS+=	${BINDIR}/pgrep /usr/bin/pgrep
21161458Syar
22264996Sjmmv.if ${MK_TESTS} != "no"
23264996SjmmvSUBDIR+= tests
24264996Sjmmv.endif
25264996Sjmmv
26127412Sgad.include <bsd.prog.mk>
27