summaryrefslogtreecommitdiff
path: root/sbin/ping/Makefile
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2015-10-30 11:00:53 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2015-10-30 11:00:53 +0000
commit6144208d1fead05cfb847f37e7638f808777aae7 (patch)
treed94859a63ac7b4e4efc3b1e3dbbcd38124b94e73 /sbin/ping/Makefile
parent796468daefbd074b955e1b55e296e1a3781ccad5 (diff)
Use double variables and sqrt(3) from libm to calculate statistics like
ping6 does. OK benno@
Diffstat (limited to 'sbin/ping/Makefile')
-rw-r--r--sbin/ping/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 079a4681760..f1dbffbce54 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2014/07/11 15:29:46 florian Exp $
+# $OpenBSD: Makefile,v 1.8 2015/10/30 11:00:52 florian Exp $
PROG= ping
@@ -8,6 +8,10 @@ CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
MAN= ping.8
+
+LDADD= -lm
+DPADD= ${LIBM}
+
BINOWN= root
BINMODE=4555