mkfile 986 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. </$objtype/mkfile
  2. LIB=/$objtype/lib/libthread.a
  3. OFILES=\
  4. $objtype.$O\
  5. xinc$objtype.$O\
  6. channel.$O\
  7. chanprint.$O\
  8. create.$O\
  9. debug.$O\
  10. exec.$O\
  11. exit.$O\
  12. id.$O\
  13. iocall.$O\
  14. ioclose.$O\
  15. iodial.$O\
  16. ioopen.$O\
  17. ioproc.$O\
  18. ioread.$O\
  19. ioreadn.$O\
  20. iosleep.$O\
  21. iowrite.$O\
  22. kill.$O\
  23. lib.$O\
  24. main.$O\
  25. note.$O\
  26. ref.$O\
  27. rendez.$O\
  28. sched.$O\
  29. CFILES=\
  30. 386.c\
  31. alpha.c\
  32. arm.c\
  33. channel.c\
  34. chanprint.c\
  35. create.c\
  36. debug.c\
  37. example.c\
  38. exec.c\
  39. exit.c\
  40. id.c\
  41. iocall.c\
  42. ioclose.c\
  43. iodial.c\
  44. ioopen.c\
  45. ioproc.c\
  46. ioread.c\
  47. ioreadn.c\
  48. iowrite.c\
  49. kill.c\
  50. lib.c\
  51. main.c\
  52. mips.c\
  53. note.c\
  54. power.c\
  55. ref.c\
  56. rendez.c\
  57. sched.c\
  58. test.c\
  59. tprimes.c\
  60. xincarm.c\
  61. xincpower.c
  62. SFILES=\
  63. xinc386.s\
  64. xincalpha.s\
  65. xincmips.s
  66. HFILES=\
  67. /sys/include/thread.h\
  68. threadimpl.h\
  69. UPDATE=mkfile\
  70. /386/lib/libthread.a\
  71. $HFILES\
  72. xincport.h\
  73. $CFILES\
  74. $SFILES\
  75. all:V: $LIB sched.acid channel.acid
  76. </sys/src/cmd/mksyslib
  77. $O.tprimes: tprimes.$O $LIB
  78. $LD -o $target $prereq