mkfile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. runebase.c\
  63. runebsearch.c\
  64. runestrcat.c\
  65. runestrchr.c\
  66. runestrcmp.c\
  67. runestrcpy.c\
  68. runestrecpy.c\
  69. runestrdup.c\
  70. runestrncat.c\
  71. runestrncmp.c\
  72. runestrncpy.c\
  73. runestrrchr.c\
  74. runestrlen.c\
  75. runestrstr.c\
  76. runetype.c\
  77. sin.c\
  78. sinh.c\
  79. sqrt.c\
  80. strcat.c\
  81. strchr.c\
  82. strcmp.c\
  83. strcpy.c\
  84. strecpy.c\
  85. strcspn.c\
  86. strdup.c\
  87. strlen.c\
  88. strncat.c\
  89. strncmp.c\
  90. strncpy.c\
  91. strpbrk.c\
  92. strrchr.c\
  93. strspn.c\
  94. strstr.c\
  95. strtod.c\
  96. strtok.c\
  97. strtol.c\
  98. strtoll.c\
  99. strtoul.c\
  100. strtoull.c\
  101. tan.c\
  102. tanh.c\
  103. tokenize.c\
  104. toupper.c\
  105. utfecpy.c\
  106. utflen.c\
  107. utfnlen.c\
  108. utfrune.c\
  109. utfrrune.c\
  110. utfutf.c\
  111. u16.c\
  112. u32.c\
  113. u64.c\
  114. ALLOFILES=${CFILES:%.c=%.$O}
  115. # cull things in the per-machine directories from this list
  116. # OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
  117. OFILES=${CFILES:%.c=%.$O}
  118. HFILES=/sys/include/libc.h
  119. UPDATE=mkfile\
  120. $HFILES\
  121. $CFILES\
  122. </sys/src/cmd/mksyslib
  123. profile.$O: /sys/include/tos.h