diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-02-19 11:42:47 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-02-19 11:42:47 +0000 |
commit | 53df3a5262d8af5bc66575ab91cd38a54b7ff096 (patch) | |
tree | 1d171e39027f741c79e811fdde81e9770dc598b9 /cpputools | |
parent | 87388080cb05950eefaec978f5143e695ba5304b (diff) |
CWS-TOOLING: integrate CWS sb104
2009-01-27 13:09:06 +0100 sb r266986 : #i97992# cws rebase: merged cws/sb104/config_office/set_soenv.in with moved tags/DEV300_m40/set_soenv.in
2009-01-27 10:56:40 +0100 sb r266966 : CWS-TOOLING: rebase CWS sb104 to trunk@266944 (milestone: DEV300:m40)
2009-01-20 14:37:00 +0100 sb r266581 : #i97992# missing treatment of Solaris-only adjustvisibility as build-internal tool
2009-01-20 09:32:38 +0100 sb r266554 : CWS-TOOLING: rebase CWS sb104 to trunk@266428 (milestone: DEV300:m39)
2009-01-14 13:40:45 +0100 sb r266296 : #i97992# do not pass comment lines to shell
2009-01-14 12:50:34 +0100 sb r266290 : #i97992# avoid problems with checkdll not finding AWTLIB and its dependents
2009-01-14 12:49:20 +0100 sb r266289 : #i97992# on Linux and Solaris, regxpcom apparently needs to be called with the libxpcom.so directory on the LD_LIBRARY_PATH
2009-01-13 09:41:37 +0100 sb r266196 : #i97992# fixed AUGMENT_LIBRARY_PATH definitions
2009-01-12 18:02:03 +0100 sb r266177 : #i97992# get rid of LD_LIBRARY_PATH in build environment
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/prj/d.lst | 2 | ||||
-rw-r--r-- | cpputools/source/registercomponent/makefile.mk | 9 | ||||
-rwxr-xr-x | cpputools/source/registercomponent/regcomp.sh | 144 |
3 files changed, 1 insertions, 154 deletions
diff --git a/cpputools/prj/d.lst b/cpputools/prj/d.lst index 1e6a1440e6d4..fa029cc4deeb 100644 --- a/cpputools/prj/d.lst +++ b/cpputools/prj/d.lst @@ -1,6 +1,6 @@ ..\%__SRC%\bin\regcomp.exe %_DEST%\bin%_EXT%\regcomp.exe +..\%__SRC%\bin\regcomp %_DEST%\bin%_EXT%\regcomp ..\%__SRC%\bin\regcomp %_DEST%\bin%_EXT%\regcomp.bin -..\%__SRC%\misc\regcomp.sh %_DEST%\bin%_EXT%\regcomp ..\%__SRC%\bin\regcomplazy.exe %_DEST%\bin%_EXT%\regcomplazy.exe ..\%__SRC%\bin\regcomplazy %_DEST%\bin%_EXT%\regcomplazy ..\%__SRC%\bin\uno.exe %_DEST%\bin%_EXT%\uno.exe diff --git a/cpputools/source/registercomponent/makefile.mk b/cpputools/source/registercomponent/makefile.mk index f0eb46e203d4..e03df0265a61 100644 --- a/cpputools/source/registercomponent/makefile.mk +++ b/cpputools/source/registercomponent/makefile.mk @@ -45,7 +45,6 @@ UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb NO_OFFUH=TRUE CPPUMAKERFLAGS += -C -UNIXTEXT= $(MISC)$/regcomp.sh UNOTYPES=\ com.sun.star.uno.TypeClass \ com.sun.star.lang.XMultiServiceFactory \ @@ -78,11 +77,3 @@ APP1STDLIBS+= \ .INCLUDE : target.mk - - -.IF "$(GUI)"=="UNX" -ALLTAR: REGCOMPSH - -REGCOMPSH : $(UNIXTEXT) - +-chmod +x $(UNIXTEXT) -.ENDIF diff --git a/cpputools/source/registercomponent/regcomp.sh b/cpputools/source/registercomponent/regcomp.sh deleted file mode 100755 index 68a46450abb2..000000000000 --- a/cpputools/source/registercomponent/regcomp.sh +++ /dev/null @@ -1,144 +0,0 @@ -#!/bin/sh -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2008 by Sun Microsystems, Inc. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# $RCSfile: regcomp.sh,v $ -# -# $Revision: 1.4 $ -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -# resolve installation directory -sd_cwd="`pwd`" -if [ -h "$0" ] ; then - sd_basename=`basename "$0"` - sd_script=`ls -l "$0" | sed "s/.*${sd_basename} -> //g"` - cd "`dirname "$0"`" - cd "`dirname "$sd_script"`" -else - cd "`dirname "$0"`" -fi - -sd_prog="`pwd`" - -cd .. -sd_binary=`basename "$0"`".bin" -sd_inst="`pwd`" - -# change back directory -cd "$sd_cwd" - -# set search path for shared libraries -sd_platform=`uname -s` -case $sd_platform in - AIX) - # this is a temporary hack until we can live with the default search paths - if [ $LIBPATH ]; then - SYSTEM_LIBPATH=$LIBPATH - export SYSTEM_LIBPATH - fi - LIBPATH="$sd_prog":$LIBPATH - export LIBPATH - ;; - - Darwin) - # this is a temporary hack until we can live with the default search paths - if [ $DYLD_LIBRARY_PATH ]; then - SYSTEM_DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH - export SYSTEM_DYLD_LIBRARY_PATH - fi - DYLD_LIBRARY_PATH="$sd_prog":$DYLD_LIBRARY_PATH - export DYLD_LIBRARY_PATH - ;; - - HP-UX) - # this is a temporary hack until we can live with the default search paths - if [ $SHLIB_PATH ]; then - SYSTEM_SHLIB_PATH=$SHLIB_PATH - export SYSTEM_SHLIB_PATH - fi - SHLIB_PATH="$sd_prog":/usr/openwin/lib:$SHLIB_PATH - export SHLIB_PATH - ;; - - IRIX*) - # this is a temporary hack until we can live with the default search paths - if [ $LD_LIBRARYN32_PATH ]; then - SYSTEM_LD_LIBRARYN32_PATH=$LD_LIBRARYN32_PATH - export SYSTEM_LD_LIBRARYN32_PATH - fi - LD_LIBRARYN32_PATH=:"$sd_prog":$LD_LIBRARYN32_PATH - export LD_LIBRARYN32_PATH - ;; - - *) - # this is a temporary hack until we can live with the default search paths - if [ $LD_LIBRARY_PATH ]; then - SYSTEM_LD_LIBRARY_PATH=$LD_LIBRARY_PATH - export SYSTEM_LD_LIBRARY_PATH - fi - LD_LIBRARY_PATH="$sd_prog":$LD_LIBRARY_PATH - export LD_LIBRARY_PATH - ;; -esac - -#collect all bootstrap variables specified on the command line -#so that they can be passed as arguments to javaldx later on -for arg in $@ -do - case "$arg" in - -env:*) BOOTSTRAPVARS=$BOOTSTRAPVARS" ""$arg";; - esac -done - -# extend the ld_library_path for java: javaldx checks the sofficerc for us -if [ -x "$sd_prog/javaldx" ] ; then - java_ld_library_path=`"$sd_prog/javaldx" $BOOTSTRAPVARS` - if [ "$java_ld_library_path" != "" ] ; then - case $sd_platform in - AIX) - LIBPATH=${java_ld_library_path}:${LIBPATH} - ;; - Darwin) - DYLD_LIBRARY_PATH=${java_ld_library_path}:${DYLD_LIBRARY_PATH} - ;; - HP-UX) - SHLIB_PATH=${java_ld_library_path}:${SHLIB_PATH} - ;; - IRIX*) - LD_LIBRARYN32_PATH=${java_ld_library_path}:${LD_LIBRARYN32_PATH} - ;; - *) - LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH} - ;; - esac - fi -fi - - - -# execute binary -exec "$sd_prog/$sd_binary" "$@" - |