freebsd-skq/usr.bin/pkill/Makefile
yar c900301bcd MFC rev 1.6, 1.7:
Install pkill/pgrep to /bin to the benefit of rc scripts.
Create compatibility symlinks from /usr/bin though.

Approved by:	re (mux & kensmith)
2006-09-01 14:32:35 +00:00

24 lines
487 B
Makefile

# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
# $FreeBSD$
BINDIR= /bin
PROG= pkill
WARNS?= 5
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
.include <bsd.prog.mk>