shithub: riscv

ref: 6285c19b3325e77c9056c369de1d64dd5132cb56
dir: /sys/src/cmd/upas/bayes/mkfile/

View raw version
</$objtype/mkfile

TARG=addhash bayes msgtok

</sys/src/cmd/mkmany
<../mkupas

# 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