1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 2 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS}) 3endif() 4 5add_entrypoint_object( 6 _Exit 7 ALIAS 8 DEPENDS 9 .${LIBC_TARGET_OS}._Exit 10) 11 12add_entrypoint_object( 13 abort 14 SRCS 15 abort.cpp 16 HDRS 17 abort.h 18 DEPENDS 19 libc.include.stdlib 20 libc.src.signal.raise 21 ._Exit 22) 23 24add_entrypoint_object( 25 abs 26 SRCS 27 abs.cpp 28 HDRS 29 abs.h 30 DEPENDS 31 libc.src.__support.integer_operations 32) 33 34add_entrypoint_object( 35 atoi 36 SRCS 37 atoi.cpp 38 HDRS 39 atoi.h 40 DEPENDS 41 libc.src.__support.str_conv_utils 42) 43 44add_entrypoint_object( 45 atol 46 SRCS 47 atol.cpp 48 HDRS 49 atol.h 50 DEPENDS 51 libc.src.__support.str_conv_utils 52) 53 54add_entrypoint_object( 55 atoll 56 SRCS 57 atoll.cpp 58 HDRS 59 atoll.h 60 DEPENDS 61 libc.src.__support.str_conv_utils 62) 63 64add_entrypoint_object( 65 labs 66 SRCS 67 labs.cpp 68 HDRS 69 labs.h 70 DEPENDS 71 libc.src.__support.integer_operations 72) 73 74add_entrypoint_object( 75 llabs 76 SRCS 77 llabs.cpp 78 HDRS 79 llabs.h 80 DEPENDS 81 libc.src.__support.integer_operations 82) 83 84add_entrypoint_object( 85 strtol 86 SRCS 87 strtol.cpp 88 HDRS 89 strtol.h 90 DEPENDS 91 libc.src.__support.str_conv_utils 92) 93 94add_entrypoint_object( 95 strtoll 96 SRCS 97 strtoll.cpp 98 HDRS 99 strtoll.h 100 DEPENDS 101 libc.src.__support.str_conv_utils 102) 103 104add_entrypoint_object( 105 strtoul 106 SRCS 107 strtoul.cpp 108 HDRS 109 strtoul.h 110 DEPENDS 111 libc.src.__support.str_conv_utils 112) 113 114add_entrypoint_object( 115 strtoull 116 SRCS 117 strtoull.cpp 118 HDRS 119 strtoull.h 120 DEPENDS 121 libc.src.__support.str_conv_utils 122) 123