]>
Commit | Line | Data |
---|---|---|
5b2abdfb | 1 | # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 |
9385eb3d | 2 | # $FreeBSD: src/lib/libc/string/Makefile.inc,v 1.32 2002/11/18 09:50:56 ru Exp $ |
5b2abdfb | 3 | |
59e0d9fe A |
4 | # machine-dependent string sources |
5 | .if exists(${.CURDIR}/${MACHINE_ARCH}/string/Makefile.inc) | |
6 | .include "${.CURDIR}/${MACHINE_ARCH}/string/Makefile.inc" | |
7 | .endif | |
8 | ||
9 | .PATH: ${.CURDIR}/string | |
5b2abdfb A |
10 | |
11 | CFLAGS+= -I${.CURDIR}/locale | |
12 | ||
9385eb3d | 13 | .include "Makefile.fbsd_begin" |
5b2abdfb | 14 | # machine-independent string sources |
59e0d9fe A |
15 | FBSDMISRCS+=bcmp.c ffs.c index.c memccpy.c memchr.c memcmp.c \ |
16 | memset.c rindex.c stpcpy.c strcasecmp.c strcat.c \ | |
17 | strchr.c strcoll.c strcpy.c strcspn.c strdup.c strerror.c \ | |
9385eb3d A |
18 | strlcat.c strlcpy.c strlen.c strmode.c strncat.c strncmp.c strncpy.c \ |
19 | strcasestr.c strnstr.c \ | |
20 | strpbrk.c strrchr.c strsep.c strsignal.c strspn.c strstr.c strtok.c \ | |
21 | strxfrm.c swab.c wcscat.c wcschr.c wcscmp.c wcscoll.c wcscpy.c \ | |
22 | wcscspn.c \ | |
23 | wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c \ | |
24 | wcsrchr.c wcsspn.c wcsstr.c wcstok.c wcswidth.c wcsxfrm.c wmemchr.c \ | |
25 | wmemcmp.c \ | |
26 | wmemcpy.c wmemmove.c wmemset.c | |
27 | .include "Makefile.fbsd_end" | |
5b2abdfb | 28 | |
5b2abdfb | 29 | .if ${LIB} == "c" |
9385eb3d A |
30 | .include "Makefile.fbsd_begin" |
31 | FBSDMAN3= bcmp.3 bcopy.3 bstring.3 bzero.3 ffs.3 index.3 memccpy.3 memchr.3 \ | |
5b2abdfb A |
32 | memcmp.3 memcpy.3 memmove.3 memset.3 rindex.3 strcasecmp.3 strcat.3 \ |
33 | strchr.3 strcmp.3 strcoll.3 strcpy.3 strcspn.3 strdup.3 strerror.3 \ | |
34 | string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strrchr.3 strsep.3 \ | |
9385eb3d A |
35 | strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 wcscoll.3 wcstok.3 \ |
36 | wcswidth.3 wcsxfrm.3 wmemchr.3 | |
37 | .include "Makefile.fbsd_end" | |
5b2abdfb A |
38 | |
39 | MLINKS+=strcasecmp.3 strncasecmp.3 | |
3d9156a7 A |
40 | MLINKS+=strcasecmp.3 strcasecmp_l.3 |
41 | MLINKS+=strcasecmp.3 strncasecmp_l.3 | |
5b2abdfb A |
42 | MLINKS+=strcat.3 strncat.3 |
43 | MLINKS+=strcmp.3 strncmp.3 | |
3d9156a7 | 44 | MLINKS+=strcoll.3 strcoll_l.3 |
9385eb3d | 45 | MLINKS+=strcpy.3 stpcpy.3 |
5b2abdfb A |
46 | MLINKS+=strcpy.3 strncpy.3 |
47 | MLINKS+=strerror.3 perror.3 strerror.3 sys_errlist.3 strerror.3 sys_nerr.3 | |
9385eb3d | 48 | MLINKS+=strerror.3 strerror_r.3 |
5b2abdfb A |
49 | MLINKS+=strlcpy.3 strlcat.3 |
50 | MLINKS+=strtok.3 strtok_r.3 | |
51 | MLINKS+=strstr.3 strcasestr.3 | |
52 | MLINKS+=strstr.3 strnstr.3 | |
3d9156a7 A |
53 | MLINKS+=strstr.3 strcasestr_l.3 |
54 | MLINKS+=strxfrm.3 strxfrm_l.3 | |
55 | MLINKS+=wcscoll.3 wcscoll_l.3 | |
56 | MLINKS+=wcswidth.3 wcswidth_l.3 | |
57 | MLINKS+=wcsxfrm.3 wcsxfrm_l.3 | |
5b2abdfb A |
58 | MLINKS+=wmemchr.3 wmemcmp.3 wmemchr.3 wmemcpy.3 \ |
59 | wmemchr.3 wmemmove.3 wmemchr.3 wmemset.3 \ | |
60 | wmemchr.3 wcscat.3 wmemchr.3 wcschr.3 \ | |
61 | wmemchr.3 wcscmp.3 wmemchr.3 wcscpy.3 \ | |
62 | wmemchr.3 wcscspn.3 wmemchr.3 wcslcat.3 \ | |
63 | wmemchr.3 wcslcpy.3 wmemchr.3 wcslen.3 \ | |
64 | wmemchr.3 wcsncat.3 wmemchr.3 wcsncmp.3 \ | |
65 | wmemchr.3 wcsncpy.3 wmemchr.3 wcspbrk.3 \ | |
66 | wmemchr.3 wcsrchr.3 wmemchr.3 wcsspn.3 \ | |
67 | wmemchr.3 wcsstr.3 | |
68 | .endif |