65c3cfc1aa
Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place.
27 lines
533 B
Makefile
27 lines
533 B
Makefile
# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= pkill
|
|
|
|
DPADD= ${LIBKVM}
|
|
LDADD= -lkvm
|
|
|
|
LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep
|
|
MLINKS= pkill.1 pgrep.1
|
|
|
|
#
|
|
# 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.
|
|
#
|
|
SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill
|
|
SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|