mkfile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. </$objtype/mkfile
  2. HFILES=\
  3. /sys/include/httpd.h\
  4. httpsrv.h\
  5. TARG=\
  6. httpd\
  7. imagemap\
  8. man2html\
  9. save\
  10. netlib_find\
  11. netlib_history\
  12. webls\
  13. wikipost\
  14. XTARG=\
  15. httpd\
  16. imagemap\
  17. netlib_find\
  18. netlib_history\
  19. man2html\
  20. save\
  21. wikipost\
  22. LIB=libhttps.a$O
  23. LIBS=libhttps.a$O
  24. LIBSOFILES=\
  25. anonymous.$O\
  26. content.$O\
  27. emem.$O\
  28. hints.$O\
  29. init.$O\
  30. log.$O\
  31. redirect.$O\
  32. sendfd.$O\
  33. authorize.$O\
  34. BIN=/$objtype/bin/ip/httpd
  35. UPDATE=\
  36. $HFILES\
  37. ${LIBSOFILES:%.$O=%.c}\
  38. ${XTARG:%=%.c}\
  39. </sys/src/cmd/mkmany
  40. trial: $O.netlib_history
  41. # should first mount -b /srv/histnetlib /usr/web/historic
  42. echo '
  43. ' | $O.netlib_history GET HTTP/1.0 xxx 'file=fp%2Fdtoa.c.gz'
  44. trial2: $O.netlib_find
  45. echo "\n" | $O.netlib_find GET HTTP/1.0 xxx 'db=1&pat=Hearing' > /tmp/search
  46. sed 17q /tmp/search
  47. $LIBS: $LIBSOFILES
  48. ar vu $LIBS $newprereq
  49. rm $newprereq
  50. # rm $newmember - cannot do this because of mk race
  51. re:N: v.re
  52. v.re redirect.urls
  53. none:VQ:
  54. echo usage: mk all, install, installall, '$O'.cmd, cmd.install, or cmd.installall
  55. echo usage: mk safeinstall, safeinstallall, cmd.safeinstallall, or cmd.safeinstallall
  56. $O.9down: 9down.$O whois.$O classify.$O $LIB
  57. $LD -o $target $prereq
  58. $O.test9down: 9down4e.$O whois.$O classify.$O $LIB
  59. $LD -o $target $prereq
  60. $O.testclassify: testclassify.$O whois.$O classify.$O $LIB
  61. $LD -o $target $prereq