freebsd-dev/usr.sbin/traceroute/Makefile
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00

26 lines
748 B
Makefile

# $FreeBSD$
PROG= traceroute
MAN8= traceroute.8
BINOWN= root
BINMODE=4555
CFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \
-DSTDC_HEADERS=1
# 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
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 > $@
.include <bsd.prog.mk>