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