aboutsummaryrefslogtreecommitdiff
path: root/dist/buildmk
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-29 01:15:02 +0000
committerrsc <devnull@localhost>2005-11-29 01:15:02 +0000
commitf5dcf6d9e22f5ab215126d7adce2edd67f980cd0 (patch)
tree1a0e261a18454866bddfbdac7954a9c224c5d2d3 /dist/buildmk
parent4a4a4f2681a61bfd45ec53e47d8eb2cc89ef0408 (diff)
downloadplan9port-f5dcf6d9e22f5ab215126d7adce2edd67f980cd0.tar.gz
plan9port-f5dcf6d9e22f5ab215126d7adce2edd67f980cd0.tar.bz2
plan9port-f5dcf6d9e22f5ab215126d7adce2edd67f980cd0.zip
need this
Diffstat (limited to 'dist/buildmk')
-rwxr-xr-xdist/buildmk16
1 files changed, 16 insertions, 0 deletions
diff --git a/dist/buildmk b/dist/buildmk
new file mode 100755
index 00000000..dfeebb54
--- /dev/null
+++ b/dist/buildmk
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# run this in the src directory
+SYSNAME=`uname` export SYSNAME
+OBJTYPE=`uname -m | sed '
+ s;i.86;386;;
+ s;amd64;x86_64;;
+ s;/.*;;; s; ;;g;
+ s;armv4l;arm;g;
+ s;PowerMacintosh;power;g;
+ s;macppc;power;g;
+ s;ppc64;power;g;
+ s;ppc;power;g;
+ '` export OBJTYPE
+sh -x mkmk.sh
+