1
0

mkfile 844 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. objtype=386
  2. </$objtype/mkfile
  3. TARG=multi
  4. BIN=/sys/lib/dist/bin/$objtype
  5. PIECES=\
  6. aux/mouse\
  7. aux/pcmcia\
  8. aux/vga\
  9. aux/zerotrunc\
  10. disk/fdisk\
  11. disk/format\
  12. disk/mbr\
  13. disk/prep\
  14. # fossil/fossil\
  15. # fossil/flfmt\
  16. ip/ipconfig\
  17. ip/ppp\
  18. ndb/cs\
  19. ndb/dns\
  20. # replica/applylog\
  21. 9660srv\
  22. # awk\
  23. basename\
  24. cat\
  25. chgrp\
  26. chmod\
  27. cleanname\
  28. cmp\
  29. cp\
  30. date\
  31. dd\
  32. dossrv\
  33. echo\
  34. ed\
  35. ext2srv\
  36. # fcp\
  37. grep\
  38. hget\
  39. hoc\
  40. ls\
  41. mc\
  42. mount\
  43. mv\
  44. ps\
  45. read\
  46. # rio\
  47. rm\
  48. sed\
  49. sort\
  50. srv\
  51. # stats\
  52. syscall\
  53. tail\
  54. tee\
  55. test\
  56. wc\
  57. xd\
  58. $O.multi: mkmulti mkfile
  59. mkmulti $PIECES
  60. ls -l $O.multi
  61. ls -l /386/bin/$PIECES | awk '{s += $6} END{print s}'
  62. scripts:V:
  63. rm -rf ../../pc/multi
  64. mkdir ../../pc/multi
  65. for(i in $PIECES){
  66. b=`{basename $i}
  67. echo '#!/bin/multi' >>../../pc/multi/$b
  68. chmod +x ../../pc/multi/$b
  69. }
  70. </sys/src/cmd/mkmany