mkfile 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. </$objtype/mkfile
  2. TARG=\
  3. 9pcon\
  4. accupoint\
  5. acidleak\
  6. apm\
  7. astarld\
  8. cddb\
  9. clog\
  10. consolefs\
  11. data2s\
  12. depend\
  13. disksim\
  14. lines\
  15. listen\
  16. listen1\
  17. mklatinkbd\
  18. ms2\
  19. msexceltables\
  20. mswordstrings\
  21. mouse\
  22. nfsmount\
  23. olefs\
  24. pcmcia\
  25. portmap\
  26. rdwr\
  27. reboot\
  28. searchfs\
  29. stub\
  30. timesync\
  31. trampoline\
  32. typepasswd\
  33. write\
  34. BIN=/$objtype/bin/aux
  35. UPDATE=\
  36. mkfile\
  37. $HFILES\
  38. ${OFILES:%.$O=%.c}\
  39. ${TARG:%=%.c}\
  40. </sys/src/cmd/mkmany
  41. DIRS=mnihongo\
  42. flashfs\
  43. na\
  44. vga
  45. all:V: $DIRS
  46. $DIRS:V:
  47. for (i in $DIRS) @{
  48. echo mk $i
  49. cd $i
  50. mk all
  51. }
  52. install:V: installdirs
  53. nuke:V: nukedirs
  54. installdirs:V:
  55. for (i in $DIRS) @{
  56. echo mk $i
  57. cd $i
  58. mk install
  59. }
  60. clean:V:
  61. for (i in $DIRS) @{
  62. echo clean $i
  63. cd $i
  64. mk clean
  65. }
  66. rm -f [$OS].* *.[$OS]
  67. nukedirs:V:
  68. for (i in $DIRS) @{
  69. echo nuke $i
  70. cd $i
  71. mk nuke
  72. }
  73. update:V:
  74. update $UPDATEFLAGS $UPDATE
  75. for (i in $DIRS) @{
  76. echo update $i
  77. cd $i
  78. mk 'UPDATEFLAGS='$"UPDATEFLAGS update
  79. }