blob: 6ea04597063cbdf13b6c4354e15a8ab6f26f12ee [file] [log] [blame] [edit]
add_entrypoint_object(
timespec_get
SRCS
timespec_get.cpp
HDRS
../timespec_get.h
DEPENDS
libc.hdr.time_macros
libc.hdr.types.struct_timespec
libc.src.__support.time.clock_gettime
libc.src.errno.errno
)
add_entrypoint_object(
clock
SRCS
clock.cpp
HDRS
../clock.h
DEPENDS
libc.hdr.time_macros
libc.hdr.types.clock_t
libc.src.__support.time.units
libc.src.__support.time.clock_gettime
libc.src.__support.CPP.limits
libc.src.errno.errno
)
add_entrypoint_object(
nanosleep
SRCS
nanosleep.cpp
HDRS
../nanosleep.h
DEPENDS
libc.hdr.types.struct_timespec
libc.hdr.stdint_proxy
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
libc.src.__support.CPP.limits
libc.src.errno.errno
)
add_entrypoint_object(
clock_gettime
SRCS
clock_gettime.cpp
HDRS
../clock_gettime.h
DEPENDS
libc.hdr.types.clockid_t
libc.hdr.types.struct_timespec
libc.src.__support.time.clock_gettime
libc.src.errno.errno
)
add_entrypoint_object(
clock_settime
SRCS
clock_settime.cpp
HDRS
../clock_settime.h
DEPENDS
libc.hdr.types.clockid_t
libc.hdr.types.struct_timespec
libc.src.__support.time.clock_settime
libc.src.errno.errno
)
add_entrypoint_object(
gettimeofday
SRCS
gettimeofday.cpp
HDRS
../gettimeofday.h
DEPENDS
libc.hdr.time_macros
libc.hdr.types.suseconds_t
libc.src.__support.time.clock_gettime
libc.src.__support.time.units
libc.src.errno.errno
)