72 $O.venti: # debugmalloc2.$O # debugmalloc.$O #_p9dir.$O debugmalloc.$O
74 CLEANFILES=$CLEANFILES $SLIB
79 $AR rvc $SLIB $LIBOFILES
81 # xml.c:D: mkxml dat.h
82 # ./mkxml dat.h > xml.c
84 ainstall:V: ${TARG:%=%.ainstall}
87 scp $prereq amsterdam:/usr/local/bin/venti/$stem
89 test:VQ: ${TARG:%=o.%}
92 test -f $vtmp/arena || dd bs=1048576 count=100 if=/dev/zero of=$vtmp/arena
93 test -f $vtmp/bloom || dd bs=1048576 count=10 if=/dev/zero of=$vtmp/bloom
94 test -f $vtmp/isect || dd bs=1048576 count=10 if=/dev/zero of=$vtmp/isect
95 test -f $vtmp/check || dd bs=1048576 count=20 if=/dev/zero of=$vtmp/check
96 echo '**********' FMTARENAS
97 ./o.fmtarenas -a 40M -b 8k arenas $vtmp/arena
98 echo '**********' FMTBLOOM
99 ./o.fmtbloom -s 10M $vtmp/bloom
100 echo '**********' FMTISECT
101 ./o.fmtisect -b 8k isect $vtmp/isect
104 echo isect $vtmp/isect
105 echo arenas $vtmp/arena
106 echo bloom $vtmp/bloom
107 echo webroot $PLAN9/src/cmd/venti/srv/www
112 echo addr 'tcp!*!17034'
113 echo httpaddr 'tcp!*!8001'
115 echo '**********' FMTINDEX
116 ./o.fmtindex vtmp.conf
117 echo '**********' VENTI
118 ./o.venti -c vtmp.conf >a 2>&1
119 echo '**********' VAC
120 venti='tcp!127.0.0.1!17034' export venti
121 9 time vac /usr/local/plan9/src >a.vac
122 case ${websync:-no} in
124 echo '**********' SYNC VIA WEB
125 hget http://127.0.0.1:8001/flushdcache
126 hget http://127.0.0.1:8001/flushicache
127 hget http://127.0.0.1:8001/flushdcache
128 echo '**********' KILL VENTI
132 echo '**********' KILL VENTI
134 echo '**********' SYNCINDEX
135 ./o.syncindex -B64M -I64M -f vtmp.conf
138 echo '**********' CHECKINDEX
139 ./o.checkindex -B64M vtmp.conf $vtmp/check >check.out
143 gcc -c -ggdb -Wall -I/usr/include/lua50 luadisk.c
145 libluadisk.so: luadisk.o
146 gcc -shared -o $target luadisk.o -llua50 -llualib50
148 $O.xwrarena: xwrarena.$O
149 $LD -o $target xwrarena.$O