tSome day I will get this right. - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1ae0de511a26ab944bccf7eba89c3718697cd366 | |
parent 6a0523b94e43101298d4d90466fe049bc89249ce | |
Author: rsc | |
Date: Thu, 4 Mar 2004 02:06:46 +0000 Some day I will get this right. Diffstat: M src/mkfile | 7 ++++++- M src/mkmk.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) --- | |
diff --git a/src/mkfile b/src/mkfile | |
t@@ -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 | |
t@@ -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 |