BUILD 908 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. load('//sys/src/FLAGS', "LIB_COMPILER_FLAGS")
  2. cc_library(
  3. name = "libstdio",
  4. copts = LIB_COMPILER_FLAGS,
  5. includes=[
  6. "//sys/include",
  7. "//amd64/include",
  8. ],
  9. srcs = [
  10. "_IO_getc.c",
  11. "_IO_putc.c",
  12. "clearerr.c",
  13. "dtoa.c",
  14. "fclose.c",
  15. "fdopen.c",
  16. "feof.c",
  17. "ferror.c",
  18. "fflush.c",
  19. "fgetc.c",
  20. "fgetpos.c",
  21. "fgets.c",
  22. "fileno.c",
  23. "fopen.c",
  24. "fprintf.c",
  25. "fputc.c",
  26. "fputs.c",
  27. "fread.c",
  28. "freopen.c",
  29. "fscanf.c",
  30. "fseek.c",
  31. "fseeko.c",
  32. "fsetpos.c",
  33. "ftell.c",
  34. "ftello.c",
  35. "fwrite.c",
  36. "getc.c",
  37. "gets.c",
  38. "printf.c",
  39. "putc.c",
  40. "puts.c",
  41. "rewind.c",
  42. "scanf.c",
  43. "sclose.c",
  44. "setbuf.c",
  45. "setvbuf.c",
  46. "snprintf.c",
  47. "sopenr.c",
  48. "sopenw.c",
  49. "sprintf.c",
  50. "sscanf.c",
  51. "tmpfile.c",
  52. "tmpnam.c",
  53. "ungetc.c",
  54. "vfprintf.c",
  55. "vfscanf.c",
  56. "vprintf.c",
  57. "vsnprintf.c",
  58. "vsprintf.c"
  59. ]
  60. )