diff options
author | rsc <devnull@localhost> | 2004-03-04 02:06:46 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-04 02:06:46 +0000 |
commit | 1ae0de511a26ab944bccf7eba89c3718697cd366 (patch) | |
tree | 6b09bfcd4d03277f7f88e056b9038e7c042d9783 | |
parent | 6a0523b94e43101298d4d90466fe049bc89249ce (diff) | |
download | plan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.tar.gz plan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.tar.bz2 plan9port-1ae0de511a26ab944bccf7eba89c3718697cd366.zip |
Some day I will get this right.
-rw-r--r-- | src/mkfile | 7 | ||||
-rw-r--r-- | src/mkmk.sh | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -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 diff --git a/src/mkmk.sh b/src/mkmk.sh index 844d343f..52d58b44 100644 --- a/src/mkmk.sh +++ b/src/mkmk.sh @@ -67,7 +67,7 @@ cd lib9 9c sleep.c 9c strecpy.c 9c sysfatal.c -9a tas-$SYSNAME.s || 9c tas-$SYSNAME.c +9a tas-$OBJTYPE.s || 9c tas-$OBJTYPE.c 9c time.c 9c tokenize.c 9c u16.c |