Makefile (8340281fb107174cf94783010a31c056a5711f2b) Makefile (2b46c64c9c1bf1cb194e0f2b7c478f61a0e10cd9)
1# $FreeBSD$
2
3TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
4.PATH: ${TRACEROUTE_DISTDIR}
5
6PROG= traceroute
7MAN= traceroute.8
8SRCS= version.c traceroute.c ifaddrlist.c findsaddr-socket.c

--- 15 unchanged lines hidden (view full) ---

24# reporting, ie: print a variable precision from 0.001ms through 1000ms
25# CFLAGS+= -DSANE_PRECISION
26
27.if !defined(TRACEROUTE_NO_IPSEC)
28DPADD= ${LIBIPSEC}
29LDADD= -lipsec
30.endif
31
1# $FreeBSD$
2
3TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
4.PATH: ${TRACEROUTE_DISTDIR}
5
6PROG= traceroute
7MAN= traceroute.8
8SRCS= version.c traceroute.c ifaddrlist.c findsaddr-socket.c

--- 15 unchanged lines hidden (view full) ---

24# reporting, ie: print a variable precision from 0.001ms through 1000ms
25# CFLAGS+= -DSANE_PRECISION
26
27.if !defined(TRACEROUTE_NO_IPSEC)
28DPADD= ${LIBIPSEC}
29LDADD= -lipsec
30.endif
31
32.if ${MACHINE_ARCH} == "alpha"
33# gcc builtin memcpy causes unaligned access
34CFLAGS+= -fno-builtin
35.endif
36
37CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl
38
39version.c: ${TRACEROUTE_DISTDIR}/VERSION
40 @rm -f ${.TARGET}
41 head -1 ${TRACEROUTE_DISTDIR}/VERSION | \
42 sed -e 's/.*/char version[] = "&";/' \
43 > ${.TARGET}
44
45.include <bsd.prog.mk>
32CFLAGS+= -I${TRACEROUTE_DISTDIR}/lbl
33
34version.c: ${TRACEROUTE_DISTDIR}/VERSION
35 @rm -f ${.TARGET}
36 head -1 ${TRACEROUTE_DISTDIR}/VERSION | \
37 sed -e 's/.*/char version[] = "&";/' \
38 > ${.TARGET}
39
40.include <bsd.prog.mk>