1 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
2 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
9 .${LIBC_TARGET_OS}.access
12 add_entrypoint_object(
16 .${LIBC_TARGET_OS}.chdir
19 add_entrypoint_object(
23 .${LIBC_TARGET_OS}.close
26 add_entrypoint_object(
30 .${LIBC_TARGET_OS}.dup
33 add_entrypoint_object(
37 .${LIBC_TARGET_OS}.dup2
40 add_entrypoint_object(
44 .${LIBC_TARGET_OS}.dup3
47 add_entrypoint_object(
51 .${LIBC_TARGET_OS}.fchdir
54 add_entrypoint_object(
58 .${LIBC_TARGET_OS}.fork
61 add_entrypoint_object(
65 .${LIBC_TARGET_OS}.execv
68 add_entrypoint_object(
72 .${LIBC_TARGET_OS}.execve
75 add_entrypoint_object(
79 .${LIBC_TARGET_OS}.fsync
82 add_entrypoint_object(
86 .${LIBC_TARGET_OS}.ftruncate
89 add_entrypoint_object(
93 .${LIBC_TARGET_OS}.getcwd
96 add_entrypoint_object(
100 .${LIBC_TARGET_OS}.getpid
103 add_entrypoint_object(
107 .${LIBC_TARGET_OS}.getppid
110 add_entrypoint_object(
114 .${LIBC_TARGET_OS}.geteuid
117 add_entrypoint_object(
121 .${LIBC_TARGET_OS}.getuid
124 add_entrypoint_object(
128 .${LIBC_TARGET_OS}.isatty
131 add_entrypoint_object(
135 .${LIBC_TARGET_OS}.link
138 add_entrypoint_object(
142 .${LIBC_TARGET_OS}.linkat
145 add_entrypoint_object(
149 .${LIBC_TARGET_OS}.lseek
152 add_entrypoint_object(
156 .${LIBC_TARGET_OS}.pread
159 add_entrypoint_object(
163 .${LIBC_TARGET_OS}.pwrite
166 add_entrypoint_object(
170 .${LIBC_TARGET_OS}.read
173 add_entrypoint_object(
177 .${LIBC_TARGET_OS}.readlink
180 add_entrypoint_object(
184 .${LIBC_TARGET_OS}.readlinkat
187 add_entrypoint_object(
191 .${LIBC_TARGET_OS}.rmdir
194 add_entrypoint_object(
198 .${LIBC_TARGET_OS}.symlink
201 add_entrypoint_object(
205 .${LIBC_TARGET_OS}.symlinkat
208 add_entrypoint_object(
212 .${LIBC_TARGET_OS}.__llvm_libc_syscall
215 add_entrypoint_object(
219 .${LIBC_TARGET_OS}.sysconf
222 add_entrypoint_object(
226 .${LIBC_TARGET_OS}.truncate
229 add_entrypoint_object(
233 .${LIBC_TARGET_OS}.unlink
236 add_entrypoint_object(
240 .${LIBC_TARGET_OS}.unlinkat
243 add_entrypoint_object(
247 .${LIBC_TARGET_OS}.write
250 add_entrypoint_object(
258 add_entrypoint_object(
266 libc.src.__support.CPP.optional
267 libc.src.__support.CPP.string_view
268 libc.src.__support.File.file
269 libc.src.stdio.fprintf
272 add_entrypoint_object(
280 libc.src.__support.CPP.optional
283 # These aren't actual external per-se, but this is just an easy way to create
284 # targets that don't do anything. They exist to be referenced in entrypoints.txt
285 # so that the header will properly expose their definitions. Their declaration
287 add_entrypoint_external(
291 add_entrypoint_external(
295 add_entrypoint_external(
299 add_entrypoint_external(