summaryrefslogtreecommitdiffstats
path: root/bin/pkill/Makefile
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2008-08-31 14:27:59 +0000
committeryar <yar@FreeBSD.org>2008-08-31 14:27:59 +0000
commitf8df6b10b30445f51576e54007cb4207b3b70e34 (patch)
tree9691f4bc376751b409bcdd1e4576da3da410eb64 /bin/pkill/Makefile
parente2ca413d09b408b7f5caff24c9c36ddb1c43dc7c (diff)
downloadFreeBSD-src-f8df6b10b30445f51576e54007cb4207b3b70e34.zip
FreeBSD-src-f8df6b10b30445f51576e54007cb4207b3b70e34.tar.gz
pkill(1) first appeared in /usr/bin, but later it was moved to /bin
for the convenience of rc.d. Now it has happily lived there for quite a while. So move the pkill(1) source files from usr.bin to bin, too. Approved by: gad
Diffstat (limited to 'bin/pkill/Makefile')
-rw-r--r--bin/pkill/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/pkill/Makefile b/bin/pkill/Makefile
new file mode 100644
index 0000000..3437c0d
--- /dev/null
+++ b/bin/pkill/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
+# $FreeBSD$
+
+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>
OpenPOWER on IntegriCloud