From df8754fbcf481cf116429b354bc7a24c47c7a4c1 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Tue, 24 Jun 1997 03:51:39 +0000 Subject: YAMFC part III Submitted by: john Birrell (a long time ago) probably a bit more to do as well Part of the pthreads upgrade (from not really working to mostly working) :) --- lib/libc/string/Makefile.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/libc/string') diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc index 315c8991c5f9..958a8e43c848 100644 --- a/lib/libc/string/Makefile.inc +++ b/lib/libc/string/Makefile.inc @@ -1,15 +1,15 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $Id: $ +# $Id: Makefile.inc,v 1.10 1997/05/03 03:50:05 jb Exp $ -.PATH: ${.CURDIR}/${MACHINE}/string ${.CURDIR}/string +.PATH: ${.CURDIR}/../libc/${MACHINE}/string ${.CURDIR}/../libc/string -CFLAGS += -I${.CURDIR}/locale +CFLAGS += -I${.CURDIR}/../libc/locale # machine-independent string sources SRCS+= memccpy.c strcasecmp.c strcoll.c strdup.c strerror.c \ strmode.c strtok.c strxfrm.c # machine-dependent string sources -.include "${.CURDIR}/${MACHINE}/string/Makefile.inc" +.include "${.CURDIR}/../libc/${MACHINE}/string/Makefile.inc" # If no machine specific bzero(3), build one out of memset(3). .if empty(SRCS:Mbzero.S) @@ -81,6 +81,8 @@ strrchr.po: rindex.c @mv -f a.out ${.TARGET} .endif # +# Only build man pages with libc. +.if ${LIB} == "c" MAN3+= string/bcmp.3 string/bcopy.3 string/bstring.3 string/bzero.3 \ string/ffs.3 string/index.3 string/memccpy.3 string/memchr.3 \ string/memcmp.3 string/memcpy.3 string/memmove.3 string/memset.3 \ @@ -96,3 +98,4 @@ MLINKS+=strcat.3 strncat.3 MLINKS+=strcmp.3 strncmp.3 MLINKS+=strcpy.3 strncpy.3 MLINKS+=strerror.3 perror.3 strerror.3 sys_errlist.3 strerror.3 sys_nerr.3 +.endif -- cgit v1.3