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