mkfile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. </$objtype/mkfile
  2. LIB=/$objtype/lib/libc.a
  3. CFILES=\
  4. _assert.c\
  5. abs.c\
  6. asin.c\
  7. atan.c\
  8. atan2.c\
  9. atexit.c\
  10. atnotify.c\
  11. atof.c\
  12. atol.c\
  13. atoll.c\
  14. cistrcmp.c\
  15. cistrncmp.c\
  16. cistrstr.c\
  17. charstod.c\
  18. cleanname.c\
  19. crypt.c\
  20. ctype.c\
  21. encodefmt.c\
  22. execl.c\
  23. exp.c\
  24. fabs.c\
  25. floor.c\
  26. fmod.c\
  27. frand.c\
  28. frexp.c\
  29. getcallerpc.c\
  30. getfields.c\
  31. getuser.c\
  32. hangup.c\
  33. hypot.c\
  34. lnrand.c\
  35. lock.c\
  36. log.c\
  37. lrand.c\
  38. malloc.c\
  39. memccpy.c\
  40. memchr.c\
  41. memcmp.c\
  42. memmove.c\
  43. memset.c\
  44. mktemp.c\
  45. muldiv.c\
  46. nan.c\
  47. needsrcquote.c\
  48. netcrypt.c\
  49. netmkaddr.c\
  50. nrand.c\
  51. ntruerand.c\
  52. perror.c\
  53. pool.c\
  54. pow.c\
  55. pow10.c\
  56. profile.c\
  57. qsort.c\
  58. quote.c\
  59. rand.c\
  60. readn.c\
  61. rune.c\
  62. runestrcat.c\
  63. runestrchr.c\
  64. runestrcmp.c\
  65. runestrcpy.c\
  66. runestrecpy.c\
  67. runestrdup.c\
  68. runestrncat.c\
  69. runestrncmp.c\
  70. runestrncpy.c\
  71. runestrrchr.c\
  72. runestrlen.c\
  73. runestrstr.c\
  74. runetype.c\
  75. sin.c\
  76. sinh.c\
  77. sqrt.c\
  78. strcat.c\
  79. strchr.c\
  80. strcmp.c\
  81. strcpy.c\
  82. strecpy.c\
  83. strcspn.c\
  84. strdup.c\
  85. strlen.c\
  86. strncat.c\
  87. strncmp.c\
  88. strncpy.c\
  89. strpbrk.c\
  90. strrchr.c\
  91. strspn.c\
  92. strstr.c\
  93. strtod.c\
  94. strtok.c\
  95. strtol.c\
  96. strtoll.c\
  97. strtoul.c\
  98. strtoull.c\
  99. tan.c\
  100. tanh.c\
  101. tokenize.c\
  102. toupper.c\
  103. utfecpy.c\
  104. utflen.c\
  105. utfnlen.c\
  106. utfrune.c\
  107. utfrrune.c\
  108. utfutf.c\
  109. u16.c\
  110. u32.c\
  111. u64.c\
  112. ALLOFILES=${CFILES:%.c=%.$O}
  113. # cull things in the per-machine directories from this list
  114. OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
  115. HFILES=/sys/include/libc.h
  116. UPDATE=mkfile\
  117. $HFILES\
  118. $CFILES\
  119. </sys/src/cmd/mksyslib
  120. profile.$O: /sys/include/tos.h