use librumpres
This commit is contained in:
parent
030580eaff
commit
e68fbebd32
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.44 2016/12/23 10:19:57 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.45 2017/10/10 19:31:10 christos Exp $
|
||||
# from: @(#)Makefile 8.1 (Berkeley) 6/12/93
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -17,12 +17,16 @@ CPPFLAGS+= -DIPSEC -I${.CURDIR}
|
|||
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
|
||||
CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/route
|
||||
|
||||
.PATH: ${.CURDIR}/../../lib/libc/gen
|
||||
.PATH: ${.CURDIR}/../../lib/libc/net
|
||||
.PATH: ${.CURDIR}/../../sbin/route
|
||||
CPPFLAGS+= -DRUMP_ACTION
|
||||
|
||||
.if (${MKRUMP} != "no")
|
||||
.PATH: ${.CURDIR}/../../lib/libc/gen
|
||||
RUMPSRCS+= sysctlbyname.c sysctlgetmibinfo.c sysctlnametomib.c
|
||||
RUMPSRCS+= if_indextoname.c getifaddrs.c getnameinfo.c
|
||||
LDADD.rump+= -lrumpres
|
||||
DPADD.add+= ${LIBRUMPRES}
|
||||
CPPFLAGS+= -DRUMP_ACTION
|
||||
.endif
|
||||
|
||||
|
||||
.if (${USE_INET6} != "no")
|
||||
CPPFLAGS+= -DINET6
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2015/07/29 06:07:35 ozaki-r Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2017/10/10 19:30:41 christos Exp $
|
||||
# from: @(#)Makefile 8.2 (Berkeley) 4/18/94
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
@ -6,10 +6,10 @@
|
|||
RUMPPRG= arp
|
||||
MAN= arp.4 arp.8
|
||||
|
||||
.PATH: ${.CURDIR}/../../lib/libc/net
|
||||
RUMPSRCS= getifaddrs.c getnameinfo.c
|
||||
.if (${MKRUMP} != "no")
|
||||
CPPFLAGS+= -DRUMP_ACTION
|
||||
LDADD.rump+= -lrumpres
|
||||
DPADD.rump+= ${LIBRUMPRES}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2015/12/14 06:17:05 ozaki-r Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2017/10/10 19:30:41 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -14,11 +14,10 @@ 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
|
||||
LDADD.rump+= -lrumpres
|
||||
DPADD.rump+= ${LIBRUMPRES}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.20 2017/01/11 12:19:44 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2017/10/10 19:30:41 christos Exp $
|
||||
|
||||
WARNS?= 4
|
||||
|
||||
|
@ -19,10 +19,10 @@ FILESDIR= /usr/share/examples/rtadvd
|
|||
FILES= rtadvd.conf
|
||||
.endif
|
||||
|
||||
.PATH: ${.CURDIR}/../../lib/libc/net
|
||||
RUMPSRCS= getifaddrs.c getnameinfo.c if_indextoname.c if_nametoindex.c
|
||||
.if (${MKRUMP} != "no")
|
||||
CPPFLAGS+= -DRUMP_ACTION
|
||||
LDADD.rump+= -lrumpres
|
||||
DPADD.rump+= ${LIBRUMPRES}
|
||||
.endif
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-error=address-of-packed-member
|
||||
|
|
Loading…
Reference in New Issue