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