aboutsummaryrefslogtreecommitdiff
path: root/src/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-04 02:06:46 +0000
committerrsc <devnull@localhost>2004-03-04 02:06:46 +0000
commit1ae0de511a26ab944bccf7eba89c3718697cd366 (patch)
tree6b09bfcd4d03277f7f88e056b9038e7c042d9783 /src/mkfile
parent6a0523b94e43101298d4d90466fe049bc89249ce (diff)
downloadplan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.tar.gz
plan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.tar.bz2
plan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.zip
Some day I will get this right.
Diffstat (limited to 'src/mkfile')
-rw-r--r--src/mkfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mkfile b/src/mkfile
index 296978c0..75fe1110 100644
--- a/src/mkfile
+++ b/src/mkfile
@@ -37,7 +37,12 @@ mkmk.sh:VD:
(cd $i; mk -n -a install)
echo cd ..
done
- ) | sed 's/'$SYSNAME'/$SYSNAME/; s/'$OBJTYPE'/$OBJTYPE/' >$target
+ ) | sed '
+ s/'$SYSNAME'/$SYSNAME/g
+ s/'$OBJTYPE'/$OBJTYPE/g
+ s/9[ac] *getcallerpc-.*/9a getcallerpc-$OBJTYPE.s || 9c getcallerpc-$OBJTYPE.c/
+ s/^9[ac] *tas-.*/9a tas-$OBJTYPE.s || 9c tas-$OBJTYPE.c/
+ ' >$target
testmkmk:V:
mk mkmk.sh