summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-01 09:04:58 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-01 09:04:58 +0000
commit60489c9d039d460cef6e14a0793ee3512ad2b4e0 (patch)
treec795849cc4275c104a9d7005390f7fe180dbd3ec /jvmfwk
parent04f82e0e198c6eab933ae0fb8079996c48eb5096 (diff)
CWS-TOOLING: integrate CWS sb93
Diffstat (limited to 'jvmfwk')
-rwxr-xr-xjvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx13
-rwxr-xr-xjvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk15
2 files changed, 6 insertions, 22 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
index 3cc8ad63d..7f21fd69a 100755
--- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: javaldx.cxx,v $
- * $Revision: 1.15 $
+ * $Revision: 1.15.26.1 $
*
* This file is part of OpenOffice.org.
*
@@ -49,16 +49,6 @@ static sal_Bool hasOption(char const * szOption, int argc, char** argv);
static rtl::OString getLD_LIBRARY_PATH(const rtl::ByteSequence & vendorData);
//static sal_Bool printPaths(const OUString& sPathFile);
-#ifdef MACOSX
-#define HELP_TEXT \
-"\njavaldx is necessary to make Java work on some UNIX platforms." \
-"It prints a string to std out that consists of directories which " \
-"have to be included into the DYLD_LIBRARY_PATH variable.The setting of " \
-"the variable usually occurs in a shell script that runs javaldx.\n" \
-"The directories are from the chosen java installation. \n" \
-"Options are: \n"\
-"--help or -h\n"
-#else
#define HELP_TEXT \
"\njavaldx is necessary to make Java work on some UNIX platforms." \
"It prints a string to std out that consists of directories which " \
@@ -67,7 +57,6 @@ static rtl::OString getLD_LIBRARY_PATH(const rtl::ByteSequence & vendorData);
"The directories are from the chosen java installation. \n" \
"Options are: \n"\
"--help or -h\n"
-#endif
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk b/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk
index 08d4548a8..34b322c19 100755
--- a/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk
+++ b/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.7 $
+# $Revision: 1.7.26.1 $
#
# This file is part of OpenOffice.org.
#
@@ -44,17 +44,10 @@ ENABLE_EXCEPTIONS=true
.INCLUDE : settings.mk
-.IF "$(OS)"=="MACOSX"
-STDLIBCUIMT+=-lstdc++
-.ENDIF
-
-.IF "$(SOLAR_JAVA)"==""
-nojava:
- @echo "Not building jvmfwk/plugins/javaenvsetup/ because Java is disabled"
-.ENDIF
-
# --- Files --------------------------------------------------------
+.IF "$(OS)" != "MACOSX" && "$(SOLAR_JAVA)" != ""
+
OBJFILES=$(OBJ)$/javaldx.obj
APP1TARGET=javaldx
@@ -62,6 +55,8 @@ APP1OBJS=$(OBJFILES)
APP1STDLIBS=$(SALLIB) $(CPPULIB) $(CPPUHELPERLIB) $(JVMFWKLIB)
APP1RPATH=UREBIN
+.ENDIF
+
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk