Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / string / Makefile.inc
bloba198aef00d07595c4510be39f7c123e3734e0f6c
1 libc_a_SOURCES += \
2         %D%/bcopy.c \
3         %D%/bzero.c \
4         %D%/explicit_bzero.c \
5         %D%/ffsl.c \
6         %D%/ffsll.c \
7         %D%/fls.c \
8         %D%/flsl.c \
9         %D%/flsll.c \
10         %D%/index.c \
11         %D%/memchr.c \
12         %D%/memcmp.c \
13         %D%/memcpy.c \
14         %D%/memmove.c \
15         %D%/memset.c \
16         %D%/rindex.c \
17         %D%/strcasecmp.c \
18         %D%/strcat.c \
19         %D%/strchr.c \
20         %D%/strcmp.c \
21         %D%/strcoll.c \
22         %D%/strcpy.c \
23         %D%/strcspn.c \
24         %D%/strdup.c \
25         %D%/strdup_r.c \
26         %D%/strerror.c \
27         %D%/strerror_r.c \
28         %D%/strlcat.c \
29         %D%/strlcpy.c \
30         %D%/strlen.c  \
31         %D%/strlwr.c \
32         %D%/strncasecmp.c \
33         %D%/strncat.c \
34         %D%/strncmp.c \
35         %D%/strncpy.c \
36         %D%/strnlen.c \
37         %D%/strnstr.c \
38         %D%/strpbrk.c \
39         %D%/strrchr.c \
40         %D%/strsep.c \
41         %D%/strsignal.c \
42         %D%/strspn.c \
43         %D%/strtok.c \
44         %D%/strtok_r.c \
45         %D%/strupr.c \
46         %D%/strxfrm.c  \
47         %D%/strstr.c \
48         %D%/swab.c \
49         %D%/timingsafe_bcmp.c \
50         %D%/timingsafe_memcmp.c \
51         %D%/u_strerr.c \
52         %D%/wcscat.c \
53         %D%/wcschr.c \
54         %D%/wcscmp.c \
55         %D%/wcscoll.c \
56         %D%/wcscpy.c \
57         %D%/wcscspn.c \
58         %D%/wcslcat.c \
59         %D%/wcslcpy.c \
60         %D%/wcslen.c \
61         %D%/wcsncat.c \
62         %D%/wcsncmp.c \
63         %D%/wcsncpy.c \
64         %D%/wcsnlen.c \
65         %D%/wcspbrk.c \
66         %D%/wcsrchr.c \
67         %D%/wcsspn.c \
68         %D%/wcsstr.c \
69         %D%/wcstok.c \
70         %D%/wcswidth.c \
71         %D%/wcsxfrm.c \
72         %D%/wcwidth.c \
73         %D%/wmemchr.c \
74         %D%/wmemcmp.c \
75         %D%/wmemcpy.c \
76         %D%/wmemmove.c \
77         %D%/wmemset.c \
78         %D%/xpg_strerror_r.c
80 %C%_ELIX_2_SOURCES =
81 if ELIX_LEVEL_1
82 else
83 %C%_ELIX_2_SOURCES += \
84         %D%/bcmp.c \
85         %D%/memccpy.c \
86         %D%/mempcpy.c \
87         %D%/stpcpy.c \
88         %D%/stpncpy.c \
89         %D%/strndup.c \
90         %D%/strcasestr.c \
91         %D%/strchrnul.c \
92         %D%/strndup_r.c \
93         %D%/wcpcpy.c \
94         %D%/wcpncpy.c \
95         %D%/wcsdup.c
96 endif !ELIX_LEVEL_1
98 %C%_ELIX_4_SOURCES =
99 if ELIX_LEVEL_1
100 else
101 if ELIX_LEVEL_2
102 else
103 if ELIX_LEVEL_3
104 else
105 %C%_ELIX_4_SOURCES += \
106         %D%/gnu_basename.c \
107         %D%/memmem.c \
108         %D%/memrchr.c \
109         %D%/rawmemchr.c \
110         %D%/strcasecmp_l.c \
111         %D%/strcoll_l.c \
112         %D%/strncasecmp_l.c \
113         %D%/strverscmp.c \
114         %D%/strxfrm_l.c \
115         %D%/wcscasecmp.c \
116         %D%/wcscasecmp_l.c \
117         %D%/wcscoll_l.c \
118         %D%/wcsncasecmp.c \
119         %D%/wcsncasecmp_l.c \
120         %D%/wcsxfrm_l.c \
121         %D%/wmempcpy.c
122 endif !ELIX_LEVEL_3
123 endif !ELIX_LEVEL_2
124 endif !ELIX_LEVEL_1
126 libc_a_SOURCES += $(%C%_ELIX_2_SOURCES) $(%C%_ELIX_4_SOURCES)
128 LIBC_CHEWOUT_FILES += \
129         %D%/bcmp.def    %D%/memcpy.def  %D%/strcmp.def  %D%/strncat.def %D%/strstr.def \
130         %D%/bcopy.def   %D%/memmove.def %D%/strcoll.def %D%/strncmp.def %D%/strtok.def \
131         %D%/bzero.def   %D%/memset.def  %D%/strcpy.def  %D%/strncpy.def %D%/strxfrm.def \
132         %D%/index.def   %D%/rindex.def  %D%/strcspn.def %D%/strpbrk.def %D%/swab.def \
133         %D%/memchr.def  %D%/strcat.def  %D%/strerror.def        %D%/strerror_r.def %D%/strrchr.def \
134         %D%/memcmp.def  %D%/strchr.def  %D%/strlen.def  %D%/strnlen.def %D%/strspn.def \
135         %D%/strcasecmp.def      %D%/strncasecmp.def %D%/strcasestr.def  %D%/strlwr.def  %D%/strupr.def \
136         %D%/memccpy.def         %D%/mempcpy.def %D%/stpcpy.def  %D%/stpncpy.def %D%/strsignal.def \
137         %D%/wcscasecmp.def      %D%/wcscat.def  %D%/wcschr.def  %D%/wcscmp.def %D%/wcscoll.def \
138         %D%/wcscpy.def  %D%/wcscspn.def %D%/wcpcpy.def  %D%/wcpncpy.def %D%/wcsdup.def \
139         %D%/wcslcat.def %D%/wcslcpy.def %D%/wcslen.def  %D%/wcsncasecmp.def %D%/wcsncat.def \
140         %D%/wcsncmp.def %D%/wcsncpy.def %D%/wcsnlen.def %D%/wcspbrk.def \
141         %D%/wcsrchr.def %D%/wcsspn.def  %D%/wcsstr.def  %D%/wcstok.def  \
142         %D%/wcswidth.def        %D%/wcsxfrm.def %D%/wcwidth.def %D%/wmemchr.def \
143         %D%/wmemcmp.def %D%/wmemcpy.def %D%/wmemmove.def        %D%/wmemset.def \
144         %D%/memmem.def  %D%/memrchr.def %D%/rawmemchr.def       %D%/strchrnul.def \
145         %D%/strcasecmp_l.def %D%/strcoll_l.def  %D%/strncasecmp_l.def %D%/strxfrm_l.def \
146         %D%/wcscasecmp_l.def %D%/wcscoll_l.def  %D%/wcsncasecmp_l.def %D%/wcsxfrm_l.def \
147         %D%/strverscmp.def      %D%/strnstr.def %D%/wmempcpy.def
149 LIBC_CHAPTERS += %D%/strings.tex %D%/wcstrings.tex