plan9port/src/cmd/upas/bayes/mkfile

34 lines
461 B
Text
Raw Normal View History

2006-02-11 23:38:55 +00:00
<$PLAN9/src/mkhdr
2005-10-29 16:26:32 +00:00
TARG=addhash bayes msgtok
HFILES=
OFILES=
LIB=
2006-02-11 23:38:55 +00:00
BIN=$BIN/upas
<$PLAN9/src/mkmany
2005-10-29 16:26:32 +00:00
# msg tokenizer
$O.regen: regcomp.$O dfa.$O
dfa.$O regcomp.$O regen.$O: dfa.h
2006-02-11 23:38:55 +00:00
$PLAN9/mail/lib/classify.re: $O.regen
2005-10-29 16:26:32 +00:00
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