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 labs 36 SRCS 37 labs.cpp 38 HDRS 39 labs.h 40 DEPENDS 41 libc.src.__support.integer_operations 42) 43 44add_entrypoint_object( 45 llabs 46 SRCS 47 llabs.cpp 48 HDRS 49 llabs.h 50 DEPENDS 51 libc.src.__support.integer_operations 52) 53