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 creat 7 ALIAS 8 DEPENDS 9 .${LIBC_TARGET_OS}.creat 10) 11 12add_entrypoint_object( 13 fcntl 14 ALIAS 15 DEPENDS 16 .${LIBC_TARGET_OS}.fcntl 17) 18 19add_entrypoint_object( 20 open 21 ALIAS 22 DEPENDS 23 .${LIBC_TARGET_OS}.open 24) 25 26add_entrypoint_object( 27 openat 28 ALIAS 29 DEPENDS 30 .${LIBC_TARGET_OS}.openat 31) 32