146439007SCharles.Forsyth# 246439007SCharles.Forsyth# Set the following 4 variables. The host system is the system where 346439007SCharles.Forsyth# the software will be built; the target system is where it will run. 446439007SCharles.Forsyth# They are almost always the same. 546439007SCharles.Forsyth 646439007SCharles.Forsyth# On Nt systems, the ROOT path MUST be of the form `drive:/path' 746439007SCharles.ForsythROOT=/usr/inferno 846439007SCharles.Forsyth 946439007SCharles.Forsyth# 1046439007SCharles.Forsyth# Specify the flavour of Tk (std for standard builds) 1146439007SCharles.Forsyth# 1246439007SCharles.ForsythTKSTYLE=std 1346439007SCharles.Forsyth 1446439007SCharles.Forsyth# 1546439007SCharles.Forsyth# Except for building kernels, SYSTARG must always be the same as SYSHOST 1646439007SCharles.Forsyth# 17*7ef44d65SYaroslav KolomiietsSYSHOST=Plan9 # build system OS type (AIX, Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris) 18*7ef44d65SYaroslav KolomiietsSYSTARG=$SYSHOST # target system OS type (AIX, Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) 1946439007SCharles.Forsyth 2046439007SCharles.Forsyth# 2146439007SCharles.Forsyth# specify the architecture of the target system - Plan 9 imports it from the 2246439007SCharles.Forsyth# environment; for other systems it is usually just hard-coded 2346439007SCharles.Forsyth# 24c82171b8SCharles.Forsyth#OBJTYPE=386 # target system object type (eg, 386, arm, mips, power, s800, sparc) 2546439007SCharles.ForsythOBJTYPE=$objtype 2646439007SCharles.Forsyth 2746439007SCharles.Forsyth# 2846439007SCharles.Forsyth# no changes required beyond this point 2946439007SCharles.Forsyth# 3046439007SCharles.ForsythOBJDIR=$SYSTARG/$OBJTYPE 3146439007SCharles.Forsyth 3246439007SCharles.Forsyth<$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system 3346439007SCharles.Forsyth<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type 34