forked from hubei/open-watcom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmnvars.sh
32 lines (25 loc) · 917 Bytes
/
cmnvars.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
# *****************************************************************
# CMNVARS.SH - common environment variables
# *****************************************************************
# NOTE: All scripts to set the environment must call this script at
# the end.
# Set the version numbers
export BLD_VER=20
export BLD_VER_STR=2.0
# Set up default path information variable
[ -n "$DEFPATH" ] || export DEFPATH=$PATH
# Stuff for the Open Watcom build environment
export BUILD_PLATFORM=linux386
export BUILDER_CTL=lang.ctl
export DEVDIR=$OWROOT/bld
# Subdirectory to be used for bootstrapping/prebuild binaries
export OWBINDIR=$DEVDIR/build/binl
export RELROOT=$OWROOT/rel2
export DWATCOM=$WATCOM
export INCLUDE=$WATCOM/lh
export EDPATH=$WATCOM/eddat
export PATH=$OWBINDIR:$OWROOT/bat:$WATCOM/binl:$DEFPATH
echo Open Watcom compiler build environment
# OS specifics
export WD_PATH=$WATCOM/binl
export MAKE=make