1 1.1 christos # $NetBSD: Makefile,v 1.1 2017/10/10 19:28:33 christos Exp $ 2 1.1 christos 3 1.1 christos USE_FORT?= yes 4 1.1 christos USE_SHLIBDIR= yes 5 1.1 christos 6 1.1 christos .include <bsd.own.mk> 7 1.1 christos 8 1.1 christos LIB= rumpres 9 1.1 christos 10 1.1 christos SHLIB_MAJOR=0 11 1.1 christos SHLIB_MINOR=0 12 1.1 christos 13 1.1 christos LIBDPLIBS+= rumpclient ${.CURDIR}/../librumpclient 14 1.1 christos 15 1.1 christos .if ${USE_INET6} != "no" 16 1.1 christos CPPFLAGS+= -DINET6 17 1.1 christos .endif 18 1.1 christos 19 1.1 christos .PATH: ${.CURDIR}/../libc/net 20 1.1 christos SRCS= getaddrinfo.c getifaddrs.c getnameinfo.c 21 1.1 christos SRCS+= if_indextoname.c if_nametoindex.c 22 1.1 christos #SRCS+= gethnamaddr.c sethostent.c 23 1.1 christos CPPFLAGS+= -DRUMP_ACTION 24 1.1 christos 25 1.1 christos .include <bsd.lib.mk> 26