1add_entrypoint_object( 2 timespec_get 3 SRCS 4 timespec_get.cpp 5 HDRS 6 ../timespec_get.h 7 DEPENDS 8 libc.hdr.time_macros 9 libc.hdr.types.struct_timespec 10 libc.src.__support.time.clock_gettime 11 libc.src.errno.errno 12) 13 14add_entrypoint_object( 15 clock 16 SRCS 17 clock.cpp 18 HDRS 19 ../clock.h 20 DEPENDS 21 libc.hdr.time_macros 22 libc.hdr.types.clock_t 23 libc.src.__support.time.units 24 libc.src.__support.time.clock_gettime 25 libc.src.__support.CPP.limits 26 libc.src.errno.errno 27) 28 29add_entrypoint_object( 30 nanosleep 31 SRCS 32 nanosleep.cpp 33 HDRS 34 ../nanosleep.h 35 DEPENDS 36 libc.hdr.types.struct_timespec 37 libc.include.sys_syscall 38 libc.src.__support.OSUtil.osutil 39 libc.src.__support.CPP.limits 40 libc.src.errno.errno 41) 42 43add_entrypoint_object( 44 clock_gettime 45 SRCS 46 clock_gettime.cpp 47 HDRS 48 ../clock_gettime.h 49 DEPENDS 50 libc.hdr.types.clockid_t 51 libc.hdr.types.struct_timespec 52 libc.src.__support.time.clock_gettime 53 libc.src.errno.errno 54) 55 56add_entrypoint_object( 57 gettimeofday 58 SRCS 59 gettimeofday.cpp 60 HDRS 61 ../gettimeofday.h 62 DEPENDS 63 libc.hdr.time_macros 64 libc.hdr.types.suseconds_t 65 libc.src.__support.time.clock_gettime 66 libc.src.__support.time.units 67 libc.src.errno.errno 68) 69