diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-08-27 12:50:24 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-08-27 12:50:24 +0000 |
commit | daf791e97b29cb5ba1a0d090b8a4b9f8134dc134 (patch) | |
tree | 9fbda3306f506e82a6316f982a4239d913271cf5 /odk/settings | |
parent | fb628a14effee32636f98db38fff2d3187c9bf55 (diff) |
INTEGRATION: CWS sb91 (1.30.2); FILE MERGED
2008/07/18 12:32:02 sb 1.30.2.1: #i91567# adapted to unxsolu4
Diffstat (limited to 'odk/settings')
-rw-r--r-- | odk/settings/settings.mk | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk index 454bf8d09066..350a78c152d2 100644 --- a/odk/settings/settings.mk +++ b/odk/settings/settings.mk @@ -129,7 +129,7 @@ endif ifneq (,$(findstring solaris,$(PLATFORM))) # Settings for Solaris using Sun Workshop compiler -PROCTYPE := $(shell $(PRJ)/config.guess | cut -d"-" -f1) +PROCTYPE := $(shell $(PRJ)/config.guess | cut -d"-" -f1)$(shell /usr/ccs/bin/elfdump -e "$(OO_SDK_URE_HOME)/lib/libuno_sal.so.3" | /usr/xpg4/bin/grep -q -w ELFCLASS64 && echo 64) ifeq "$(PROCTYPE)" "sparc" PLATFORM=solsparc @@ -137,11 +137,18 @@ PACKAGE_LIB_DIR=solaris_sparc.plt UNOPKG_PLATFORM=Solaris_SPARC JAVA_PROC_TYPE=sparc else +ifeq "$(PROCTYPE)" "sparc64" +PLATFORM=solsparc +PACKAGE_LIB_DIR=solaris_sparc64.plt +UNOPKG_PLATFORM=Solaris_SPARC64 +JAVA_PROC_TYPE=sparcv9 +else PLATFORM=solintel PACKAGE_LIB_DIR=solaris_x86.plt UNOPKG_PLATFORM=Solaris_x86 JAVA_PROC_TYPE=i386 endif +endif OS=SOLARIS PS=/ @@ -178,7 +185,11 @@ CPPUHELPERLIB=-luno_cppuhelperC52 SALHELPERLIB=-luno_salhelperC52 REGLIB=-lreg STORELIB=-lstore +ifeq "$(PROCTYPE)" "sparc64" +STLPORTLIB=-library=stlport4 +else STLPORTLIB=-lstlport_sunpro$(STLDEBUG) +endif EMPTYSTRING= PATH_SEPARATOR=: @@ -208,6 +219,12 @@ EXE_LINK_FLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -Bdirect -z defs LINK_LIBS=-L$(OUT)/lib -L$(OO_SDK_OUT)/$(PLATFORM)/lib -L"$(OO_SDK_URE_LIB_DIR)" LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)" +ifeq "$(PROCTYPE)" "sparc64" +CC_FLAGS+=-m64 +LIBRARY_LINK_FLAGS+=-m64 +EXE_LINK_FLAGS+=-m64 +endif + ifneq "$(OO_SDK_URE_HOME)" "" URE_MISC=$(OO_SDK_URE_HOME)/share/misc endif |