blob: d67b0b33d179a8f437cb1cbc177a1649a80748db [file] [log] [blame]
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
endif()
add_entrypoint_object(
close
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.close
)
add_entrypoint_object(
fsync
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.fsync
)
add_entrypoint_object(
lseek
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.lseek
)
add_entrypoint_object(
read
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.read
)
add_entrypoint_object(
rmdir
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.rmdir
)
add_entrypoint_object(
unlink
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.unlink
)
add_entrypoint_object(
unlinkat
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.unlinkat
)
add_entrypoint_object(
write
ALIAS
DEPENDS
.${LIBC_TARGET_OS}.write
)