mkfile 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. </$objtype/mkfile
  2. LIBS=\
  3. lib9p\
  4. libString\
  5. libauth\
  6. libauthsrv\
  7. libbin\
  8. libbio\
  9. libc\
  10. libcomplete\
  11. libcontrol\
  12. libdisk\
  13. libdraw\
  14. libflate\
  15. libframe\
  16. libgeometry\
  17. libhtml\
  18. libhttpd\
  19. libip\
  20. liblex\
  21. libmach\
  22. libmemdraw\
  23. libmemlayer\
  24. libmp\
  25. libndb\
  26. libplumb\
  27. libregexp\
  28. libscribble\
  29. libsec\
  30. libstdio\
  31. libsunrpc\
  32. libthread\
  33. libventi\
  34. CMDS=cmd\
  35. games\
  36. SUBSYS=ape\
  37. /acme\
  38. none:VQ:
  39. echo mk all, install, clean, nuke, release, kernels, or libs
  40. all install clean nuke:VQ:
  41. date
  42. for (i in $LIBS $SUBSYS $CMDS) @{
  43. cd $i
  44. mk $target
  45. }
  46. date
  47. installall:V:
  48. echo "installall not supported"
  49. release:V:
  50. mk nuke
  51. rm -f /$objtype/lib/ape/*.a
  52. rm -f /$objtype/lib/*.a
  53. mk install
  54. mk clean
  55. kernels:V:
  56. for (i in 9 fs boot) @{
  57. cd $i
  58. mk clean
  59. mk install
  60. mk clean
  61. }
  62. libs:V:
  63. date
  64. for (i in $LIBS) @{
  65. cd $i
  66. mk clean
  67. mk install
  68. mk clean
  69. }
  70. date
  71. cleanlibs:V:
  72. for (i in $LIBS) @{
  73. cd $i
  74. mk clean
  75. }
  76. updatelibs:V:
  77. for (i in $LIBS) @{
  78. cd $i
  79. mk update
  80. }