xref: /freebsd/usr.sbin/traceroute/Makefile (revision ddfc6f84f24215b418af19260e9156219f6df03e)
1.include <src.opts.mk>
2
3PACKAGE=	runtime
4PROG=	traceroute
5MAN=	traceroute.8
6SRCS=	as.c traceroute.c ifaddrlist.c findsaddr-udp.c
7BINOWN=	root
8BINMODE=4555
9
10.if !defined(TRACEROUTE_NO_IPSEC)
11CFLAGS+= -DIPSEC
12.endif
13# RTT Jitter on the internet these days means printing 3 decimal places on
14# > 1000ms times is plain useless.  Uncomment this to enable variable precision
15# reporting, ie: print a variable precision from 0.001ms through 1000ms
16# CFLAGS+= -DSANE_PRECISION
17
18.if !defined(TRACEROUTE_NO_IPSEC)
19LIBADD+=	ipsec
20.endif
21
22.if ${MK_CASPER} != "no"
23LIBADD+=	casper
24LIBADD+=	cap_dns
25CFLAGS+=-DWITH_CASPER
26.endif
27
28WARNS?=	3
29
30.include <bsd.prog.mk>
31