29 lines
551 B
Makefile
29 lines
551 B
Makefile
# $NetBSD: Makefile,v 1.4 2023/06/03 09:09:10 lukem Exp $
|
|
|
|
USE_FORT?= yes
|
|
USE_SHLIBDIR= yes
|
|
NOFULLRELRO= yes
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= rumpres
|
|
|
|
SHLIB_MAJOR=0
|
|
SHLIB_MINOR=0
|
|
|
|
LIBDPLIBS+= rumpclient ${.CURDIR}/../librumpclient
|
|
|
|
.if ${USE_INET6} != "no"
|
|
CPPFLAGS+= -DINET6
|
|
.endif
|
|
|
|
.PATH: ${.CURDIR}/../libc/net
|
|
SRCS= getaddrinfo.c getifaddrs.c getnameinfo.c
|
|
SRCS+= if_indextoname.c if_nametoindex.c
|
|
#SRCS+= gethnamaddr.c sethostent.c
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
|
|
COPTS.getaddrinfo.c+= ${CC_WNO_STRINGOP_OVERFLOW}
|
|
|
|
.include <bsd.lib.mk>
|