67 lines · plain
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 socket7 ALIAS8 DEPENDS9 .${LIBC_TARGET_OS}.socket10)11 12add_entrypoint_object(13 bind14 ALIAS15 DEPENDS16 .${LIBC_TARGET_OS}.bind17)18 19add_entrypoint_object(20 socketpair21 ALIAS22 DEPENDS23 .${LIBC_TARGET_OS}.socketpair24)25 26add_entrypoint_object(27 send28 ALIAS29 DEPENDS30 .${LIBC_TARGET_OS}.send31)32 33add_entrypoint_object(34 sendto35 ALIAS36 DEPENDS37 .${LIBC_TARGET_OS}.sendto38)39 40add_entrypoint_object(41 sendmsg42 ALIAS43 DEPENDS44 .${LIBC_TARGET_OS}.sendmsg45)46 47add_entrypoint_object(48 recv49 ALIAS50 DEPENDS51 .${LIBC_TARGET_OS}.recv52)53 54add_entrypoint_object(55 recvfrom56 ALIAS57 DEPENDS58 .${LIBC_TARGET_OS}.recvfrom59)60 61add_entrypoint_object(62 recvmsg63 ALIAS64 DEPENDS65 .${LIBC_TARGET_OS}.recvmsg66)67