blob: c0c546e73a8405ffe5fe595818764a55458e655c (
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
|
</$objtype/mkfile
TARG=addhash bayes msgtok
HFILES=
OFILES=
LIB=
BIN=/$objtype/bin/upas
</sys/src/cmd/mkmany
# msg tokenizer
$O.regen: regcomp.$O dfa.$O
dfa.$O regcomp.$O regen.$O: dfa.h
/mail/lib/classify.re: $O.regen
if(~ $cputype $objtype)
$O.regen >x && cp x $target
$O.msgtok: dfa.$O
# msg database
msgdbx.$O msgdb.$O: msgdb.h
# hash table creator/dumper
$O.msgdb: msgdbx.$O
$O.msgclass: hash.$O msgdbx.$O
$O.addhash: hash.$O
$O.bayes: hash.$O
|