2005-01-31 08:55:16 -06:00
|
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
|
|
# This script starts a new shell and sets all enviroment variables, which
|
|
|
|
|
# are necessary for building the examples of the Office Development Kit.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
# The Script was developed for the operating systems Solaris, Linux and MacOS.
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
|
|
|
|
# The SDK name
|
|
|
|
|
OO_SDK_NAME=@OO_SDK_NAME@
|
2005-11-09 02:29:22 -06:00
|
|
|
|
export OO_SDK_NAME
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
|
|
|
|
# Installation directory of the Software Development Kit.
|
2011-03-24 03:40:09 -05:00
|
|
|
|
# Example: OO_SDK_HOME=/opt/libreoffice/basis3.4/sdk
|
2010-05-06 11:26:40 -05:00
|
|
|
|
OO_SDK_HOME='@OO_SDK_HOME@'
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
|
|
|
|
# Office installation directory.
|
2011-03-24 03:40:09 -05:00
|
|
|
|
# Example: OFFICE_HOME=/opt/libreoffice
|
2010-05-06 11:26:40 -05:00
|
|
|
|
OFFICE_HOME='@OFFICE_HOME@'
|
|
|
|
|
OFFICE_BASE_HOME='@OFFICE_BASE_HOME@'
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
2005-06-17 03:37:58 -05:00
|
|
|
|
# URE installation directory.
|
2011-03-24 03:40:09 -05:00
|
|
|
|
# Example: OO_SDK_URE_HOME=/opt/libreoffice/ure
|
2010-05-06 11:26:40 -05:00
|
|
|
|
OO_SDK_URE_HOME='@OO_SDK_URE_HOME@'
|
2005-06-17 03:37:58 -05:00
|
|
|
|
export OO_SDK_URE_HOME
|
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
# Directory of the make command.
|
|
|
|
|
# Example: OO_SDK_MAKE_HOME=/usr/bin
|
|
|
|
|
OO_SDK_MAKE_HOME=@OO_SDK_MAKE_HOME@
|
|
|
|
|
|
|
|
|
|
# Directory of the zip command.
|
|
|
|
|
# Example: OO_SDK_ZIP_HOME=/usr/bin
|
|
|
|
|
OO_SDK_ZIP_HOME=@OO_SDK_ZIP_HOME@
|
|
|
|
|
|
|
|
|
|
# Directory of the C++ compiler.
|
|
|
|
|
# Example: OO_SDK_CPP_HOME=/usr/bin
|
|
|
|
|
OO_SDK_CPP_HOME=@OO_SDK_CPP_HOME@
|
|
|
|
|
|
|
|
|
|
# Solaris only
|
|
|
|
|
OO_SDK_CC_55_OR_HIGHER=@OO_SDK_CC_55_OR_HIGHER@
|
|
|
|
|
|
|
|
|
|
# Directory of the Java SDK.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
# Example: OO_SDK_JAVA_HOME=/usr/jdk/jdk1.6.0_10
|
2005-01-31 08:55:16 -06:00
|
|
|
|
OO_SDK_JAVA_HOME=@OO_SDK_JAVA_HOME@
|
|
|
|
|
|
|
|
|
|
# Special output directory
|
|
|
|
|
# Example: OO_SDK_OUTPUT_DIR=$HOME
|
|
|
|
|
OO_SDK_OUTPUT_DIR=@OO_SDK_OUTPUT_DIR@
|
|
|
|
|
|
|
|
|
|
# Environment variable to enable auto deployment of example components
|
|
|
|
|
# Example: SDK_AUTO_DEPLOYMENT=YES
|
|
|
|
|
SDK_AUTO_DEPLOYMENT=@SDK_AUTO_DEPLOYMENT@
|
|
|
|
|
export SDK_AUTO_DEPLOYMENT
|
|
|
|
|
|
2008-07-11 08:14:23 -05:00
|
|
|
|
# Check installation path for the OpenOffice Development Kit.
|
|
|
|
|
if [ -z "${OO_SDK_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
|
|
|
|
echo Error: Please insert a correct value for the variable OO_SDK_HOME.
|
|
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
export OO_SDK_HOME
|
|
|
|
|
|
|
|
|
|
# Check installation path for the office.
|
2005-06-17 03:37:58 -05:00
|
|
|
|
if [ -z "${OFFICE_HOME}" ] && [ -z "${OO_SDK_URE_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2005-06-17 03:37:58 -05:00
|
|
|
|
echo 'Error: Please set either the environment variable OFFICE_HOME or the'
|
|
|
|
|
echo 'environment variable OO_SDK_URE_HOME.'
|
2005-01-31 08:55:16 -06:00
|
|
|
|
exit 0
|
|
|
|
|
fi
|
|
|
|
|
|
2008-07-11 08:14:23 -05:00
|
|
|
|
# Get the operating system.
|
|
|
|
|
sdk_platform=`${OO_SDK_HOME}/config.guess | cut -d"-" -f3,4`
|
|
|
|
|
|
|
|
|
|
# Set the directory name.
|
|
|
|
|
programdir=program
|
|
|
|
|
javadir=bin
|
|
|
|
|
case ${sdk_platform} in
|
|
|
|
|
darwin*)
|
|
|
|
|
programdir="Contents/MacOS"
|
|
|
|
|
javacdir=Commands
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
2005-06-17 03:37:58 -05:00
|
|
|
|
# Set office program path (only set when using an Office).
|
|
|
|
|
if [ "${OFFICE_HOME}" ]
|
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
OFFICE_PROGRAM_PATH=${OFFICE_HOME}/${programdir}
|
2005-06-17 03:37:58 -05:00
|
|
|
|
export OFFICE_PROGRAM_PATH
|
|
|
|
|
fi
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
2008-07-11 08:14:23 -05:00
|
|
|
|
# Set office program path (only set when using an Office).
|
|
|
|
|
if [ "${OFFICE_BASE_HOME}" ]
|
|
|
|
|
then
|
|
|
|
|
OFFICE_BASE_PROGRAM_PATH=${OFFICE_BASE_HOME}/program
|
|
|
|
|
export OFFICE_BASE_PROGRAM_PATH
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
# Set UNO path, necessary to ensure that the cpp examples using the
|
2005-06-17 03:37:58 -05:00
|
|
|
|
# new UNO bootstrap mechanism use the configured office installation (only set
|
|
|
|
|
# when using an Office).
|
|
|
|
|
if [ "${OFFICE_HOME}" ]
|
|
|
|
|
then
|
|
|
|
|
UNO_PATH=${OFFICE_PROGRAM_PATH}
|
|
|
|
|
export UNO_PATH
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "${OO_SDK_URE_HOME}" ]
|
|
|
|
|
then
|
|
|
|
|
OO_SDK_URE_BIN_DIR=${OO_SDK_URE_HOME}/bin
|
|
|
|
|
OO_SDK_URE_LIB_DIR=${OO_SDK_URE_HOME}/lib
|
|
|
|
|
OO_SDK_URE_JAVA_DIR=${OO_SDK_URE_HOME}/share/java
|
|
|
|
|
else
|
|
|
|
|
OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH}
|
2008-07-11 08:14:23 -05:00
|
|
|
|
OO_SDK_URE_LIB_DIR=${OFFICE_BASE_PROGRAM_PATH}
|
|
|
|
|
OO_SDK_URE_JAVA_DIR=${OFFICE_BASE_PROGRAM_PATH}/classes
|
2005-06-17 03:37:58 -05:00
|
|
|
|
fi
|
|
|
|
|
export OO_SDK_URE_BIN_DIR
|
|
|
|
|
export OO_SDK_URE_LIB_DIR
|
|
|
|
|
export OO_SDK_URE_JAVA_DIR
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
2008-07-11 08:14:23 -05:00
|
|
|
|
OO_SDK_OUT=$OO_SDK_HOME
|
2005-01-31 08:55:16 -06:00
|
|
|
|
# Prepare appropriate output directory.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_OUTPUT_DIR}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2009-07-06 09:40:18 -05:00
|
|
|
|
OO_SDK_OUT=${OO_SDK_OUTPUT_DIR}/${OO_SDK_NAME}
|
2008-07-11 08:14:23 -05:00
|
|
|
|
export OO_SDK_OUT
|
2005-01-31 08:55:16 -06:00
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Set the directory name.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
case ${sdk_platform} in
|
2005-03-07 10:30:36 -06:00
|
|
|
|
solaris*)
|
2008-07-11 08:14:23 -05:00
|
|
|
|
sdk_proctype=`${OO_SDK_HOME}/config.guess | cut -d"-" -f1`
|
|
|
|
|
if [ "${sdk_proctype}" = "sparc" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
|
|
|
|
directoryname=solsparc
|
|
|
|
|
platform='Solaris Sparc'
|
|
|
|
|
else
|
|
|
|
|
directoryname=solintel
|
|
|
|
|
platform='Solaris x86'
|
|
|
|
|
fi
|
2005-06-17 03:37:58 -05:00
|
|
|
|
comid=C52
|
|
|
|
|
pltfrm=sunpro
|
|
|
|
|
soext=so
|
2005-01-31 08:55:16 -06:00
|
|
|
|
exampleout=SOLARISexample.out
|
2009-08-06 02:01:05 -05:00
|
|
|
|
LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
;;
|
|
|
|
|
|
2005-11-09 02:29:22 -06:00
|
|
|
|
darwin*)
|
2005-03-29 05:03:27 -06:00
|
|
|
|
if [ -n "$OO_SDK_CPP_HOME" ]
|
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
|
2005-03-29 05:03:27 -06:00
|
|
|
|
export SDK_GXX_INCLUDE_PATH
|
|
|
|
|
fi
|
2005-03-01 05:07:48 -06:00
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
directoryname=macosx
|
2005-06-17 03:37:58 -05:00
|
|
|
|
comid=gcc3
|
|
|
|
|
pltfrm=gcc
|
|
|
|
|
soext=dylib
|
2005-01-31 08:55:16 -06:00
|
|
|
|
exampleout=MACOSXexample.out
|
|
|
|
|
platform=MacOSX
|
2008-07-11 08:14:23 -05:00
|
|
|
|
DYLD_LIBRARY_PATH=${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${DYLD_LIBRARY_PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export DYLD_LIBRARY_PATH
|
|
|
|
|
;;
|
|
|
|
|
|
2005-03-07 10:30:36 -06:00
|
|
|
|
linux-gnu)
|
2005-03-29 05:03:27 -06:00
|
|
|
|
if [ -n "$OO_SDK_CPP_HOME" ]
|
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
|
2005-03-29 05:03:27 -06:00
|
|
|
|
export SDK_GXX_INCLUDE_PATH
|
|
|
|
|
fi
|
2005-03-01 05:07:48 -06:00
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
directoryname=linux
|
2005-06-17 03:37:58 -05:00
|
|
|
|
comid=gcc3
|
|
|
|
|
pltfrm=gcc
|
|
|
|
|
soext=so
|
2005-01-31 08:55:16 -06:00
|
|
|
|
exampleout=LINUXexample.out
|
|
|
|
|
platform=Linux
|
2009-08-06 02:01:05 -05:00
|
|
|
|
LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
;;
|
2005-03-29 05:03:27 -06:00
|
|
|
|
|
2005-05-31 10:39:11 -05:00
|
|
|
|
freebsd*)
|
2005-03-29 05:03:27 -06:00
|
|
|
|
if [ -n "$OO_SDK_CPP_HOME" ]
|
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
|
2005-03-29 05:03:27 -06:00
|
|
|
|
export SDK_GXX_INCLUDE_PATH
|
|
|
|
|
fi
|
2005-03-01 05:07:48 -06:00
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
directoryname=freebsd
|
2005-06-17 03:37:58 -05:00
|
|
|
|
comid=gcc3
|
|
|
|
|
pltfrm=gcc
|
|
|
|
|
soext=so
|
2005-01-31 08:55:16 -06:00
|
|
|
|
exampleout=FREEBSDexample.out
|
|
|
|
|
platform=FreeBSD
|
2009-08-06 02:01:05 -05:00
|
|
|
|
LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
|
|
if [ -e "/sbin/sysctl" ]
|
|
|
|
|
then
|
|
|
|
|
OSVERSION=`/sbin/sysctl -n kern.osreldate`
|
|
|
|
|
else
|
|
|
|
|
OSVERSION=`/usr/sbin/sysctl -n kern.osreldate`
|
|
|
|
|
fi
|
|
|
|
|
if [ $OSVERSION -lt 500016 ]
|
|
|
|
|
then
|
|
|
|
|
PTHREAD_CFLAGS=-D_THREAD_SAFE
|
|
|
|
|
PTHREAD_LIBS=-pthread
|
|
|
|
|
export PTHREAD_CFLAGS
|
|
|
|
|
export PTHREAD_LIBS
|
|
|
|
|
elif [ $OSVERSION -lt 502102 ]
|
|
|
|
|
then
|
|
|
|
|
PTHREAD_CFLAGS=-D_THREAD_SAFE
|
|
|
|
|
PTHREAD_LIBS=-lc_r
|
|
|
|
|
export PTHREAD_CFLAGS
|
|
|
|
|
export PTHREAD_LIBS
|
|
|
|
|
else
|
|
|
|
|
PTHREAD_LIBS=-pthread
|
|
|
|
|
export PTHREAD_LIBS
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# Add directory of the SDK tools to the path.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
PATH=${OO_SDK_HOME}/bin:${OO_SDK_OUT}/${exampleout}/bin:${OO_SDK_URE_BIN_DIR}:${OFFICE_PROGRAM_PATH}:.:${PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
|
|
|
|
|
# Set the classpath
|
2008-07-11 08:14:23 -05:00
|
|
|
|
CLASSPATH=${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar:${OFFICE_BASE_PROGRAM_PATH}/classes/unoil.jar:${CLASSPATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export CLASSPATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Add directory of the command make to the path, if necessary.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_MAKE_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
PATH=${OO_SDK_MAKE_HOME}:${PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export OO_SDK_MAKE_HOME
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Add directory of the zip tool to the path, if necessary.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_ZIP_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
PATH=${OO_SDK_ZIP_HOME}:${PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export OO_SDK_ZIP_HOME
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Add directory of the C++ tools to the path, if necessary.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_CPP_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
PATH=${OO_SDK_CPP_HOME}:${PATH}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
export OO_SDK_CPP_HOME
|
|
|
|
|
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_CC_55_OR_HIGHER}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
|
|
|
|
export OO_SDK_CC_55_OR_HIGHER
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Add directory of the Java tools to the path, if necessary.
|
2008-07-11 08:14:23 -05:00
|
|
|
|
if [ -n "${OO_SDK_JAVA_HOME}" ]
|
2005-01-31 08:55:16 -06:00
|
|
|
|
then
|
2008-07-11 08:14:23 -05:00
|
|
|
|
PATH=${OO_SDK_JAVA_HOME}/${javadir}:${PATH}
|
|
|
|
|
# JAVA_HOME=${OO_SDK_JAVA_HOME}
|
2005-01-31 08:55:16 -06:00
|
|
|
|
# export JAVA_HOME
|
|
|
|
|
export OO_SDK_JAVA_HOME
|
|
|
|
|
|
|
|
|
|
export PATH
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
export PATH
|
|
|
|
|
|
2009-07-06 09:40:18 -05:00
|
|
|
|
if [ "${platform}" = "MacOSX" ]
|
2008-01-28 09:15:11 -06:00
|
|
|
|
then
|
2009-07-06 09:40:18 -05:00
|
|
|
|
# For URE, prepare symbolic links for libraries:
|
|
|
|
|
# Only necessary on MacOSX, on other Unix systems the links are already prepared
|
|
|
|
|
# in the SDK installation.
|
2008-01-28 09:15:11 -06:00
|
|
|
|
|
2009-07-06 09:40:18 -05:00
|
|
|
|
# cleanup potential old links first
|
|
|
|
|
rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \
|
2009-08-06 02:01:05 -05:00
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_purpenvhelper${comid}.${soext}"
|
2008-01-28 09:15:11 -06:00
|
|
|
|
|
2009-07-06 09:40:18 -05:00
|
|
|
|
# prepare links
|
|
|
|
|
if [ "${OO_SDK_URE_HOME}" ]
|
|
|
|
|
then
|
|
|
|
|
mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
|
|
|
|
|
ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}"
|
|
|
|
|
ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}"
|
|
|
|
|
ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}"
|
|
|
|
|
ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
|
2009-08-06 02:01:05 -05:00
|
|
|
|
ln -s "${OO_SDK_URE_LIB_DIR}/libuno_purpenvhelper${comid}.${soext}.3" \
|
|
|
|
|
"${OO_SDK_OUT}/${directoryname}/lib/libuno_purpenvhelper${comid}.${soext}"
|
2009-07-06 09:40:18 -05:00
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
2005-06-17 03:37:58 -05:00
|
|
|
|
|
2005-01-31 08:55:16 -06:00
|
|
|
|
# Prepare shell with all necessary environment variables.
|
|
|
|
|
echo
|
|
|
|
|
echo " ************************************************************************"
|
|
|
|
|
echo " *"
|
|
|
|
|
echo " * SDK environment is prepared for ${platform}"
|
|
|
|
|
echo " *"
|
|
|
|
|
echo " * SDK = $OO_SDK_HOME"
|
|
|
|
|
echo " * Office = $OFFICE_HOME"
|
2008-07-11 08:14:23 -05:00
|
|
|
|
echo " * Office Base = $OFFICE_BASE_HOME"
|
2005-06-17 03:37:58 -05:00
|
|
|
|
echo " * URE = $OO_SDK_URE_HOME"
|
2005-01-31 08:55:16 -06:00
|
|
|
|
echo " * Make = $OO_SDK_MAKE_HOME"
|
|
|
|
|
echo " * Zip = $OO_SDK_ZIP_HOME"
|
|
|
|
|
echo " * C++ Compiler = $OO_SDK_CPP_HOME"
|
|
|
|
|
echo " * Java = $OO_SDK_JAVA_HOME"
|
2008-07-11 08:14:23 -05:00
|
|
|
|
echo " * SDK Output directory = $OO_SDK_OUT"
|
2005-01-31 08:55:16 -06:00
|
|
|
|
echo " * Auto deployment = $SDK_AUTO_DEPLOYMENT"
|
|
|
|
|
echo " *"
|
|
|
|
|
echo " ************************************************************************"
|
|
|
|
|
|
|
|
|
|
echo "]2;Shell prepared with the SDK environment"
|
|
|
|
|
|