3 # GNU Mes --- Maxwell Equations of Software
4 # Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6 # This file is part of GNU Mes.
8 # GNU Mes is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # GNU Mes is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
37 if test $mes_libc = mes; then
38 libc_mini_SOURCES="$libc_mini_SOURCES
43 lib/$mes_kernel/$mes_cpu-mes-$compiler/mini.c
66 if test $mes_libc = mes; then
67 libmes_SOURCES="$libmes_SOURCES
74 libmes_SOURCES="$libmes_SOURCES
80 lib/mes/__assert_fail.c
110 if test $mes_kernel = linux; then
111 libc_SOURCES="$libc_SOURCES
115 lib/linux/clock_gettime.c
122 lib/linux/gettimeofday.c
129 lib/linux/$mes_cpu-mes-$compiler/syscall.c
143 lib/mes/search-path.c
162 lib/stdio/vsnprintf.c
172 lib/stdlib/strtoull.c
186 lib/stub/sigemptyset.c
188 lib/$mes_cpu-mes-$compiler/setjmp.c
191 if test $mes_kernel = linux; then
192 libc_tcc_SOURCES="$libc_tcc_SOURCES
208 lib/dirent/__getdirentries.c
209 lib/dirent/closedir.c
233 lib/stdlib/mbstowcs.c
241 lib/string/strerror.c
250 lib/stub/freadahead.c
265 lib/stub/sigsetmask.c
267 lib/stub/sys_siglist.c
275 if test $mes_kernel = linux; then
276 libc_gnu_SOURCES="$libc_gnu_SOURCES
286 lib/linux/getrusage.c
292 lib/linux/nanosleep.c
299 lib/linux/sigprogmask.c