2015-09-09 13:06:05 +03:00
|
|
|
# $NetBSD: Makefile,v 1.16 2015/09/09 10:06:05 ozaki-r Exp $
|
1999-07-01 23:59:59 +04:00
|
|
|
|
2015-08-06 17:45:54 +03:00
|
|
|
.include <bsd.own.mk>
|
1999-07-01 23:59:59 +04:00
|
|
|
|
2015-08-06 17:45:54 +03:00
|
|
|
USE_FORT?= yes # setuid
|
|
|
|
RUMPPRG= ping6
|
|
|
|
MAN= ping6.8
|
1999-07-01 23:59:59 +04:00
|
|
|
|
2015-08-06 17:45:54 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE= 4555
|
1999-07-02 04:04:53 +04:00
|
|
|
|
2015-08-06 17:45:54 +03:00
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
CPPFLAGS+= -DIPSEC
|
|
|
|
|
|
|
|
LDADD+= -lipsec -lm
|
|
|
|
DPADD+= ${LIBIPSEC} ${LIBM}
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../lib/libc/net
|
2015-09-09 13:06:05 +03:00
|
|
|
RUMPSRCS= getaddrinfo.c getifaddrs.c getnameinfo.c
|
|
|
|
RUMPSRCS+= if_indextoname.c if_nametoindex.c
|
2015-08-06 17:45:54 +03:00
|
|
|
.if (${MKRUMP} != "no")
|
|
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
|
|
.endif
|
1999-07-01 23:59:59 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|