1add_entrypoint_object( 2 stdin 3 SRCS 4 stdin.cpp 5 HDRS 6 ../stdin.h 7 DEPENDS 8 libc.hdr.types.FILE 9) 10 11add_entrypoint_object( 12 stdout 13 SRCS 14 stdout.cpp 15 HDRS 16 ../stdout.h 17 DEPENDS 18 libc.hdr.types.FILE 19) 20 21add_entrypoint_object( 22 stderr 23 SRCS 24 stderr.cpp 25 HDRS 26 ../stderr.h 27 DEPENDS 28 libc.hdr.types.FILE 29) 30 31add_header_library( 32 gpu_file 33 HDRS 34 file.h 35 DEPENDS 36 libc.hdr.types.FILE 37 libc.hdr.stdio_macros 38 libc.src.__support.RPC.rpc_client 39 libc.src.__support.common 40 .stdin 41 .stdout 42 .stderr 43) 44 45add_header_library( 46 vfprintf_utils 47 HDRS 48 vfprintf_utils.h 49 DEPENDS 50 .gpu_file 51) 52 53add_entrypoint_object( 54 feof 55 SRCS 56 feof.cpp 57 HDRS 58 ../feof.h 59 DEPENDS 60 libc.hdr.types.FILE 61 libc.src.__support.RPC.rpc_client 62) 63 64add_entrypoint_object( 65 ferror 66 SRCS 67 ferror.cpp 68 HDRS 69 ../ferror.h 70 DEPENDS 71 libc.hdr.types.FILE 72 libc.src.__support.RPC.rpc_client 73) 74 75add_entrypoint_object( 76 fseek 77 SRCS 78 fseek.cpp 79 HDRS 80 ../fseek.h 81 DEPENDS 82 libc.hdr.types.FILE 83 .gpu_file 84) 85 86add_entrypoint_object( 87 ftell 88 SRCS 89 ftell.cpp 90 HDRS 91 ../ftell.h 92 DEPENDS 93 libc.hdr.types.FILE 94 .gpu_file 95) 96 97add_entrypoint_object( 98 fflush 99 SRCS 100 fflush.cpp 101 HDRS 102 ../fflush.h 103 DEPENDS 104 libc.hdr.types.FILE 105 .gpu_file 106) 107 108add_entrypoint_object( 109 clearerr 110 SRCS 111 clearerr.cpp 112 HDRS 113 ../clearerr.h 114 DEPENDS 115 libc.hdr.types.FILE 116 libc.src.__support.RPC.rpc_client 117) 118 119add_entrypoint_object( 120 fopen 121 SRCS 122 fopen.cpp 123 HDRS 124 ../fopen.h 125 DEPENDS 126 libc.hdr.types.FILE 127) 128 129add_entrypoint_object( 130 fclose 131 SRCS 132 fclose.cpp 133 HDRS 134 ../fclose.h 135 DEPENDS 136 libc.hdr.types.FILE 137) 138 139add_entrypoint_object( 140 fread 141 SRCS 142 fread.cpp 143 HDRS 144 ../fread.h 145 DEPENDS 146 libc.hdr.types.FILE 147) 148 149add_entrypoint_object( 150 puts 151 SRCS 152 puts.cpp 153 HDRS 154 ../puts.h 155 DEPENDS 156 libc.hdr.types.FILE 157 .gpu_file 158) 159 160add_entrypoint_object( 161 fputs 162 SRCS 163 fputs.cpp 164 HDRS 165 ../fputs.h 166 DEPENDS 167 libc.hdr.types.FILE 168 .gpu_file 169) 170 171add_entrypoint_object( 172 fwrite 173 SRCS 174 fwrite.cpp 175 HDRS 176 ../fwrite.h 177 DEPENDS 178 libc.hdr.types.FILE 179 .gpu_file 180) 181 182add_entrypoint_object( 183 fputc 184 SRCS 185 fputc.cpp 186 HDRS 187 ../fputc.h 188 DEPENDS 189 libc.hdr.types.FILE 190 .gpu_file 191) 192 193add_entrypoint_object( 194 putc 195 SRCS 196 putc.cpp 197 HDRS 198 ../putc.h 199 DEPENDS 200 libc.hdr.types.FILE 201 .gpu_file 202) 203 204add_entrypoint_object( 205 putchar 206 SRCS 207 putchar.cpp 208 HDRS 209 ../putchar.h 210 DEPENDS 211 libc.hdr.types.FILE 212 .gpu_file 213) 214 215add_entrypoint_object( 216 fgetc 217 SRCS 218 fgetc.cpp 219 HDRS 220 ../fgetc.h 221 DEPENDS 222 libc.hdr.types.FILE 223 .gpu_file 224) 225 226add_entrypoint_object( 227 getc 228 SRCS 229 getc.cpp 230 HDRS 231 ../getc.h 232 DEPENDS 233 libc.hdr.types.FILE 234 .gpu_file 235) 236 237add_entrypoint_object( 238 getchar 239 SRCS 240 getchar.cpp 241 HDRS 242 ../getchar.h 243 DEPENDS 244 libc.hdr.types.FILE 245 .gpu_file 246) 247 248add_entrypoint_object( 249 fgets 250 SRCS 251 fgets.cpp 252 HDRS 253 ../fgets.h 254 DEPENDS 255 libc.hdr.types.FILE 256 .gpu_file 257 .feof 258 .ferror 259) 260 261add_entrypoint_object( 262 ungetc 263 SRCS 264 ungetc.cpp 265 HDRS 266 ../ungetc.h 267 DEPENDS 268 libc.hdr.types.FILE 269 .gpu_file 270) 271 272add_entrypoint_object( 273 remove 274 SRCS 275 remove.cpp 276 HDRS 277 ../remove.h 278 DEPENDS 279 libc.hdr.types.FILE 280 .gpu_file 281) 282 283add_entrypoint_object( 284 printf 285 SRCS 286 printf.cpp 287 HDRS 288 ../printf.h 289 DEPENDS 290 .vfprintf_utils 291) 292 293add_entrypoint_object( 294 vprintf 295 SRCS 296 vprintf.cpp 297 HDRS 298 ../vprintf.h 299 DEPENDS 300 .vfprintf_utils 301) 302 303add_entrypoint_object( 304 fprintf 305 SRCS 306 fprintf.cpp 307 HDRS 308 ../fprintf.h 309 DEPENDS 310 .vfprintf_utils 311) 312 313add_entrypoint_object( 314 vfprintf 315 SRCS 316 vfprintf.cpp 317 HDRS 318 ../vfprintf.h 319 DEPENDS 320 .vfprintf_utils 321) 322 323add_entrypoint_object( 324 rename 325 SRCS 326 rename.cpp 327 HDRS 328 ../rename.h 329 DEPENDS 330 libc.hdr.types.FILE 331 .gpu_file 332) 333