get rid of the 9foo commands in favor of the 9 script
This commit is contained in:
parent
1c096fa40a
commit
c70667367f
5 changed files with 7 additions and 4396 deletions
1447
src/cmd/9sed.c
1447
src/cmd/9sed.c
File diff suppressed because it is too large
Load diff
2942
src/cmd/9yacc.c
2942
src/cmd/9yacc.c
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@
|
||||||
# Calling this grep breaks a LOT. Like egrep on Linux.
|
# Calling this grep breaks a LOT. Like egrep on Linux.
|
||||||
# And probably configure.
|
# And probably configure.
|
||||||
|
|
||||||
TARG=9grep
|
TARG=grep
|
||||||
HFILES=\
|
HFILES=\
|
||||||
grep.h\
|
grep.h\
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<$PLAN9/src/mkhdr
|
<$PLAN9/src/mkhdr
|
||||||
|
|
||||||
TARG=9lex
|
TARG=lex
|
||||||
OFILES=lmain.$O\
|
OFILES=lmain.$O\
|
||||||
y.tab.$O\
|
y.tab.$O\
|
||||||
sub1.$O\
|
sub1.$O\
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
|
||||||
|
|
||||||
<$PLAN9/src/mkdirs
|
<$PLAN9/src/mkdirs
|
||||||
|
|
||||||
dir-all dir-install: $PLAN9/bin/9yacc $PLAN9/bin/9lex
|
dir-all dir-install: $PLAN9/bin/yacc $PLAN9/bin/lex
|
||||||
|
|
||||||
bc.tab.c units.tab.c: $PLAN9/bin/9yacc
|
bc.tab.c units.tab.c: $PLAN9/bin/yacc
|
||||||
|
|
||||||
%.tab.h %.tab.c: %.y
|
%.tab.h %.tab.c: %.y
|
||||||
$YACC $YFLAGS -s $stem $stem.y
|
$YACC $YFLAGS -s $stem $stem.y
|
||||||
|
|
@ -19,10 +19,10 @@ bc.tab.c units.tab.c: $PLAN9/bin/9yacc
|
||||||
%.o: %.tab.c
|
%.o: %.tab.c
|
||||||
9c -o $target $stem.tab.c
|
9c -o $target $stem.tab.c
|
||||||
|
|
||||||
delatex.c:D: delatex.lx $PLAN9/bin/9lex
|
delatex.c:D: delatex.lx $PLAN9/bin/lex
|
||||||
9 lex -t delatex.lx >delatex.c
|
9 lex -t delatex.lx >delatex.c
|
||||||
|
|
||||||
$PLAN9/bin/9lex: $PLAN9/bin/9yacc
|
$PLAN9/bin/lex: $PLAN9/bin/yacc
|
||||||
cd lex; mk install
|
cd lex; mk install
|
||||||
|
|
||||||
CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch] delatex.c
|
CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch] delatex.c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue