mkfile 837 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. APE=/sys/src/ape
  2. <$APE/config
  3. LIB=/$objtype/lib/ape/libap.a
  4. ALLOFILES=\
  5. _assert.$O\
  6. abort.$O\
  7. abs.$O\
  8. atof.$O\
  9. atoi.$O\
  10. atol.$O\
  11. atoll.$O\
  12. bsearch.$O\
  13. calloc.$O\
  14. clock.$O\
  15. ctype.$O\
  16. difftime.$O\
  17. div.$O\
  18. getenv.$O\
  19. isalnum.$O\
  20. itoa.$O\
  21. itol.$O\
  22. ldiv.$O\
  23. mbwc.$O\
  24. memccpy.$O\
  25. memchr.$O\
  26. memcmp.$O\
  27. memmove.$O\
  28. memset.$O\
  29. mktime.$O\
  30. qsort.$O\
  31. raise.$O\
  32. rand.$O\
  33. strcat.$O\
  34. strchr.$O\
  35. strcmp.$O\
  36. strcoll.$O\
  37. strcpy.$O\
  38. strcspn.$O\
  39. strftime.$O\
  40. strlen.$O\
  41. strncat.$O\
  42. strncmp.$O\
  43. strncpy.$O\
  44. strpbrk.$O\
  45. strrchr.$O\
  46. strspn.$O\
  47. strstr.$O\
  48. strtod.$O\
  49. strtok.$O\
  50. strtol.$O\
  51. strtoll.$O\
  52. strtoul.$O\
  53. strtoull.$O\
  54. strxfrm.$O\
  55. toupper.$O\
  56. # cull things in the per-machine directories from this list
  57. OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
  58. </sys/src/cmd/mksyslib
  59. CFLAGS=-c -D_POSIX_SOURCE