Blob


1 <$PLAN9/src/mkhdr
3 TARG=`ls *.[cy] | grep -v "\.tab\.c$" | sed 's/\.[cy]//'`
4 SHORTLIB=sec fs mux regexp9 thread bio 9
6 <$PLAN9/src/mkmany
8 BUGGERED='CVS|faces|factotum|mailfs|scat|upas|vac|venti|vncv|postscript|mnihongo|mpm|index'
9 DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
11 <$PLAN9/src/mkdirs
13 dir-all dir-install: $PLAN9/bin/9yacc
15 %.tab.h %.tab.c: %.y
16 $YACC $YFLAGS -s $stem $prereq
18 %.o: %.tab.c
19 9c -o $target $stem.tab.c
21 CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch]