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 10HAS_TESTS= 11SUBDIR.${MK_TESTS}+= tests 12 13.if !defined(TRACEROUTE_NO_IPSEC) 14CFLAGS+= -DIPSEC 15.endif 16# RTT Jitter on the internet these days means printing 3 decimal places on 17# > 1000ms times is plain useless. Uncomment this to enable variable precision 18# reporting, ie: print a variable precision from 0.001ms through 1000ms 19# CFLAGS+= -DSANE_PRECISION 20 21.if !defined(TRACEROUTE_NO_IPSEC) 22LIBADD+= ipsec 23.endif 24 25.if ${MK_CASPER} != "no" 26LIBADD+= casper 27LIBADD+= cap_dns 28CFLAGS+=-DWITH_CASPER 29.endif 30 31WARNS?= 3 32 33.include <bsd.prog.mk> 34