1997-02-22 16:15:28 +00:00
|
|
|
# $Id$
|
1994-05-26 05:23:31 +00:00
|
|
|
|
|
|
|
PROG= traceroute
|
1994-08-05 16:31:05 +00:00
|
|
|
MAN8= traceroute.8
|
1994-05-26 05:23:31 +00:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
1996-09-30 19:49:54 +00:00
|
|
|
CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
|
|
|
|
-DSTDC_HEADERS=1
|
1996-08-17 10:37:28 +00:00
|
|
|
# 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
|
|
|
|
|
1996-09-30 19:49:54 +00:00
|
|
|
SRCS= version.c traceroute.c
|
|
|
|
CLEANFILES+= version.c
|
|
|
|
|
|
|
|
TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
|
|
|
|
CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl
|
|
|
|
.PATH: ${TRACEROUTE_DISTDIR}
|
|
|
|
|
|
|
|
version.c: ${TRACEROUTE_DISTDIR}/VERSION
|
|
|
|
@rm -f $@
|
|
|
|
sed -e 's/.*/char version[] = "&";/' ${TRACEROUTE_DISTDIR}/VERSION > $@
|
|
|
|
|
1994-05-26 05:23:31 +00:00
|
|
|
.include <bsd.prog.mk>
|