plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

mkfile (461B)


      1 <$PLAN9/src/mkhdr
      2 
      3 TARG=addhash bayes msgtok
      4 HFILES=
      5 OFILES=
      6 LIB=
      7 
      8 BIN=$BIN/upas
      9 <$PLAN9/src/mkmany
     10 
     11 # msg tokenizer
     12 $O.regen: regcomp.$O dfa.$O
     13 dfa.$O regcomp.$O regen.$O: dfa.h
     14 
     15 $PLAN9/mail/lib/classify.re: $O.regen
     16 	if(~ $cputype $objtype)
     17 		$O.regen >x && cp x $target
     18 
     19 $O.msgtok: dfa.$O
     20 
     21 # msg database 
     22 msgdbx.$O msgdb.$O: msgdb.h
     23 
     24 # hash table creator/dumper
     25 $O.msgdb: msgdbx.$O
     26 
     27 $O.msgclass: hash.$O msgdbx.$O
     28 
     29 $O.addhash: hash.$O 
     30 
     31 $O.bayes: hash.$O
     32 
     33