summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2013-03-28 16:43:09 +0000
committerEric Faurot <eric@cvs.openbsd.org>2013-03-28 16:43:09 +0000
commit811f86757c475318d1797df83c9d2ec239db219c (patch)
tree8914b77d5729dd9cfcbe02062428e62a8a720262 /distrib
parentf737a23a411a62cc303d20bed0e61ceba2366a13 (diff)
switch to the new resolver implementation.
requested by many.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/special/libstubs/Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/distrib/special/libstubs/Makefile b/distrib/special/libstubs/Makefile
index 32f594ff6d2..979ce6a9d0c 100644
--- a/distrib/special/libstubs/Makefile
+++ b/distrib/special/libstubs/Makefile
@@ -1,10 +1,31 @@
-# $OpenBSD: Makefile,v 1.9 2012/01/18 14:01:38 stsp Exp $
+# $OpenBSD: Makefile,v 1.10 2013/03/28 16:43:08 eric Exp $
.include <bsd.own.mk>
LIB= stubs
SRCS= db.c setlocale.c sha1.c sha2.c getgrent.c getpwent.c \
- ethers.c getaddrinfo.c gethostnamadr.c getnetnamadr.c \
+ ethers.c \
mbrtowc_sb.c sscanf.c vfprintf.c vfscanf.c
+SRCS+= asr.c \
+ asr_utils.c \
+ getaddrinfo.c \
+ getaddrinfo_async.c \
+ gethostnamadr.c \
+ gethostnamadr_async.c \
+ getnameinfo.c \
+ getnameinfo_async.c \
+ getnetnamadr.c \
+ getnetnamadr_async.c \
+ getrrsetbyname.c \
+ getrrsetbyname_async.c \
+ res_debug.c \
+ res_init.c \
+ res_mkquery.c \
+ res_query.c \
+ res_search_async.c \
+ res_send.c \
+ res_send_async.c \
+ sethostent.c
+
NOPIC= Yes
NOPROFILE=Yes
NOMAN= 1
@@ -12,11 +33,13 @@ NOMAN= 1
CFLAGS+=-D__DBINTERFACE_PRIVATE -DSHA256_ONLY -UYP -I${LIBCSRCDIR}/include \
-DNO_LOG_BAD_DNS_RESPONSES -I${LIBCSRCDIR}/locale \
-I${LIBCSRCDIR}/stdio -DFLOATING_POINT
+CFLAGS+=-I${LIBCSRCDIR}/asr -DASRNODEBUG
LIBCSRCDIR=${.CURDIR}/../../../lib/libc
.PATH: ${.CURDIR}/../../../lib/libc/hash
.PATH: ${.CURDIR}/../../../lib/libc/gen
+.PATH: ${.CURDIR}/../../../lib/libc/asr
.PATH: ${.CURDIR}/../../../lib/libc/net
.PATH: ${.CURDIR}/../../../lib/libc/stdio