80 lines · plain
1if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_ARCHITECTURE})2 return()3endif()4 5add_subdirectory(${LIBC_TARGET_ARCHITECTURE})6 7add_object_library(8 linux_util9 SRCS10 exit.cpp11 fcntl.cpp12 HDRS13 io.h14 syscall.h15 DEPENDS16 .${LIBC_TARGET_ARCHITECTURE}.linux_${LIBC_TARGET_ARCHITECTURE}_util17 libc.src.__support.common18 libc.src.__support.CPP.string_view19 libc.hdr.fcntl_macros20 libc.hdr.types.struct_flock21 libc.hdr.types.struct_flock6422 libc.hdr.types.struct_f_owner_ex23 libc.hdr.types.off_t24 libc.include.sys_syscall25)26 27add_header_library(28 auxv29 HDRS30 auxv.h31 DEPENDS32 libc.hdr.fcntl_macros33 libc.src.__support.OSUtil.osutil34 libc.src.__support.common35 libc.src.__support.CPP.optional36 libc.src.__support.threads.callonce37)38 39add_header_library(40 getrandom41 HDRS42 getrandom.h43 DEPENDS44 libc.src.__support.OSUtil.osutil45 libc.src.__support.common46 libc.src.__support.error_or47 libc.src.__support.macros.config48 libc.hdr.types.ssize_t49 libc.include.sys_syscall50)51 52add_header_library(53 vdso_sym54 HDRS55 vdso_sym.h56 DEPENDS57 libc.src.__support.common58)59 60add_object_library(61 vdso62 HDRS63 vdso.h64 SRCS65 vdso.cpp66 DEPENDS67 .${LIBC_TARGET_ARCHITECTURE}.vdso68 libc.src.__support.CPP.array69 libc.src.__support.CPP.optional70 libc.src.__support.CPP.string_view71 libc.src.__support.threads.callonce72 libc.src.__support.threads.linux.futex_word_type73 libc.src.__support.OSUtil.linux.auxv74 libc.hdr.types.struct_timeval75 libc.hdr.types.struct_timespec76 libc.hdr.types.clockid_t77 libc.hdr.types.time_t78 libc.hdr.link_macros79)80