mkfile 955 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. mswordstrings\
  20. mouse\
  21. nfsmount\
  22. olefs\
  23. pcmcia\
  24. portmap\
  25. rdwr\
  26. reboot\
  27. searchfs\
  28. stub\
  29. timesync\
  30. trampoline\
  31. typepasswd\
  32. write\
  33. BIN=/$objtype/bin/aux
  34. UPDATE=\
  35. mkfile\
  36. $HFILES\
  37. ${OFILES:%.$O=%.c}\
  38. ${TARG:%=%.c}\
  39. </sys/src/cmd/mkmany
  40. DIRS=mnihongo\
  41. bandt2\
  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. }