aboutsummaryrefslogtreecommitdiff
path: root/dist/buildmk
diff options
context:
space:
mode:
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
+