#
# This file should never need to be modified. If you have had
# experience with building Inferno, you have probably had to
# modify a file called mkconfig whenever you wanted to build
# it on a different architecture. This file is similar to the old
# Inferno mkconfig, but it shouldn't require changing. This is
# accomplished by three programs which print the default
# values of ROOT, SYSHOST and OBJTYPE. All that you have
# to do is add $ROOT/$SYSHOST/$OBJTYPE/bin to your path.
# You can override the values (or specify the values for a new
# port) by providing them on the command line to mk, eg:
#
# mk ROOT=H:/9pm SYSHOST=Cygwin SYSTARG=Cygwin install
#
# Once the install has completed, the new values become `sticky',
# ie they will be used for subsequent builds.
#
9pm=`{9pmroot}
systype=`{syshost} # bug: change to systype
objtype=`{objtype} # Native kernels override this
src=$9pm/src
LIBDIR=$9pm/$systype/$objtype/lib
INCDIR=$9pm/$systype/$objtype/9pm
<$9pm/$systype/$objtype/mkfile
|