aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 19:49:17 +0000
committerrsc <devnull@localhost>2003-11-23 19:49:17 +0000
commit1c253ceb586c4519f42ce115954c4efab787f81a (patch)
tree22281aafc4c33f4ab310a845aec510f013511833 /src/cmd/venti/mkfile
parent50e628cb8f4594b7cbccc17ff3f701ff260a69c0 (diff)
downloadplan9port-1c253ceb586c4519f42ce115954c4efab787f81a.tar.gz
plan9port-1c253ceb586c4519f42ce115954c4efab787f81a.tar.bz2
plan9port-1c253ceb586c4519f42ce115954c4efab787f81a.zip
Annoying changes to work on Sun boxes.
Diffstat (limited to 'src/cmd/venti/mkfile')
-rw-r--r--src/cmd/venti/mkfile10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cmd/venti/mkfile b/src/cmd/venti/mkfile
index 48f2c60f..e899ef3f 100644
--- a/src/cmd/venti/mkfile
+++ b/src/cmd/venti/mkfile
@@ -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.%