summaryrefslogtreecommitdiff
path: root/usr.sbin/named/dig
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-11-20 11:19:02 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-11-20 11:19:02 +0000
commitf547068f88348f54941dc06da46491f99701933e (patch)
tree8548a6b78719cba1de575b7f49e5f8ac4e6f1683 /usr.sbin/named/dig
parent394c7a9821726b84f284c0c4385b1a9198afa0b0 (diff)
Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
Diffstat (limited to 'usr.sbin/named/dig')
-rw-r--r--usr.sbin/named/dig/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/named/dig/Makefile b/usr.sbin/named/dig/Makefile
index 13307071f27..d26e517282a 100644
--- a/usr.sbin/named/dig/Makefile
+++ b/usr.sbin/named/dig/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1997/04/13 21:25:34 provos Exp $
+# $OpenBSD: Makefile,v 1.6 1998/11/20 11:19:01 d Exp $
# $NetBSD: Makefile,v 1.2 1996/03/31 13:55:34 mrg Exp $
# from: $Id: Makefile,v 8.1 1994/12/15 06:23:45 vixie Exp
@@ -10,6 +10,8 @@ PROG= dig
SRCS= dig.c list.c subr.c debug.c send.c base64.c gethostnamadr.c res_comp.c \
res_debug.c res_init.c res_mkquery.c res_query.c res_send.c \
res_random.c inet_ntop.c inet_pton.c
+INCLUDE+=-I${.CURDIR}/../../../lib/libc/include
+INCLUDE+=-I${.CURDIR}/..
CFLAGS+=${INCLUDE} ${CONFIG} -DDEBUG
.include <bsd.prog.mk>