1</$objtype/mkfile 2 3LIBOFILES=\ 4 arena.$O\ 5 arenas.$O\ 6 bloom.$O\ 7 buildbuck.$O\ 8 clump.$O\ 9 config.$O\ 10 conv.$O\ 11 dcache.$O\ 12 disksched.$O\ 13 dump.$O\ 14 graph.$O\ 15 hdisk.$O\ 16 hproc.$O\ 17 httpd.$O\ 18 icache.$O\ 19 icachewrite.$O\ 20 ifile.$O\ 21 index.$O\ 22 lump.$O\ 23 lumpcache.$O\ 24 lumpqueue.$O\ 25 part.$O\ 26 png.$O\ 27 round.$O\ 28 score.$O\ 29 sortientry.$O\ 30 stats.$O\ 31 syncarena.$O\ 32 syncindex0.$O\ 33 trace.$O\ 34 unwhack.$O\ 35 utils.$O\ 36 unittoull.$O\ 37 whack.$O\ 38 xml.$O\ 39 zblock.$O\ 40 zeropart.$O\ 41 42SLIB=libvs.a$O 43 44LIB=$SLIB # /$objtype/lib/libventi.a 45 46HFILES= dat.h\ 47 fns.h\ 48 stdinc.h\ 49 /sys/include/venti.h\ 50 /sys/include/httpd.h\ 51 52TARG=\ 53 venti\ 54 buildindex\ 55 checkarenas\ 56 checkindex\ 57 clumpstats\ 58 conf\ 59 findscore\ 60 fixarenas\ 61 fmtarenas\ 62 fmtbloom\ 63 fmtindex\ 64 fmtisect\ 65 mirrorarenas\ 66 printarena\ 67 printarenapart\ 68 rdarena\ 69 syncindex\ 70 verifyarena\ 71 wrarena\ 72 73OFILES= 74 75BIN=/$objtype/bin/venti 76 77it:V: $O.venti 78 79CLEANFILES=$CLEANFILES $SLIB 80 81</sys/src/cmd/mkmany 82 83CFLAGS=$CFLAGS -I. 84 85$SLIB: $LIBOFILES 86 ar rvc $SLIB $LIBOFILES 87 88# xml.c:D: mkxml dat.h 89# ./mkxml dat.h > xml.c 90 91acid:D: lumpcache.acid 92 cat $prereq >$target 93 94$O.conf:D: conf.rc 95 { 96 echo '#!/bin/rc' 97 echo '# THIS FILE IS AUTOMATICALLY GENERATED' 98 echo '# FROM /sys/src/cmd/venti/conf.rc. DO NOT EDIT.' 99 echo 100 sed 1d conf.rc 101 } >$target && chmod +x $target 102