diff options
| author | perry <perry@NetBSD.org> | 2005-03-13 15:15:13 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 2005-03-13 15:15:13 +0000 |
| commit | ff41832f1c877f68eed7923ca906d855dd683f26 (patch) | |
| tree | ddfe19539f7e5d9aa93363c168e47a4231a61322 /lib/libc/string | |
| parent | 93c38984496189983015f66ec6ae261a36983e5d (diff) | |
add memmem
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/Makefile.inc | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc index f56646e7bb5..3fe415dbf29 100644 --- a/lib/libc/string/Makefile.inc +++ b/lib/libc/string/Makefile.inc @@ -1,5 +1,5 @@ # from: @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 -# $NetBSD: Makefile.inc,v 1.54 2004/07/03 08:27:25 junyoung Exp $ +# $NetBSD: Makefile.inc,v 1.55 2005/03/13 15:15:13 perry Exp $ # string sources .PATH: ${ARCHDIR}/string ${.CURDIR}/string @@ -25,7 +25,7 @@ SRCS+= _strlcat.c _strlcpy.c # strncat() strncmp() strncpy() strpbrk() strsep() # strspn() strstr() swav() # m-d Makefile.inc may include sources for: -# memcpy() memmove() strchr() strrchr() +# memcpy() memmem() memmove() strchr() strrchr() .include "${ARCHDIR}/string/Makefile.inc" @@ -38,6 +38,9 @@ SRCS+= memccpy.c .if empty(SRCS:Mmemcpy.S) SRCS+= memcpy.c .endif +.if empty(SRCS:Mmemmem.S) +SRCS+= memmove.c +.endif .if empty(SRCS:Mmemmove.S) SRCS+= memmove.c .endif @@ -48,12 +51,13 @@ SRCS+= strchr.c SRCS+= strrchr.c .endif -MAN+= bm.3 bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ - memcmp.3 memcpy.3 memmove.3 memset.3 rindex.3 strcasecmp.3 strcat.3 \ - strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \ - string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \ - strsignal.3 strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 \ - wcstok.3 wmemchr.3 +MAN+= bm.3 bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 \ + memccpy.3 memchr.3 memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 \ + rindex.3 strcasecmp.3 strcat.3 strchr.3 strcmp.3 strcoll.3 \ + strcpy.3 strcspn.3 strdup.3 strerror.3 string.3 strlcpy.3 \ + strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \ + strsignal.3 strspn.3 strstr.3 strtok.3 strxfrm.3 \ + swab.3 wcstok.3 wmemchr.3 MLINKS+=bm.3 bm_comp.3 bm.3 bm_exec.3 bm.3 bm_free.3 MLINKS+=strcasecmp.3 strncasecmp.3 |
