diff options
| author | John Birrell <jb@FreeBSD.org> | 1997-05-03 03:50:06 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1997-05-03 03:50:06 +0000 |
| commit | 870039320ffbf6d3defd48faa288bb650ca2a1cb (patch) | |
| tree | edfa5ba030406429c7a12970ea64bcf2ea32a909 /lib/libc/string | |
| parent | 85351f7d5aac0bff601c4dc0a6aa7f035685a306 (diff) | |
Notes
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/Makefile.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc index c88832cf5be2..e95d87d38dbb 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.9 1997/02/22 15:03:21 peter 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 |
