1*0e96539fSCharles.Forsyth# 2*0e96539fSCharles.Forsyth# Set the following 4 variables. The host system is the system where 3*0e96539fSCharles.Forsyth# the software will be built; the target system is where it will run. 4*0e96539fSCharles.Forsyth# They are almost always the same. 5*0e96539fSCharles.Forsyth 6*0e96539fSCharles.Forsyth# On Nt systems, the ROOT path MUST be of the form `drive:/path' 7*0e96539fSCharles.ForsythROOT= 8*0e96539fSCharles.Forsyth 9*0e96539fSCharles.Forsyth# 10*0e96539fSCharles.Forsyth# Except for building kernels, SYSTARG must always be the same as SYSHOST 11*0e96539fSCharles.Forsyth# 12*0e96539fSCharles.ForsythSYSHOST=Plan9 # build system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) 13*0e96539fSCharles.ForsythSYSTARG=$SYSHOST # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris) 14*0e96539fSCharles.Forsyth 15*0e96539fSCharles.Forsyth# 16*0e96539fSCharles.Forsyth# specify the architecture of the target system - Inferno imports it from the 17*0e96539fSCharles.Forsyth# environment; for other systems it is usually just hard-coded 18*0e96539fSCharles.Forsyth# 19*0e96539fSCharles.Forsyth#OBJTYPE=386 # target system object type (s800, mips, 386, arm, sparc) 20*0e96539fSCharles.ForsythOBJTYPE=386 21*0e96539fSCharles.Forsyth 22*0e96539fSCharles.Forsyth# 23*0e96539fSCharles.Forsyth# no changes required beyond this point 24*0e96539fSCharles.Forsyth# 25*0e96539fSCharles.ForsythOBJDIR=$SYSTARG/$OBJTYPE 26*0e96539fSCharles.Forsyth 27*0e96539fSCharles.Forsyth<$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system 28*0e96539fSCharles.Forsyth<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type 29