1# from: @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 2# $NetBSD: Makefile.inc,v 1.52 2002/04/17 16:23:09 kleink Exp $ 3 4# string sources 5.PATH: ${ARCHDIR}/string ${.CURDIR}/string 6 7SRCS+= bm.c strcasecmp.c strcoll.c strdup.c strerror.c strlcat.c strlcpy.c \ 8 strmode.c strsignal.c strtok.c strtok_r.c strxfrm.c \ 9 __strerror.c __strsignal.c 10 11# wide char 12SRCS+= wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c \ 13 wcslen.c wcsncat.c \ 14 wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wcswidth.c \ 15 wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c 16 17# namespace protection wrappers 18SRCS+= _strlcat.c _strlcpy.c 19 20# machine-dependent net sources 21# m-d Makefile.inc must include sources for: 22# bcmp() bcopy() bzero() ffs() index() memchr() memcmp() memset() 23# rindex() strcat() strcmp() strcpy() strcspn() strlen() 24# strncat() strncmp() strncpy() strpbrk() strsep() 25# strspn() strstr() swav() 26# m-d Makefile.inc may include sources for: 27# memcpy() memmove() strchr() strrchr() 28 29.include "${ARCHDIR}/string/Makefile.inc" 30 31# if no m-d versions of memccpy(), memcpy(), memmove(), strchr(), or strrchr() 32# then use the machine independent versions. 33# 34.if empty(SRCS:Mmemccpy.S) 35SRCS+= memccpy.c 36.endif 37.if empty(SRCS:Mmemcpy.S) 38SRCS+= memcpy.c 39.endif 40.if empty(SRCS:Mmemmove.S) 41SRCS+= memmove.c 42.endif 43.if empty(SRCS:Mstrchr.S) 44SRCS+= strchr.c 45.endif 46.if empty(SRCS:Mstrrchr.S) 47SRCS+= strrchr.c 48.endif 49 50MAN+= bm.3 bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ 51 memcmp.3 memcpy.3 memmove.3 memset.3 rindex.3 strcasecmp.3 strcat.3 \ 52 strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \ 53 string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \ 54 strsignal.3 strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 \ 55 wmemchr.3 56 57MLINKS+=bm.3 bm_comp.3 bm.3 bm_exec.3 bm.3 bm_free.3 58MLINKS+=strcasecmp.3 strncasecmp.3 59MLINKS+=strcat.3 strncat.3 60MLINKS+=strcmp.3 strncmp.3 61MLINKS+=strcpy.3 strncpy.3 62MLINKS+=strlcpy.3 strlcat.3 63MLINKS+=strtok.3 strtok_r.3 64MLINKS+=wmemchr.3 wmemcmp.3 wmemchr.3 wmemcpy.3 \ 65 wmemchr.3 wmemmove.3 wmemchr.3 wmemset.3 \ 66 wmemchr.3 wcscat.3 wmemchr.3 wcschr.3 \ 67 wmemchr.3 wcscmp.3 wmemchr.3 wcscpy.3 \ 68 wmemchr.3 wcscspn.3 wmemchr.3 wcslcat.3 \ 69 wmemchr.3 wcslcpy.3 wmemchr.3 wcslen.3 \ 70 wmemchr.3 wcsncat.3 wmemchr.3 wcsncmp.3 \ 71 wmemchr.3 wcsncpy.3 wmemchr.3 wcspbrk.3 \ 72 wmemchr.3 wcsrchr.3 wmemchr.3 wcsspn.3 \ 73 wmemchr.3 wcsstr.3 74