aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/wall/Makefile
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-12-05 20:05:25 +0000
committerEd Schouten <ed@FreeBSD.org>2009-12-05 20:05:25 +0000
commitbd76376f801ea53ac8456ff38bf34725a39494ac (patch)
tree780631d6b9e787100ffd0fd3d0693ba557ee34d2 /usr.bin/wall/Makefile
parent6951e12ec73d51fd814600c00c2b886bc3b81952 (diff)
downloadsrc-bd76376f801ea53ac8456ff38bf34725a39494ac.tar.gz
src-bd76376f801ea53ac8456ff38bf34725a39494ac.zip
Let wall(1) use utmpx.
Because our implementation guarantees the strings inside struct utmpx to be null terminated, we don't need to copy everything out, which makes the code nicer to read. Also set WARNS to 6 and add $FreeBSD$ to keep SVN silent.
Notes
Notes: svn path=/head/; revision=200156
Diffstat (limited to 'usr.bin/wall/Makefile')
-rw-r--r--usr.bin/wall/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/wall/Makefile b/usr.bin/wall/Makefile
index 65abb61184c7..5e75d9b96f45 100644
--- a/usr.bin/wall/Makefile
+++ b/usr.bin/wall/Makefile
@@ -1,8 +1,14 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= wall
SRCS= ttymsg.c wall.c
BINGRP= tty
BINMODE=2555
+WARNS?= 6
+
+DPADD= ${LIBULOG}
+LDADD= -lulog
+
.include <bsd.prog.mk>