summaryrefslogtreecommitdiffstats
path: root/bin/pkill/Makefile
diff options
context:
space:
mode:
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