1*cdf0e10cSrcweir#! /bin/sh 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir# This script starts a new shell and sets all enviroment variables, which 4*cdf0e10cSrcweir# are necessary for building the examples of the Office Development Kit. 5*cdf0e10cSrcweir# The Script was developed for the operating systems Solaris, Linux and MacOS. 6*cdf0e10cSrcweir 7*cdf0e10cSrcweir# The SDK name 8*cdf0e10cSrcweirOO_SDK_NAME=@OO_SDK_NAME@ 9*cdf0e10cSrcweirexport OO_SDK_NAME 10*cdf0e10cSrcweir 11*cdf0e10cSrcweir# Installation directory of the Software Development Kit. 12*cdf0e10cSrcweir# Example: OO_SDK_HOME=/opt/openoffice.org/basis3.0/sdk 13*cdf0e10cSrcweirOO_SDK_HOME='@OO_SDK_HOME@' 14*cdf0e10cSrcweir 15*cdf0e10cSrcweir# Office installation directory. 16*cdf0e10cSrcweir# Example: OFFICE_HOME=/opt/openoffice.org3 17*cdf0e10cSrcweirOFFICE_HOME='@OFFICE_HOME@' 18*cdf0e10cSrcweirOFFICE_BASE_HOME='@OFFICE_BASE_HOME@' 19*cdf0e10cSrcweir 20*cdf0e10cSrcweir# URE installation directory. 21*cdf0e10cSrcweir# Example: OO_SDK_URE_HOME=/opt/openoffice.org/ure 22*cdf0e10cSrcweirOO_SDK_URE_HOME='@OO_SDK_URE_HOME@' 23*cdf0e10cSrcweirexport OO_SDK_URE_HOME 24*cdf0e10cSrcweir 25*cdf0e10cSrcweir# Directory of the make command. 26*cdf0e10cSrcweir# Example: OO_SDK_MAKE_HOME=/usr/bin 27*cdf0e10cSrcweirOO_SDK_MAKE_HOME=@OO_SDK_MAKE_HOME@ 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir# Directory of the zip command. 30*cdf0e10cSrcweir# Example: OO_SDK_ZIP_HOME=/usr/bin 31*cdf0e10cSrcweirOO_SDK_ZIP_HOME=@OO_SDK_ZIP_HOME@ 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir# Directory of the C++ compiler. 34*cdf0e10cSrcweir# Example: OO_SDK_CPP_HOME=/usr/bin 35*cdf0e10cSrcweirOO_SDK_CPP_HOME=@OO_SDK_CPP_HOME@ 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir# Solaris only 38*cdf0e10cSrcweirOO_SDK_CC_55_OR_HIGHER=@OO_SDK_CC_55_OR_HIGHER@ 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir# Directory of the Java SDK. 41*cdf0e10cSrcweir# Example: OO_SDK_JAVA_HOME=/usr/jdk/jdk1.6.0_10 42*cdf0e10cSrcweirOO_SDK_JAVA_HOME=@OO_SDK_JAVA_HOME@ 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir# Special output directory 45*cdf0e10cSrcweir# Example: OO_SDK_OUTPUT_DIR=$HOME 46*cdf0e10cSrcweirOO_SDK_OUTPUT_DIR=@OO_SDK_OUTPUT_DIR@ 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir# Environment variable to enable auto deployment of example components 49*cdf0e10cSrcweir# Example: SDK_AUTO_DEPLOYMENT=YES 50*cdf0e10cSrcweirSDK_AUTO_DEPLOYMENT=@SDK_AUTO_DEPLOYMENT@ 51*cdf0e10cSrcweirexport SDK_AUTO_DEPLOYMENT 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir# Check installation path for the OpenOffice Development Kit. 54*cdf0e10cSrcweirif [ -z "${OO_SDK_HOME}" ] 55*cdf0e10cSrcweirthen 56*cdf0e10cSrcweir echo Error: Please insert a correct value for the variable OO_SDK_HOME. 57*cdf0e10cSrcweir exit 0 58*cdf0e10cSrcweirfi 59*cdf0e10cSrcweir 60*cdf0e10cSrcweirexport OO_SDK_HOME 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir# Check installation path for the office. 63*cdf0e10cSrcweirif [ -z "${OFFICE_HOME}" ] && [ -z "${OO_SDK_URE_HOME}" ] 64*cdf0e10cSrcweirthen 65*cdf0e10cSrcweir echo 'Error: Please set either the environment variable OFFICE_HOME or the' 66*cdf0e10cSrcweir echo 'environment variable OO_SDK_URE_HOME.' 67*cdf0e10cSrcweir exit 0 68*cdf0e10cSrcweirfi 69*cdf0e10cSrcweir 70*cdf0e10cSrcweir# Get the operating system. 71*cdf0e10cSrcweirsdk_platform=`${OO_SDK_HOME}/config.guess | cut -d"-" -f3,4` 72*cdf0e10cSrcweir 73*cdf0e10cSrcweir# Set the directory name. 74*cdf0e10cSrcweirprogramdir=program 75*cdf0e10cSrcweirjavadir=bin 76*cdf0e10cSrcweircase ${sdk_platform} in 77*cdf0e10cSrcweir darwin*) 78*cdf0e10cSrcweir programdir="Contents/MacOS" 79*cdf0e10cSrcweir javacdir=Commands 80*cdf0e10cSrcweir ;; 81*cdf0e10cSrcweiresac 82*cdf0e10cSrcweir 83*cdf0e10cSrcweir# Set office program path (only set when using an Office). 84*cdf0e10cSrcweirif [ "${OFFICE_HOME}" ] 85*cdf0e10cSrcweirthen 86*cdf0e10cSrcweir OFFICE_PROGRAM_PATH=${OFFICE_HOME}/${programdir} 87*cdf0e10cSrcweir export OFFICE_PROGRAM_PATH 88*cdf0e10cSrcweirfi 89*cdf0e10cSrcweir 90*cdf0e10cSrcweir# Set office program path (only set when using an Office). 91*cdf0e10cSrcweirif [ "${OFFICE_BASE_HOME}" ] 92*cdf0e10cSrcweirthen 93*cdf0e10cSrcweir OFFICE_BASE_PROGRAM_PATH=${OFFICE_BASE_HOME}/program 94*cdf0e10cSrcweir export OFFICE_BASE_PROGRAM_PATH 95*cdf0e10cSrcweirfi 96*cdf0e10cSrcweir 97*cdf0e10cSrcweir 98*cdf0e10cSrcweir# Set UNO path, necessary to ensure that the cpp examples using the 99*cdf0e10cSrcweir# new UNO bootstrap mechanism use the configured office installation (only set 100*cdf0e10cSrcweir# when using an Office). 101*cdf0e10cSrcweirif [ "${OFFICE_HOME}" ] 102*cdf0e10cSrcweirthen 103*cdf0e10cSrcweir UNO_PATH=${OFFICE_PROGRAM_PATH} 104*cdf0e10cSrcweir export UNO_PATH 105*cdf0e10cSrcweirfi 106*cdf0e10cSrcweir 107*cdf0e10cSrcweirif [ "${OO_SDK_URE_HOME}" ] 108*cdf0e10cSrcweirthen 109*cdf0e10cSrcweir OO_SDK_URE_BIN_DIR=${OO_SDK_URE_HOME}/bin 110*cdf0e10cSrcweir OO_SDK_URE_LIB_DIR=${OO_SDK_URE_HOME}/lib 111*cdf0e10cSrcweir OO_SDK_URE_JAVA_DIR=${OO_SDK_URE_HOME}/share/java 112*cdf0e10cSrcweirelse 113*cdf0e10cSrcweir OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH} 114*cdf0e10cSrcweir OO_SDK_URE_LIB_DIR=${OFFICE_BASE_PROGRAM_PATH} 115*cdf0e10cSrcweir OO_SDK_URE_JAVA_DIR=${OFFICE_BASE_PROGRAM_PATH}/classes 116*cdf0e10cSrcweirfi 117*cdf0e10cSrcweirexport OO_SDK_URE_BIN_DIR 118*cdf0e10cSrcweirexport OO_SDK_URE_LIB_DIR 119*cdf0e10cSrcweirexport OO_SDK_URE_JAVA_DIR 120*cdf0e10cSrcweir 121*cdf0e10cSrcweirOO_SDK_OUT=$OO_SDK_HOME 122*cdf0e10cSrcweir# Prepare appropriate output directory. 123*cdf0e10cSrcweirif [ -n "${OO_SDK_OUTPUT_DIR}" ] 124*cdf0e10cSrcweirthen 125*cdf0e10cSrcweir OO_SDK_OUT=${OO_SDK_OUTPUT_DIR}/${OO_SDK_NAME} 126*cdf0e10cSrcweir export OO_SDK_OUT 127*cdf0e10cSrcweirfi 128*cdf0e10cSrcweir 129*cdf0e10cSrcweir# Set the directory name. 130*cdf0e10cSrcweircase ${sdk_platform} in 131*cdf0e10cSrcweir solaris*) 132*cdf0e10cSrcweir sdk_proctype=`${OO_SDK_HOME}/config.guess | cut -d"-" -f1` 133*cdf0e10cSrcweir if [ "${sdk_proctype}" = "sparc" ] 134*cdf0e10cSrcweir then 135*cdf0e10cSrcweir directoryname=solsparc 136*cdf0e10cSrcweir platform='Solaris Sparc' 137*cdf0e10cSrcweir else 138*cdf0e10cSrcweir directoryname=solintel 139*cdf0e10cSrcweir platform='Solaris x86' 140*cdf0e10cSrcweir fi 141*cdf0e10cSrcweir comid=C52 142*cdf0e10cSrcweir pltfrm=sunpro 143*cdf0e10cSrcweir soext=so 144*cdf0e10cSrcweir exampleout=SOLARISexample.out 145*cdf0e10cSrcweir stldebug=_debug 146*cdf0e10cSrcweir LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} 147*cdf0e10cSrcweir export LD_LIBRARY_PATH 148*cdf0e10cSrcweir ;; 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir darwin*) 151*cdf0e10cSrcweir if [ -n "$OO_SDK_CPP_HOME" ] 152*cdf0e10cSrcweir then 153*cdf0e10cSrcweir SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 154*cdf0e10cSrcweir export SDK_GXX_INCLUDE_PATH 155*cdf0e10cSrcweir fi 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir directoryname=macosx 158*cdf0e10cSrcweir comid=gcc3 159*cdf0e10cSrcweir pltfrm=gcc 160*cdf0e10cSrcweir soext=dylib 161*cdf0e10cSrcweir exampleout=MACOSXexample.out 162*cdf0e10cSrcweir platform=MacOSX 163*cdf0e10cSrcweir stldebug=_stldebug 164*cdf0e10cSrcweir DYLD_LIBRARY_PATH=${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${DYLD_LIBRARY_PATH} 165*cdf0e10cSrcweir export DYLD_LIBRARY_PATH 166*cdf0e10cSrcweir ;; 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir linux-gnu) 169*cdf0e10cSrcweir if [ -n "$OO_SDK_CPP_HOME" ] 170*cdf0e10cSrcweir then 171*cdf0e10cSrcweir SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 172*cdf0e10cSrcweir export SDK_GXX_INCLUDE_PATH 173*cdf0e10cSrcweir fi 174*cdf0e10cSrcweir 175*cdf0e10cSrcweir directoryname=linux 176*cdf0e10cSrcweir comid=gcc3 177*cdf0e10cSrcweir pltfrm=gcc 178*cdf0e10cSrcweir soext=so 179*cdf0e10cSrcweir exampleout=LINUXexample.out 180*cdf0e10cSrcweir platform=Linux 181*cdf0e10cSrcweir stldebug=_stldebug 182*cdf0e10cSrcweir LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} 183*cdf0e10cSrcweir export LD_LIBRARY_PATH 184*cdf0e10cSrcweir ;; 185*cdf0e10cSrcweir 186*cdf0e10cSrcweir freebsd*) 187*cdf0e10cSrcweir if [ -n "$OO_SDK_CPP_HOME" ] 188*cdf0e10cSrcweir then 189*cdf0e10cSrcweir SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1` 190*cdf0e10cSrcweir export SDK_GXX_INCLUDE_PATH 191*cdf0e10cSrcweir fi 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir directoryname=freebsd 194*cdf0e10cSrcweir comid=gcc3 195*cdf0e10cSrcweir pltfrm=gcc 196*cdf0e10cSrcweir soext=so 197*cdf0e10cSrcweir exampleout=FREEBSDexample.out 198*cdf0e10cSrcweir platform=FreeBSD 199*cdf0e10cSrcweir stldebug=_stldebug 200*cdf0e10cSrcweir LD_LIBRARY_PATH=${OO_SDK_HOME}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_URE_LIB_DIR}:.:${LD_LIBRARY_PATH} 201*cdf0e10cSrcweir export LD_LIBRARY_PATH 202*cdf0e10cSrcweir 203*cdf0e10cSrcweir if [ -e "/sbin/sysctl" ] 204*cdf0e10cSrcweir then 205*cdf0e10cSrcweir OSVERSION=`/sbin/sysctl -n kern.osreldate` 206*cdf0e10cSrcweir else 207*cdf0e10cSrcweir OSVERSION=`/usr/sbin/sysctl -n kern.osreldate` 208*cdf0e10cSrcweir fi 209*cdf0e10cSrcweir if [ $OSVERSION -lt 500016 ] 210*cdf0e10cSrcweir then 211*cdf0e10cSrcweir PTHREAD_CFLAGS=-D_THREAD_SAFE 212*cdf0e10cSrcweir PTHREAD_LIBS=-pthread 213*cdf0e10cSrcweir export PTHREAD_CFLAGS 214*cdf0e10cSrcweir export PTHREAD_LIBS 215*cdf0e10cSrcweir elif [ $OSVERSION -lt 502102 ] 216*cdf0e10cSrcweir then 217*cdf0e10cSrcweir PTHREAD_CFLAGS=-D_THREAD_SAFE 218*cdf0e10cSrcweir PTHREAD_LIBS=-lc_r 219*cdf0e10cSrcweir export PTHREAD_CFLAGS 220*cdf0e10cSrcweir export PTHREAD_LIBS 221*cdf0e10cSrcweir else 222*cdf0e10cSrcweir PTHREAD_LIBS=-pthread 223*cdf0e10cSrcweir export PTHREAD_LIBS 224*cdf0e10cSrcweir fi 225*cdf0e10cSrcweir ;; 226*cdf0e10cSrcweiresac 227*cdf0e10cSrcweir 228*cdf0e10cSrcweir# Add directory of the SDK tools to the path. 229*cdf0e10cSrcweirPATH=${OO_SDK_HOME}/bin:${OO_SDK_OUT}/${exampleout}/bin:${OO_SDK_URE_BIN_DIR}:${OFFICE_PROGRAM_PATH}:.:${PATH} 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir# Set the classpath 232*cdf0e10cSrcweirCLASSPATH=${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} 233*cdf0e10cSrcweirexport CLASSPATH 234*cdf0e10cSrcweir 235*cdf0e10cSrcweir 236*cdf0e10cSrcweir# Add directory of the command make to the path, if necessary. 237*cdf0e10cSrcweirif [ -n "${OO_SDK_MAKE_HOME}" ] 238*cdf0e10cSrcweirthen 239*cdf0e10cSrcweir PATH=${OO_SDK_MAKE_HOME}:${PATH} 240*cdf0e10cSrcweir export OO_SDK_MAKE_HOME 241*cdf0e10cSrcweirfi 242*cdf0e10cSrcweir 243*cdf0e10cSrcweir# Add directory of the zip tool to the path, if necessary. 244*cdf0e10cSrcweirif [ -n "${OO_SDK_ZIP_HOME}" ] 245*cdf0e10cSrcweirthen 246*cdf0e10cSrcweir PATH=${OO_SDK_ZIP_HOME}:${PATH} 247*cdf0e10cSrcweir export OO_SDK_ZIP_HOME 248*cdf0e10cSrcweirfi 249*cdf0e10cSrcweir 250*cdf0e10cSrcweir# Add directory of the C++ tools to the path, if necessary. 251*cdf0e10cSrcweirif [ -n "${OO_SDK_CPP_HOME}" ] 252*cdf0e10cSrcweirthen 253*cdf0e10cSrcweir PATH=${OO_SDK_CPP_HOME}:${PATH} 254*cdf0e10cSrcweir export OO_SDK_CPP_HOME 255*cdf0e10cSrcweir 256*cdf0e10cSrcweir if [ -n "${OO_SDK_CC_55_OR_HIGHER}" ] 257*cdf0e10cSrcweir then 258*cdf0e10cSrcweir export OO_SDK_CC_55_OR_HIGHER 259*cdf0e10cSrcweir fi 260*cdf0e10cSrcweirfi 261*cdf0e10cSrcweir 262*cdf0e10cSrcweir# Add directory of the Java tools to the path, if necessary. 263*cdf0e10cSrcweirif [ -n "${OO_SDK_JAVA_HOME}" ] 264*cdf0e10cSrcweirthen 265*cdf0e10cSrcweir PATH=${OO_SDK_JAVA_HOME}/${javadir}:${PATH} 266*cdf0e10cSrcweir# JAVA_HOME=${OO_SDK_JAVA_HOME} 267*cdf0e10cSrcweir# export JAVA_HOME 268*cdf0e10cSrcweir export OO_SDK_JAVA_HOME 269*cdf0e10cSrcweir 270*cdf0e10cSrcweir export PATH 271*cdf0e10cSrcweirfi 272*cdf0e10cSrcweir 273*cdf0e10cSrcweirexport PATH 274*cdf0e10cSrcweir 275*cdf0e10cSrcweirif [ -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${stldebug}.${soext}" ] 276*cdf0e10cSrcweirthen 277*cdf0e10cSrcweir STLDEBUG=${stldebug} 278*cdf0e10cSrcweir export STLDEBUG 279*cdf0e10cSrcweirfi 280*cdf0e10cSrcweir 281*cdf0e10cSrcweirif [ "${platform}" = "MacOSX" ] 282*cdf0e10cSrcweirthen 283*cdf0e10cSrcweir# For URE, prepare symbolic links for libraries: 284*cdf0e10cSrcweir# Only necessary on MacOSX, on other Unix systems the links are already prepared 285*cdf0e10cSrcweir# in the SDK installation. 286*cdf0e10cSrcweir 287*cdf0e10cSrcweir# cleanup potential old links first 288*cdf0e10cSrcweir rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}" \ 289*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \ 290*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \ 291*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" \ 292*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_purpenvhelper${comid}.${soext}" 293*cdf0e10cSrcweir 294*cdf0e10cSrcweir if [ -L "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" ] 295*cdf0e10cSrcweir then 296*cdf0e10cSrcweir rm -rf "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" 297*cdf0e10cSrcweir fi 298*cdf0e10cSrcweir 299*cdf0e10cSrcweir# prepare links 300*cdf0e10cSrcweir if [ "${OO_SDK_URE_HOME}" ] 301*cdf0e10cSrcweir then 302*cdf0e10cSrcweir mkdir -p "${OO_SDK_OUT}/${directoryname}/lib" 303*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \ 304*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}" 305*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \ 306*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" 307*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \ 308*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" 309*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \ 310*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}" 311*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libuno_purpenvhelper${comid}.${soext}.3" \ 312*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libuno_purpenvhelper${comid}.${soext}" 313*cdf0e10cSrcweir 314*cdf0e10cSrcweir if [ -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" ] 315*cdf0e10cSrcweir then 316*cdf0e10cSrcweir ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" \ 317*cdf0e10cSrcweir "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" 318*cdf0e10cSrcweir fi 319*cdf0e10cSrcweir fi 320*cdf0e10cSrcweirfi 321*cdf0e10cSrcweir 322*cdf0e10cSrcweir 323*cdf0e10cSrcweir# Prepare shell with all necessary environment variables. 324*cdf0e10cSrcweirecho 325*cdf0e10cSrcweirecho " ************************************************************************" 326*cdf0e10cSrcweirecho " *" 327*cdf0e10cSrcweirecho " * SDK environment is prepared for ${platform}" 328*cdf0e10cSrcweirecho " *" 329*cdf0e10cSrcweirecho " * SDK = $OO_SDK_HOME" 330*cdf0e10cSrcweirecho " * Office = $OFFICE_HOME" 331*cdf0e10cSrcweirecho " * Office Base = $OFFICE_BASE_HOME" 332*cdf0e10cSrcweirecho " * URE = $OO_SDK_URE_HOME" 333*cdf0e10cSrcweirecho " * Make = $OO_SDK_MAKE_HOME" 334*cdf0e10cSrcweirecho " * Zip = $OO_SDK_ZIP_HOME" 335*cdf0e10cSrcweirecho " * C++ Compiler = $OO_SDK_CPP_HOME" 336*cdf0e10cSrcweirecho " * Java = $OO_SDK_JAVA_HOME" 337*cdf0e10cSrcweirecho " * SDK Output directory = $OO_SDK_OUT" 338*cdf0e10cSrcweirecho " * Auto deployment = $SDK_AUTO_DEPLOYMENT" 339*cdf0e10cSrcweirecho " *" 340*cdf0e10cSrcweirecho " ************************************************************************" 341*cdf0e10cSrcweir 342*cdf0e10cSrcweirecho "]2;Shell prepared with the SDK environment" 343*cdf0e10cSrcweir 344