summaryrefslogtreecommitdiff
path: root/lib/librumpres/Makefile
blob: fedf1e37d0bf708ba7ee68403026f7ea09c03474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $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>