Makefile revision 58904
1166255Sdelphij# $FreeBSD: head/usr.sbin/traceroute/Makefile 58904 2000-04-01 21:48:07Z shin $ 2166255Sdelphij 3166255SdelphijPROG= traceroute 4166255SdelphijMAN8= traceroute.8 5166255SdelphijBINMODE=4555 6166255SdelphijCFLAGS+=-DHAVE_SYS_SELECT_H=1 -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ 7166255Sdelphij -DSTDC_HEADERS=1 8166255Sdelphij.ifndef (NOIPSEC) 9166255SdelphijCFLAGS+=-DIPSEC 10166255Sdelphij.endif 11166255Sdelphij# RTT Jitter on the internet these days means printing 3 decimal places on 12166255Sdelphij# > 1000ms times is plain useless. Uncomment this to enable variable precision 13166255Sdelphij# reporting, ie: print a variable precision from 0.001ms through 1000ms 14166255Sdelphij# CFLAGS+=-DSANE_PRECISION 15166255Sdelphij 16166255SdelphijSRCS= version.c traceroute.c 17166255SdelphijCLEANFILES+= version.c 18166255Sdelphij.ifndef (NOIPSEC) 19166255SdelphijDPADD= ${LIBIPSEC} 20166255SdelphijLDADD= -lipsec 21166255Sdelphij.endif 22166255Sdelphij 23166255SdelphijTRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute 24166255Sdelphij 25166255Sdelphij.if ${MACHINE_ARCH} == "alpha" 26166255Sdelphij# gcc builtin memcpy causes unaligned access 27166255SdelphijCFLAGS+= -fno-builtin 28166255Sdelphij.endif 29166255Sdelphij 30166255SdelphijCFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl 31166255Sdelphij.PATH: ${TRACEROUTE_DISTDIR} 32166255Sdelphij 33166255Sdelphijversion.c: ${TRACEROUTE_DISTDIR}/VERSION 34166255Sdelphij @rm -f ${.TARGET} 35166255Sdelphij sed -e 's/.*/char version[] = "&";/' ${TRACEROUTE_DISTDIR}/VERSION > ${.TARGET} 36166255Sdelphij 37166255Sdelphij.include <bsd.prog.mk> 38166255Sdelphij