forked from open-watcom/open-watcom-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmnvars.sh
33 lines (26 loc) · 905 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
33
#!/bin/sh
# *****************************************************************
# cmnvars.sh - common environment variables
# *****************************************************************
# NOTE: All scripts to set the environment must call this script at
# the end.
# Set the version numbers
export OWBLDVER=20
export OWBLDVERSTR=2.0
# Set up default path information variable
if [ -z "$OWDEFPATH" ]; then
export OWDEFPATH=$PATH:
export OWDEFINCLUDE=$INCLUDE
export OWDEFWATCOM=$WATCOM
fi
# Subdirectory to be used for build binaries
export OWBINDIR=$OWROOT/build/bin
# Subdirectory containing OW sources
export OWSRCDIR=$OWROOT/bld
# Subdirectory containing documentation sources
export OWDOCSDIR=$OWROOT/docs
# Set environment variables
export PATH=$OWBINDIR:$OWROOT/build:$OWDEFPATH
export INCLUDE=$OWDEFINCLUDE
export WATCOM=$OWDEFWATCOM
echo Open Watcom build environment