Blob


1 # This file must be valid mk input for mkhdr
2 # and also valid shell input for ../dist/buildmk
4 SYSNAME=`uname`
5 OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed '
6 s;.*i[3-6]86.*;386;;
7 s;.*i86pc.*;386;;
8 s;.*amd64.*;x86_64;;
9 s;.*x86_64.*;x86_64;;
10 s;.*armv.*;arm;g;
11 s;.*powerpc.*;power;g;
12 s;.*PowerMacintosh.*;power;g;
13 s;.*Power.Macintosh.*;power;g;
14 s;.*macppc.*;power;g;
15 s;.*mips.*;mips;g;
16 s;.*ppc64.*;power;g;
17 s;.*ppc.*;power;g;
18 s;.*alpha.*;alpha;g;
19 s;.*sun4u.*;sun4u;g;
20 s;.*aarch64.*;arm64;
21 s;.*arm64.*;arm64;
22 '`
23 INSTALL=`[ $(uname) = AIX ] && echo installbsd || echo install`