diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-11-20 11:19:02 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-11-20 11:19:02 +0000 |
commit | f547068f88348f54941dc06da46491f99701933e (patch) | |
tree | 8548a6b78719cba1de575b7f49e5f8ac4e6f1683 /lib/libc/gen/Makefile.inc | |
parent | 394c7a9821726b84f284c0c4385b1a9198afa0b0 (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 'lib/libc/gen/Makefile.inc')
-rw-r--r-- | lib/libc/gen/Makefile.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc index da3a40534c5..3ca692f95a8 100644 --- a/lib/libc/gen/Makefile.inc +++ b/lib/libc/gen/Makefile.inc @@ -1,7 +1,7 @@ -# $OpenBSD: Makefile.inc,v 1.18 1998/08/29 21:11:21 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.19 1998/11/20 11:18:37 d Exp $ # gen sources -.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/gen ${.CURDIR}/gen +.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/gen ${LIBCSRCDIR}/gen SRCS+= alarm.c assert.c basename.c clock.c closedir.c confstr.c ctermid.c \ ctype_.c daemon.c devname.c dirname.c disklabel.c elf_hash.c err.c \ @@ -28,14 +28,14 @@ SRCS+= _err.c _errx.c _sys_errlist.c _sys_nerr.c _sys_siglist.c \ # _setjmp() fabs() frexp() infinity isinf() ldexp() modf() # setjmp() sigsetjmp() -.include "${.CURDIR}/arch/${MACHINE_ARCH}/gen/Makefile.inc" +.include "${LIBCSRCDIR}/arch/${MACHINE_ARCH}/gen/Makefile.inc" .ifdef _NOTDEF_XXX_ .if (${MACHINE} == "tahoe" ) errlst.o errlst.po: ${CC} -S ${CFLAGS} ${.IMPSRC} - ed - < ${.CURDIR}/${MACHINE}/:errfix errlst.s + ed - < ${LIBCSRCDIR}/${MACHINE}/:errfix errlst.s ${AS} -o ${.TARGET} errlst.s rm -f errlst.s .endif |