minix/usr.sbin/traceroute/Makefile
Ben Gras 7f5f010bbd netbsd ping & traceroute
. remove minix ping
	. add support for socket(AF_INET, SOCK_RAW, {IPPROTO_ICMP,IPPROTO_UDP})
	. gives test48 a better chance of detecting network connectivity

Change-Id: Ia678546d27ac378642f1160a141e1fc33458cce2
2014-08-21 08:07:39 -04:00

29 lines
624 B
Makefile

# $NetBSD: Makefile,v 1.19 2011/09/11 01:06:26 christos Exp $
USE_FORT?= yes # network client
RUMPPRG=traceroute
MAN= traceroute.8
CPPFLAGS+=-DHAVE_MALLOC_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1
CPPFLAGS+=-DHAVE_STRERROR=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1
CPPFLAGS+=-DHAVE_RAW_OPTIONS=1
CPPFLAGS+=-DHAVE_ICMP_NEXTMTU=1
#CPPFLAGS+=-DIPSEC
#LDADD+= -lipsec
#DPADD+= ${LIBIPSEC}
BINOWN= root
BINMODE=4555
SRCS= traceroute.c ifaddrlist.c
SRCS+= version.c as.c
.PATH: ${.CURDIR}/../../lib/libc/net
RUMPSRCS= getifaddrs.c
CPPFLAGS+= -DRUMP_ACTION
AWKS= median.awk mean.awk
.include <bsd.prog.mk>