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