xref: /freebsd/usr.sbin/traceroute/Makefile (revision 7937bfbc0ca53fe7cdd0d54414f9296e273a518e)
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