load('//sys/src/FLAGS', "LIB_COMPILER_FLAGS") cc_library( name = "libstdio", copts = LIB_COMPILER_FLAGS, includes=[ "//sys/include", "//amd64/include", ], srcs = [ "_IO_getc.c", "_IO_putc.c", "clearerr.c", "dtoa.c", "fclose.c", "fdopen.c", "feof.c", "ferror.c", "fflush.c", "fgetc.c", "fgetpos.c", "fgets.c", "fileno.c", "fopen.c", "fprintf.c", "fputc.c", "fputs.c", "fread.c", "freopen.c", "fscanf.c", "fseek.c", "fseeko.c", "fsetpos.c", "ftell.c", "ftello.c", "fwrite.c", "getc.c", "gets.c", "printf.c", "putc.c", "puts.c", "rewind.c", "scanf.c", "sclose.c", "setbuf.c", "setvbuf.c", "snprintf.c", "sopenr.c", "sopenw.c", "sprintf.c", "sscanf.c", "tmpfile.c", "tmpnam.c", "ungetc.c", "vfprintf.c", "vfscanf.c", "vprintf.c", "vsnprintf.c", "vsprintf.c" ] )