mkconfig 1.0 KB

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