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# 35add_subdirectory(sys) 36add_subdirectory(machine) 37add_subdirectory(ssp) 38add_subdirectory(rpc) 39add_subdirectory(arpa) 40 41picolibc_headers("" 42 alloca.h 43 _ansi.h 44 argz.h 45 ar.h 46 assert.h 47 byteswap.h 48 cpio.h 49 ctype.h 50 devctl.h 51 dirent.h 52 elf.h 53 endian.h 54 envlock.h 55 envz.h 56 errno.h 57 fastmath.h 58 fcntl.h 59 fenv.h 60 fnmatch.h 61 getopt.h 62 glob.h 63 grp.h 64 iconv.h 65 ieeefp.h 66 inttypes.h 67 langinfo.h 68 libgen.h 69 limits.h 70 locale.h 71 malloc.h 72 math.h 73 memory.h 74 newlib.h 75 paths.h 76 picotls.h 77 pwd.h 78 regdef.h 79 regex.h 80 sched.h 81 search.h 82 setjmp.h 83 signal.h 84 spawn.h 85 stdint.h 86 stdlib.h 87 string.h 88 strings.h 89 _syslist.h 90 tar.h 91 termios.h 92 threads.h 93 time.h 94 unctrl.h 95 unistd.h 96 utime.h 97 utmp.h 98 wchar.h 99 wctype.h 100 wordexp.h 101 ) 102 103if(${_HAVE_COMPLEX}) 104 picolibc_headers("" 105 complex.h 106 ) 107endif() 108