aboutsummaryrefslogtreecommitdiff
path: root/bin/pkill/Makefile
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2008-08-31 14:27:59 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2008-08-31 14:27:59 +0000
commit21be3b318337f81324d33fcdd361482058b9bafb (patch)
tree9691f4bc376751b409bcdd1e4576da3da410eb64 /bin/pkill/Makefile
parent59d4932531aa4e97f68b2d42290a68cae6b17375 (diff)
downloadsrc-21be3b318337f81324d33fcdd361482058b9bafb.tar.gz
src-21be3b318337f81324d33fcdd361482058b9bafb.zip
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
Notes
Notes: svn path=/head/; revision=182543
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 000000000000..3437c0db0a17
--- /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>