1#
2# SPDX-License-Identifier: BSD-3-Clause
3#
4# Copyright © 2022 Keith Packard
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9#
10# 1. Redistributions of source code must retain the above copyright
11#    notice, this list of conditions and the following disclaimer.
12#
13# 2. Redistributions in binary form must reproduce the above
14#    copyright notice, this list of conditions and the following
15#    disclaimer in the documentation and/or other materials provided
16#    with the distribution.
17#
18# 3. Neither the name of the copyright holder nor the names of its
19#    contributors may be used to endorse or promote products derived
20#    from this software without specific prior written permission.
21#
22# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
33# OF THE POSSIBILITY OF SUCH DAMAGE.
34#
35picolibc_sources(
36  bcmp.c
37  bcopy.c
38  bzero.c
39  explicit_bzero.c
40  ffsl.c
41  ffsll.c
42  fls.c
43  flsl.c
44  flsll.c
45  gnu_basename.c
46  index.c
47  memccpy.c
48  memchr.c
49  memcmp.c
50  memcpy.c
51  memmem.c
52  memmove.c
53  mempcpy.c
54  memrchr.c
55  memset.c
56  rawmemchr.c
57  rindex.c
58  stpcpy.c
59  stpncpy.c
60  strcasecmp.c
61  strcasecmp_l.c
62  strcasestr.c
63  strcat.c
64  strchr.c
65  strchrnul.c
66  strcoll.c
67  strcoll_l.c
68  strcmp.c
69  strcpy.c
70  strcspn.c
71  strdup.c
72  strerror.c
73  strerror_r.c
74  strlcat.c
75  strlcpy.c
76  strlen.c
77  strlwr.c
78  strncasecmp.c
79  strncasecmp_l.c
80  strncat.c
81  strncmp.c
82  strncpy.c
83  strndup.c
84  strnlen.c
85  strnstr.c
86  strpbrk.c
87  strrchr.c
88  strsep.c
89  strsignal.c
90  strspn.c
91  strstr.c
92  strtok.c
93  strtok_r.c
94  strupr.c
95  strverscmp.c
96  strxfrm.c
97  strxfrm_l.c
98  swab.c
99  timingsafe_bcmp.c
100  timingsafe_memcmp.c
101  wcpcpy.c
102  wcpncpy.c
103  wcscasecmp.c
104  wcscasecmp_l.c
105  wcscat.c
106  wcschr.c
107  wcscmp.c
108  wcscoll.c
109  wcscoll_l.c
110  wcscpy.c
111  wcscspn.c
112  wcsdup.c
113  wcslcat.c
114  wcslcpy.c
115  wcslen.c
116  wcsncasecmp.c
117  wcsncasecmp_l.c
118  wcsncat.c
119  wcsncmp.c
120  wcsncpy.c
121  wcsnlen.c
122  wcspbrk.c
123  wcsrchr.c
124  wcsspn.c
125  wcsstr.c
126  wcstok.c
127  wcswidth.c
128  wcsxfrm.c
129  wcsxfrm_l.c
130  wcwidth.c
131  wmemchr.c
132  wmemcmp.c
133  wmemcpy.c
134  wmemmove.c
135  wmempcpy.c
136  wmemset.c
137  xpg_strerror_r.c
138  memcpy_s.c
139  memmove_s.c
140  memset_s.c
141  strcat_s.c
142  strcpy_s.c
143  strerror_s.c
144  strerrorlen_s.c
145  strncat_s.c
146  strncpy_s.c
147  strnlen_s.c
148  )
149