-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkconfig
39 lines (32 loc) · 1.14 KB
/
mkconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Set the following 4 variables. The host system is the system where
# the software will be built; the target system is where it will run.
# They are almost always the same.
# On Nt systems, the ROOT path MUST be of the form `drive:/path'
ROOT=o:/inferno
#
# Specify the flavour of Tk (std for standard builds)
#
TKSTYLE=std
#
# Except for building kernels, SYSTARG must always be the same as SYSHOST
#
SYSHOST=Nt # build system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
SYSTARG=Nt
#SYSTARG=Inferno
#SYSTARG=Ce # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris)
#
# specify the architecture of the target system - Plan 9 imports it from the
# environment; for other systems it is usually just hard-coded
#
#OBJTYPE=arm # target system object type (s800, mips, 386, arm, sparc)
OBJTYPE=386
#
# no changes required beyond this point
#
OBJDIR=$SYSTARG/$OBJTYPE
# default command line keys to specify output file (differ for some compilers)
CCOUT='-o'
LDOUT='-o'
<$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system
<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type