mkfile 1023 B

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