mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
6a6c5572c3
traceroute used a series of #defines to specify what features are available on the host platform. As traceroute is now in source, these are unnecessary and complicate the code, so remove them. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1100
32 lines
650 B
Makefile
32 lines
650 B
Makefile
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
PROG= traceroute
|
|
MAN= traceroute.8
|
|
SRCS= as.c traceroute.c ifaddrlist.c findsaddr-udp.c
|
|
BINOWN= root
|
|
BINMODE=4555
|
|
|
|
.if !defined(TRACEROUTE_NO_IPSEC)
|
|
CFLAGS+= -DIPSEC
|
|
.endif
|
|
# RTT Jitter on the internet these days means printing 3 decimal places on
|
|
# > 1000ms times is plain useless. Uncomment this to enable variable precision
|
|
# reporting, ie: print a variable precision from 0.001ms through 1000ms
|
|
# CFLAGS+= -DSANE_PRECISION
|
|
|
|
.if !defined(TRACEROUTE_NO_IPSEC)
|
|
LIBADD+= ipsec
|
|
.endif
|
|
|
|
.if ${MK_CASPER} != "no"
|
|
LIBADD+= casper
|
|
LIBADD+= cap_dns
|
|
CFLAGS+=-DWITH_CASPER
|
|
.endif
|
|
|
|
WARNS?= 3
|
|
|
|
.include <bsd.prog.mk>
|