2004-03-25 19:08:48 +00:00
|
|
|
# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-03-19 12:46:04 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2004-03-25 19:08:48 +00:00
|
|
|
PROG= pkill
|
|
|
|
|
2004-03-26 07:44:49 +00:00
|
|
|
DPADD= ${LIBKVM}
|
|
|
|
LDADD= -lkvm
|
2004-03-25 19:08:48 +00:00
|
|
|
|
2004-03-26 07:44:49 +00:00
|
|
|
LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep
|
|
|
|
MLINKS= pkill.1 pgrep.1
|
2004-03-25 19:08:48 +00:00
|
|
|
|
2006-08-20 04:25:20 +00:00
|
|
|
#
|
|
|
|
# If considering retirement of these compatibility symlinks,
|
|
|
|
# keep in mind that pkill is installed to /usr/bin in other
|
|
|
|
# OS types, e.g., NetBSD, OpenBSD, Solaris, and Linux.
|
|
|
|
#
|
2006-08-19 08:24:01 +00:00
|
|
|
SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill
|
|
|
|
SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep
|
|
|
|
|
2014-03-19 12:46:04 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
SUBDIR+= tests
|
|
|
|
.endif
|
|
|
|
|
2004-03-25 19:08:48 +00:00
|
|
|
.include <bsd.prog.mk>
|