Annoying changes to work on Sun boxes.

This commit is contained in:
rsc 2003-11-23 19:49:17 +00:00
parent 50e628cb8f
commit 1c253ceb58
19 changed files with 95 additions and 54 deletions

View file

@ -6,7 +6,7 @@ LDFLAGS=$LDFLAGS -lsec -lregexp9 -l9 -lbio -lfmt -lutf
<$PLAN9/src/mkmany
BUGGERED='CVS|oplumb|plumb|plumb2|mk|vac'
BUGGERED='CVS|oplumb|plumb|plumb2|mk|vac|9term'
DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "$BUGGERED"`
<$PLAN9/src/mkdirs

View file

@ -7,7 +7,7 @@
%left BANG SUBSHELL
%left PIPE
%left '^'
%right '$' COUNT '"'
%right '$' COUNT '\"'
%left SUB
%{
#include "rc.h"

View file

@ -71,16 +71,12 @@ it:V: all
<$PLAN9/src/mkmany
$SLIB: $LIBOFILES
ar rvc $SLIB $LIBOFILES
# xml.c:D: mkxml dat.h
# ./mkxml dat.h > xml.c
$SLIB(%.$O):N: %.$O
$SLIB: ${LIBOFILES:%=$SLIB(%)}
names=`echo $newprereq | sed -E 's/'$SLIB'\(([^)]+)\)/\1/g'`
# names = `{echo $newprereq |sed 's/ /\n/g' |sed -n 's/'$SLIB'\(([^)]+)\)/\1/gp'}
ar rvc $SLIB $names
# rm $names
ainstall:V: ${TARG:%=%.ainstall}
%.ainstall:V: $O.%