mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
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.
|
||||
# And probably configure.
|
||||
|
||||
TARG=9grep
|
||||
TARG=grep
|
||||
HFILES=\
|
||||
grep.h\
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<$PLAN9/src/mkhdr
|
||||
|
||||
TARG=9lex
|
||||
TARG=lex
|
||||
OFILES=lmain.$O\
|
||||
y.tab.$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
|
||||
|
||||
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
|
||||
$YACC $YFLAGS -s $stem $stem.y
|
||||
|
@ -19,10 +19,10 @@ bc.tab.c units.tab.c: $PLAN9/bin/9yacc
|
|||
%.o: %.tab.c
|
||||
9c -o $target $stem.tab.c
|
||||
|
||||
delatex.c:D: delatex.lx $PLAN9/bin/9lex
|
||||
9lex -t delatex.lx >delatex.c
|
||||
delatex.c:D: delatex.lx $PLAN9/bin/lex
|
||||
9 lex -t delatex.lx >delatex.c
|
||||
|
||||
$PLAN9/bin/9lex: $PLAN9/bin/9yacc
|
||||
$PLAN9/bin/lex: $PLAN9/bin/yacc
|
||||
cd lex; mk install
|
||||
|
||||
CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch] delatex.c
|
||||
|
|
Loading…
Reference in a new issue