forked from open-watcom/open-watcom-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setvars.sh
executable file
·76 lines (59 loc) · 2.6 KB
/
setvars.sh
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/sh
# *****************************************************************
# setvars - Linux version
# *****************************************************************
# NOTE: Do not use this script directly, but copy it and
# modify it as necessary for your own use!!
# Change this to point your Open Watcom source tree
#
# Note: '=' sign in path is not allowed (build will fail).
# Try to keep a OWROOT path short and simple like
# /tmp/ow There is dosemu used to build some parts
# of the software. dosemu can hang if OWROOT is long
# or contain long names of the directories.
export OWROOT=$(realpath `pwd`)
# Set this entry to identify your toolchain used by build process
# supported values are WATCOM GCC CLANG
export OWTOOLS=GCC
# Build control related variables
##################################
# Set this variable to 1 to enable documentation build
export OWDOCBUILD=0
# Set this variable to 1 to suppress tools GUI version build
# If it is used then only tools character mode version is build
# export OWGUINOBUILD=1
# Set this variable to list of OW projects to suppress their build
# Example export OWNOBUILD=ide browser dlgprs
# export OWNOBUILD=
# Set this variable to 1 to enable build all installers
export OWDISTRBUILD=0
# Documentation related variables
##################################
# Change this to the PATH required by GhostScript for PDF creation on used host OS (optional)
# export OWGHOSTSCRIPTPATH=:
# Set appropriate variables to point to Windows help compilers which you
# have installed
#
# OWWIN95HC specifies the Microsoft compiler used to build 32-bit ".hlp"
# files, common on Win 95/98/ME
# OWHHC specifies the Microsoft HTML Help Workshop compiler used to build
# Compressed HTML help ".chm" files, common on Win2k and later
# OWCHMCMD specifies the Free Pascal HTML Help compiler, an alternative
# compiler that can also build Compressed HTML help ".chm" files,
# available natively on non-Windows OSes
#export OWWIN95HC=hcrtf
#export OWHHC=hhc
#export OWCHMCMD=chmcmd
# build process requires WGML utility which is available only as DOS executable
# it is necessary to have some DOS emulator installed
# DOSBOX emulator is available on most platforms
# DOSEMU emulator is available on Linux (Intel platform)
# if DOSBOX emulator is used then OWDOSBOX variable must be set
# Uncoment and set OWDOSBOX variable bellow to point to DOSBOX emulator executable
# export OWDOSBOX=dosbox
##################################
# Subdirectory to be used for building OW build tools
export OWOBJDIR=binbuild
# Invoke the script for the common environment
. $OWROOT/cmnvars.sh
cd $OWROOT