NetBSD/usr.sbin/ndp/Makefile

25 lines
503 B
Makefile

# $NetBSD: Makefile,v 1.12 2015/12/14 06:17:05 ozaki-r Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network client
TCPDUMP= ${NETBSDSRCDIR}/external/bsd/tcpdump/dist
.PATH: ${TCPDUMP}
RUMPPRG= ndp
SRCS= ndp.c gmt2local.c
MAN= ndp.8
CPPFLAGS+= -DINET6
CPPFLAGS+= -I. -I${TCPDUMP}
.PATH: ${.CURDIR}/../../lib/libc/net
RUMPSRCS= getaddrinfo.c getifaddrs.c getnameinfo.c
RUMPSRCS+= if_indextoname.c if_nametoindex.c
.if (${MKRUMP} != "no")
CPPFLAGS+= -DRUMP_ACTION
.endif
.include <bsd.prog.mk>