Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.sbin / traceroute / Makefile
blob480d052a2e4535a27d8941d3ef97c5a27805573a
1 # $NetBSD: Makefile,v 1.19 2011/09/11 01:06:26 christos Exp $
3 USE_FORT?= yes # network client
5 RUMPPRG=traceroute
6 MAN= traceroute.8
8 CPPFLAGS+=-DHAVE_MALLOC_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1
9 CPPFLAGS+=-DHAVE_STRERROR=1 -DHAVE_SETLINEBUF=1 -DHAVE_SOCKADDR_SA_LEN=1
10 CPPFLAGS+=-DHAVE_RAW_OPTIONS=1
11 CPPFLAGS+=-DHAVE_ICMP_NEXTMTU=1
13 .include <bsd.own.mk>
14 .if !defined(__MINIX)
15 CPPFLAGS+=-DIPSEC
16 LDADD+= -lipsec
17 DPADD+= ${LIBIPSEC}
18 .endif # !defined(__MINIX)
20 BINOWN= root
21 BINMODE=4555
23 SRCS= traceroute.c ifaddrlist.c
24 SRCS+= version.c as.c
26 .PATH: ${.CURDIR}/../../lib/libc/net
27 RUMPSRCS= getifaddrs.c
28 CPPFLAGS+= -DRUMP_ACTION
30 AWKS= median.awk mean.awk
32 .include <bsd.prog.mk>