Author: damjan
Date: Sun Apr 15 13:33:19 2018
New Revision: 1829205

URL: http://svn.apache.org/viewvc?rev=1829205&view=rev
Log:
Port main/jvmfwk to gbuild / Ant.

Fix the gbuild platform CPUDEFS to conform to what modules expect.

Patch by: me


Added:
    openoffice/trunk/main/jvmfwk/Ant_jreproperties.mk
    openoffice/trunk/main/jvmfwk/Executable_javaldx.mk
    openoffice/trunk/main/jvmfwk/Library_jvmfwk.mk
    openoffice/trunk/main/jvmfwk/Library_sunjavaplugin.mk
    openoffice/trunk/main/jvmfwk/Makefile
    openoffice/trunk/main/jvmfwk/Module_jvmfwk.mk
    openoffice/trunk/main/jvmfwk/Package_inc.mk
    openoffice/trunk/main/jvmfwk/Package_javasettingsunopkginstall.mk
    openoffice/trunk/main/jvmfwk/Package_javavendors.mk
    openoffice/trunk/main/jvmfwk/Package_jvmfwk3rc.mk
    openoffice/trunk/main/jvmfwk/Package_sunjavapluginrc.mk
    openoffice/trunk/main/jvmfwk/inc/jvmfwk/jvmfwkdllapi.h
    openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.cxx
    openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.hxx
    openoffice/trunk/main/jvmfwk/java/
    openoffice/trunk/main/jvmfwk/java/jreproperties/
    openoffice/trunk/main/jvmfwk/java/jreproperties/build.xml
    openoffice/trunk/main/jvmfwk/java/jreproperties/src/
    openoffice/trunk/main/jvmfwk/java/jreproperties/src/main/
    openoffice/trunk/main/jvmfwk/java/jreproperties/src/main/java/
    
openoffice/trunk/main/jvmfwk/java/jreproperties/src/main/java/JREProperties.java
      - copied unchanged from r1829204, 
openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java
    openoffice/trunk/main/jvmfwk/prj/makefile.mk
Removed:
    openoffice/trunk/main/jvmfwk/distributions/OpenOfficeorg/makefile.mk
    openoffice/trunk/main/jvmfwk/inc/makefile.mk
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/makefile.mk
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/JREProperties.java
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk
    openoffice/trunk/main/jvmfwk/source/makefile.mk
Modified:
    openoffice/trunk/main/Repository.mk
    openoffice/trunk/main/RepositoryFixes.mk
    openoffice/trunk/main/jvmfwk/inc/jvmfwk/framework.h
    openoffice/trunk/main/jvmfwk/inc/jvmfwk/vendorplugin.h
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
    openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx
    openoffice/trunk/main/jvmfwk/prj/build.lst
    openoffice/trunk/main/jvmfwk/prj/d.lst
    openoffice/trunk/main/solenv/ant/aoo-ant.xml
    openoffice/trunk/main/solenv/gbuild/platform/freebsd.mk
    openoffice/trunk/main/solenv/gbuild/platform/linux.mk
    openoffice/trunk/main/solenv/gbuild/platform/macosx.mk
    openoffice/trunk/main/solenv/gbuild/platform/windows.mk
    openoffice/trunk/main/solenv/gbuild/platform/winmingw.mk

Modified: openoffice/trunk/main/Repository.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/Repository.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/Repository.mk (original)
+++ openoffice/trunk/main/Repository.mk Sun Apr 15 13:33:19 2018
@@ -51,6 +51,7 @@ $(eval $(call gb_Helper_register_executa
 ))
 
 $(eval $(call gb_Helper_register_executables,UREBIN, \
+       javaldx \
        regmerge \
        regview \
 ))
@@ -179,6 +180,7 @@ $(eval $(call gb_Helper_register_librari
 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \
        jpipe \
        jpipx \
+       sunjavaplugin \
        xmlreader \
 ))
 

Modified: openoffice/trunk/main/RepositoryFixes.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/RepositoryFixes.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/RepositoryFixes.mk (original)
+++ openoffice/trunk/main/RepositoryFixes.mk Sun Apr 15 13:33:19 2018
@@ -38,6 +38,7 @@ gb_Library_FILENAMES := $(patsubst salhe
 gb_Library_FILENAMES := $(patsubst 
salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES))
+gb_Library_FILENAMES := $(patsubst 
sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES))
 
 gb_Library_FILENAMES := $(patsubst 
stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES))
 gb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))
@@ -55,6 +56,7 @@ gb_Library_FILENAMES := $(patsubst reg:l
 gb_Library_FILENAMES := $(patsubst 
salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES))
+gb_Library_FILENAMES := $(patsubst 
sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES))
 #$(info libnames: $(gb_Library_FILENAMES))
 
 endif
@@ -70,6 +72,7 @@ gb_Library_FILENAMES := $(patsubst reg:l
 gb_Library_FILENAMES := $(patsubst 
salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES))
+gb_Library_FILENAMES := $(patsubst 
sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES))
 
 ifneq ($(MACOSX_DEPLOYMENT_TARGET),10.4) # default to use libc++
 gb_Library_FILENAMES := $(patsubst 
stl:%,stl:libc++.dylib,$(gb_Library_FILENAMES))
@@ -281,6 +284,7 @@ gb_Library_FILENAMES := $(patsubst salhe
 gb_Library_FILENAMES := $(patsubst 
salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
spell:spell.uno%,spell:libspell.uno%,$(gb_Library_FILENAMES))
 gb_Library_FILENAMES := $(patsubst 
store:libuno_store%,store:libstore%,$(gb_Library_FILENAMES))
+gb_Library_FILENAMES := $(patsubst 
sunjavaplugin:libsunjavaplugin%,sunjavaplugin:sunjavaplugin%,$(gb_Library_FILENAMES))
 
 gb_Library_FILENAMES := $(patsubst 
stl:%,stl:libstdc++.so,$(gb_Library_FILENAMES))
 gb_Library_TARGETS := $(filter-out stl,$(gb_Library_TARGETS))

Added: openoffice/trunk/main/jvmfwk/Ant_jreproperties.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Ant_jreproperties.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Ant_jreproperties.mk (added)
+++ openoffice/trunk/main/jvmfwk/Ant_jreproperties.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,27 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call 
gb_Ant_Ant,jreproperties,$(SRCDIR)/jvmfwk/java/jreproperties/build.xml,nodeliver))
+
+# vim: set noet sw=4 ts=4:
+

Added: openoffice/trunk/main/jvmfwk/Executable_javaldx.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Executable_javaldx.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Executable_javaldx.mk (added)
+++ openoffice/trunk/main/jvmfwk/Executable_javaldx.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,45 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Executable_Executable,javaldx))
+
+$(eval $(call gb_Library_add_package_headers,javaldx,jvmfwk_inc))
+
+$(eval $(call gb_Executable_set_include,javaldx,\
+       $$(INCLUDE) \
+       -I$(SRCDIR)/jvmfwk/inc/ \
+       -I$(SRCDIR)/jvmfwk/inc/pch \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,javaldx,\
+       jvmfwk \
+       sal \
+       stl \
+    $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,javaldx,\
+       jvmfwk/plugins/sunmajor/javaenvsetup/javaldx \
+))
+
+# vim: set noet sw=4 ts=4:

Added: openoffice/trunk/main/jvmfwk/Library_jvmfwk.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Library_jvmfwk.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Library_jvmfwk.mk (added)
+++ openoffice/trunk/main/jvmfwk/Library_jvmfwk.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,72 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,jvmfwk))
+
+$(eval $(call gb_Library_add_package_headers,jvmfwk,jvmfwk_inc))
+
+$(eval $(call 
gb_Library_add_precompiled_header,jvmfwk,$(SRCDIR)/jvmfwk/inc/pch/precompiled_jvmfwk))
+
+$(eval $(call 
gb_Library_set_versionmap,jvmfwk,$(SRCDIR)/jvmfwk/source/framework.map))
+
+$(eval $(call gb_Library_set_include,jvmfwk,\
+       $$(INCLUDE) \
+       -I$(SRCDIR)/jvmfwk/inc/pch \
+       -I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_add_api,jvmfwk, \
+        udkapi \
+))
+
+$(eval $(call gb_Library_add_defs,jvmfwk,\
+        -DJVMFWK_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_linked_libs,jvmfwk,\
+       cppuhelper \
+       sal \
+       stl \
+       $(gb_STDLIBS) \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,jvmfwk,\
+       advapi32 \
+))
+endif
+
+$(eval $(call gb_Library_use_externals,jvmfwk,\
+       libxml2 \
+))
+
+$(eval $(call gb_Library_add_exception_objects,jvmfwk,\
+       jvmfwk/source/elements \
+       jvmfwk/source/framework \
+       jvmfwk/source/fwkbase \
+       jvmfwk/source/fwkutil \
+       jvmfwk/source/libxmlutil \
+))
+
+# vim: set noet sw=4 ts=4:
+

Added: openoffice/trunk/main/jvmfwk/Library_sunjavaplugin.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Library_sunjavaplugin.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Library_sunjavaplugin.mk (added)
+++ openoffice/trunk/main/jvmfwk/Library_sunjavaplugin.mk Sun Apr 15 13:33:19 
2018
@@ -0,0 +1,74 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,sunjavaplugin))
+
+$(eval $(call gb_Library_add_package_headers,sunjavaplugin,jvmfwk_inc))
+
+$(eval $(call 
gb_Library_add_precompiled_header,sunjavaplugin,$(SRCDIR)/jvmfwk/inc/pch/precompiled_plugin))
+
+$(eval $(call 
gb_Library_set_versionmap,sunjavaplugin,$(SRCDIR)/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.map))
+
+$(eval $(call gb_Library_set_include,sunjavaplugin,\
+       $$(INCLUDE) \
+       -I$(SRCDIR)/jvmfwk/inc/pch \
+       -I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_add_api,sunjavaplugin, \
+        udkapi \
+))
+
+$(eval $(call gb_Library_add_defs,sunjavaplugin,\
+        -DJVMFWK_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_linked_libs,sunjavaplugin,\
+       cppu \
+       cppuhelper \
+       sal \
+       salhelper \
+       stl \
+       $(gb_STDLIBS) \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_add_linked_libs,sunjavaplugin,\
+       advapi32 \
+       uwinapi \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,sunjavaplugin,\
+       jvmfwk/plugins/sunmajor/pluginlib/gnujre \
+       jvmfwk/plugins/sunmajor/pluginlib/otherjre \
+       jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin \
+       jvmfwk/plugins/sunmajor/pluginlib/sunjre \
+       jvmfwk/plugins/sunmajor/pluginlib/sunversion \
+       jvmfwk/plugins/sunmajor/pluginlib/util \
+       jvmfwk/plugins/sunmajor/pluginlib/vendorbase \
+       jvmfwk/plugins/sunmajor/pluginlib/vendorlist \
+))
+
+# vim: set noet sw=4 ts=4:
+

Added: openoffice/trunk/main/jvmfwk/Makefile
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Makefile?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Makefile (added)
+++ openoffice/trunk/main/jvmfwk/Makefile Sun Apr 15 13:33:19 2018
@@ -0,0 +1,32 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
+
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath 
$(firstword $(MAKEFILE_LIST))))/Module*.mk)))
+
+# vim: set noet sw=4 ts=4:

Added: openoffice/trunk/main/jvmfwk/Module_jvmfwk.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Module_jvmfwk.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Module_jvmfwk.mk (added)
+++ openoffice/trunk/main/jvmfwk/Module_jvmfwk.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,43 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Module_Module,jvmfwk))
+
+$(eval $(call gb_Module_add_targets,jvmfwk,\
+       Ant_jreproperties \
+       Library_jvmfwk \
+       Library_sunjavaplugin \
+       Package_inc \
+       Package_javasettingsunopkginstall \
+       Package_javavendors \
+       Package_jvmfwk3rc \
+       Package_sunjavapluginrc \
+))
+
+ifeq ($(GUI),UNX)
+$(eval $(call gb_Module_add_targets,jvmfwk,\
+       Executable_javaldx \
+))
+endif
+
+# vim: set noet sw=4 ts=4:

Added: openoffice/trunk/main/jvmfwk/Package_inc.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Package_inc.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Package_inc.mk (added)
+++ openoffice/trunk/main/jvmfwk/Package_inc.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,28 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Package_Package,jvmfwk_inc,$(SRCDIR)/jvmfwk/inc))
+
+$(eval $(call 
gb_Package_add_file,jvmfwk_inc,inc/jvmfwk/framework.h,jvmfwk/framework.h))
+$(eval $(call 
gb_Package_add_file,jvmfwk_inc,inc/jvmfwk/jvmfwkdllapi.h,jvmfwk/jvmfwkdllapi.h))
+$(eval $(call 
gb_Package_add_file,jvmfwk_inc,inc/jvmfwk/vendorplugin.h,jvmfwk/vendorplugin.h))

Added: openoffice/trunk/main/jvmfwk/Package_javasettingsunopkginstall.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Package_javasettingsunopkginstall.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Package_javasettingsunopkginstall.mk (added)
+++ openoffice/trunk/main/jvmfwk/Package_javasettingsunopkginstall.mk Sun Apr 
15 13:33:19 2018
@@ -0,0 +1,26 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call 
gb_Package_Package,jvmfwk_javasettingsunopkginstall,$(SRCDIR)/jvmfwk/source))
+
+$(eval $(call 
gb_Package_add_file,jvmfwk_javasettingsunopkginstall,bin/javasettingsunopkginstall.xml,javasettingsunopkginstall.xml))

Added: openoffice/trunk/main/jvmfwk/Package_javavendors.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Package_javavendors.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Package_javavendors.mk (added)
+++ openoffice/trunk/main/jvmfwk/Package_javavendors.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,49 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call 
gb_Package_Package,jvmfwk_javavendors,$(SRCDIR)/jvmfwk/distributions))
+
+ifeq ($(GUI),UNX)
+ifeq ($(OS),FREEBSD)
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_freebsd.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_freebsd.xml))
+else ifeq ($(OS),MACOSX)
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_macosx.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_macosx.xml))
+else ifeq ($(OS),LINUX)
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_linux.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_linux.xml))
+else
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_unx.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_unx.xml))
+endif
+else ifeq ($(GUI),WNT)
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_wnt.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_wnt.xml))
+else ifeq ($(GUI),OS2)
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,bin/javavendors.xml,OpenOfficeorg/javavendors_os2.xml))
+$(eval $(call 
gb_Package_add_file,jvmfwk_javavendors,lib/javavendors.xml,OpenOfficeorg/javavendors_os2.xml))
+else
+gb_Output_Error(Unsupported platform.)
+endif
+

Added: openoffice/trunk/main/jvmfwk/Package_jvmfwk3rc.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Package_jvmfwk3rc.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Package_jvmfwk3rc.mk (added)
+++ openoffice/trunk/main/jvmfwk/Package_jvmfwk3rc.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,33 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Package_Package,jvmfwk_jvmfwk3rc,$(SRCDIR)/jvmfwk/source))
+
+ifeq ($(GUI),WNT)
+$(eval $(call gb_Package_add_file,jvmfwk_jvmfwk3rc,bin/jvmfwk3.ini,jvmfwk3rc))
+else ifeq ($(GUI),OS2)
+$(eval $(call gb_Package_add_file,jvmfwk_jvmfwk3rc,bin/jvmfwk3.ini,jvmfwk3rc))
+else
+$(eval $(call gb_Package_add_file,jvmfwk_jvmfwk3rc,lib/jvmfwk3rc,jvmfwk3rc))
+endif
+

Added: openoffice/trunk/main/jvmfwk/Package_sunjavapluginrc.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/Package_sunjavapluginrc.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/Package_sunjavapluginrc.mk (added)
+++ openoffice/trunk/main/jvmfwk/Package_sunjavapluginrc.mk Sun Apr 15 13:33:19 
2018
@@ -0,0 +1,31 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call 
gb_Package_Package,jvmfwk_sunjavapluginrc,$(SRCDIR)/jvmfwk/plugins/sunmajor/pluginlib))
+
+ifeq ($(GUI),WNT)
+$(eval $(call 
gb_Package_add_file,jvmfwk_sunjavapluginrc,bin/sunjavaplugin.ini,sunjavapluginrc))
+else
+$(eval $(call 
gb_Package_add_file,jvmfwk_sunjavapluginrc,lib/sunjavapluginrc,sunjavapluginrc))
+endif
+

Modified: openoffice/trunk/main/jvmfwk/inc/jvmfwk/framework.h
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/inc/jvmfwk/framework.h?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/inc/jvmfwk/framework.h (original)
+++ openoffice/trunk/main/jvmfwk/inc/jvmfwk/framework.h Sun Apr 15 13:33:19 2018
@@ -28,6 +28,7 @@
 
 #include "rtl/ustring.h"
 #include "osl/mutex.h"
+#include "jvmfwk/jvmfwkdllapi.h"
 #ifdef SOLAR_JAVA
 #include "jni.h"
 #else
@@ -300,7 +301,7 @@ typedef struct _JavaInfo JavaInfo;
     @param pInfo
     The object which is to be freed. It can be NULL;
  */
-void SAL_CALL jfw_freeJavaInfo(JavaInfo *pInfo);
+JVMFWK_DLLPUBLIC void SAL_CALL jfw_freeJavaInfo(JavaInfo *pInfo);
 
 
 /** compares two <code>JavaInfo</code> objects for equality.
@@ -324,7 +325,7 @@ void SAL_CALL jfw_freeJavaInfo(JavaInfo
    sal_True - both object represent the same JRE.</br>
    sal_False - the objects represend different JREs
  */
-sal_Bool SAL_CALL jfw_areEqualJavaInfo(
+JVMFWK_DLLPUBLIC sal_Bool SAL_CALL jfw_areEqualJavaInfo(
     JavaInfo const * pInfoA,JavaInfo const * pInfoB);
 
 /** determines if a Java Virtual Machine is already running.
@@ -347,7 +348,7 @@ sal_Bool SAL_CALL jfw_areEqualJavaInfo(
     JFW_E_NONE function ran successfully.<br/>
     JFW_E_INVALID_ARG the parameter <code>bRunning</code> was NULL.
 */
-javaFrameworkError SAL_CALL jfw_isVMRunning(sal_Bool *bRunning);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_isVMRunning(sal_Bool 
*bRunning);
 
 /** detects a suitable JRE and configures the framework to use it.
 
@@ -413,7 +414,7 @@ javaFrameworkError SAL_CALL jfw_isVMRunn
     JFW_E_CONFIGURATION mode was not properly set or their prerequisites
     were not met.
  */
-javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo 
**pInfo);
 
 /** provides information about all available JRE installations.
 
@@ -442,7 +443,7 @@ javaFrameworkError SAL_CALL jfw_findAndS
     JFW_E_CONFIGURATION mode was not properly set or their prerequisites
     were not met.
 */
-javaFrameworkError SAL_CALL jfw_findAllJREs(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_findAllJREs(
     JavaInfo ***parInfo, sal_Int32 *pSize);
 
 /** determines if a path points to a Java installation.
@@ -475,7 +476,7 @@ javaFrameworkError SAL_CALL jfw_findAllJ
    JFW_E_FAILED_VERSION a JRE was detected but if failed the version
    requirements as determined by the javavendors.xml
  */
-javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
     rtl_uString *pPath, JavaInfo **ppInfo);
 
 
@@ -543,7 +544,7 @@ javaFrameworkError SAL_CALL jfw_getJavaI
     JFW_E_FAILED_VERSION the &quot;Default Mode&quot; is active. The JRE 
determined by
     <code>JAVA_HOME</code>does not meet the version requirements.
  */
-javaFrameworkError SAL_CALL jfw_startVM(JavaVMOption *arOptions,
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_startVM(JavaVMOption 
*arOptions,
                                  sal_Int32 nSize, JavaVM **ppVM,
                                  JNIEnv **ppEnv);
 
@@ -573,7 +574,7 @@ javaFrameworkError SAL_CALL jfw_startVM(
     were not met.<br/>
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_setSelectedJRE(JavaInfo const *pInfo);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setSelectedJRE(JavaInfo const 
*pInfo);
 
 
 /** provides information about the JRE that is to be used.
@@ -603,7 +604,7 @@ javaFrameworkError SAL_CALL jfw_setSelec
     JFW_E_INVALID_SETTINGS the javavendors.xml has been changed and no
     JRE has been selected afterwards. <br/>
  */
-javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo **ppInfo);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getSelectedJRE(JavaInfo 
**ppInfo);
 
 
 /** determines if Java can be used.
@@ -622,7 +623,7 @@ javaFrameworkError SAL_CALL jfw_getSelec
     were not met.<br/>
    JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setEnabled(sal_Bool bEnabled);
 
 /** provides the information if Java can be used.
 
@@ -637,7 +638,7 @@ javaFrameworkError SAL_CALL jfw_setEnabl
     were not met.<br/>
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_getEnabled(sal_Bool *pbEnabled);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getEnabled(sal_Bool 
*pbEnabled);
 
 /** determines parameters which are passed to VM during its creation.
     
@@ -661,7 +662,7 @@ javaFrameworkError SAL_CALL jfw_getEnabl
     were not met.<br/>
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_setVMParameters(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setVMParameters(
     rtl_uString **  arArgs, sal_Int32 nSize);
 
 /** obtains the currently used start parameters.
@@ -686,7 +687,7 @@ javaFrameworkError SAL_CALL jfw_setVMPar
     were not met.<br/>
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_getVMParameters(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getVMParameters(
     rtl_uString *** parParameters,
     sal_Int32 * pSize);
 
@@ -708,7 +709,7 @@ javaFrameworkError SAL_CALL jfw_getVMPar
     were not met.<br/>
    JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_setUserClassPath(rtl_uString * pCP);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setUserClassPath(rtl_uString 
* pCP);
 /** provides the value of the current user class path.
 
    <p>The function returns an empty string if no user class path is set.
@@ -727,7 +728,7 @@ javaFrameworkError SAL_CALL jfw_setUserC
     were not met.<br/>
    JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_getUserClassPath(rtl_uString ** ppCP);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getUserClassPath(rtl_uString 
** ppCP);
 
 /** saves the location of a JRE.
 
@@ -756,7 +757,7 @@ javaFrameworkError SAL_CALL jfw_getUserC
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
     @see jfw_setJRELocations
  */
-javaFrameworkError SAL_CALL jfw_addJRELocation(rtl_uString * sLocation);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_addJRELocation(rtl_uString * 
sLocation);
 
 /** saves the locations of a number of JREs.
 
@@ -784,7 +785,7 @@ javaFrameworkError SAL_CALL jfw_addJRELo
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
     @see jfw_addJRELocations
  */
-javaFrameworkError SAL_CALL jfw_setJRELocations(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_setJRELocations(
     rtl_uString ** arLocations, sal_Int32 nSize);
 /** obtains an array containing paths to JRE installations.
 
@@ -806,7 +807,7 @@ javaFrameworkError SAL_CALL jfw_setJRELo
     were not met.<br/>
     JFW_E_DIRECT_MODE the function cannot be used in this mode.
  */
-javaFrameworkError SAL_CALL jfw_getJRELocations(
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_getJRELocations(
     rtl_uString *** parLocations, sal_Int32 * pSize);
 
 
@@ -828,7 +829,7 @@ javaFrameworkError SAL_CALL jfw_getJRELo
     JFW_E_INVALID_ARG pInfo contains invalid data</br>
     JFW_E_NO_PLUGIN a plug-in library could not be found.<br/>
  */
-javaFrameworkError SAL_CALL jfw_existJRE(const JavaInfo *pInfo, sal_Bool 
*exist);
+JVMFWK_DLLPUBLIC javaFrameworkError SAL_CALL jfw_existJRE(const JavaInfo 
*pInfo, sal_Bool *exist);
 
 
 /** locks this API so that it cannot be used by other threads.
@@ -846,14 +847,14 @@ javaFrameworkError SAL_CALL jfw_existJRE
     The only functions which are not effected by <code>jfw_lock</code> are
     <code>jfw_freeJavaInfo</code> and <code>jfw_areEqualJavaInfo</code>.
  */
-void SAL_CALL jfw_lock();
+JVMFWK_DLLPUBLIC void SAL_CALL jfw_lock();
 
 /** unlocks this API.
 
     <p>This function is called after <code>jfw_lock</code>. It allows other
     threads to use this API concurrently.</p>
 */
-void SAL_CALL jfw_unlock(); 
+JVMFWK_DLLPUBLIC void SAL_CALL jfw_unlock(); 
 
 
 #ifdef __cplusplus

Added: openoffice/trunk/main/jvmfwk/inc/jvmfwk/jvmfwkdllapi.h
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/inc/jvmfwk/jvmfwkdllapi.h?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/inc/jvmfwk/jvmfwkdllapi.h (added)
+++ openoffice/trunk/main/jvmfwk/inc/jvmfwk/jvmfwkdllapi.h Sun Apr 15 13:33:19 
2018
@@ -0,0 +1,37 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+
+
+#ifndef INCLUDED_JVMFWKDLLAPI_H
+#define INCLUDED_JVMFWKDLLAPI_H
+                                                                               
                                              
+#include "sal/types.h"
+
+#if defined(JVMFWK_DLLIMPLEMENTATION)
+#define JVMFWK_DLLPUBLIC  SAL_DLLPUBLIC_EXPORT
+#else
+#define JVMFWK_DLLPUBLIC  SAL_DLLPUBLIC_IMPORT
+#endif
+#define JVMFWK_DLLPRIVATE SAL_DLLPRIVATE
+                                                                               
     
+#endif /* INCLUDED_JVMFWKDLLAPI_H */
+

Modified: openoffice/trunk/main/jvmfwk/inc/jvmfwk/vendorplugin.h
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/inc/jvmfwk/vendorplugin.h?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/inc/jvmfwk/vendorplugin.h (original)
+++ openoffice/trunk/main/jvmfwk/inc/jvmfwk/vendorplugin.h Sun Apr 15 13:33:19 
2018
@@ -26,6 +26,7 @@
 #define INCLUDED_JVMFWK_VENDORPLUGIN_H
 
 #include "jvmfwk/framework.h"
+#include "jvmfwk/jvmfwkdllapi.h"
 #include "rtl/ustring.h"
 #ifdef SOLAR_JAVA
 #include "jni.h"
@@ -121,7 +122,7 @@ typedef enum
     <code>sMinVersion,sMaxVersion,arExcludeList</code> are not recognized as 
valid
     version strings.
  */
-javaPluginError jfw_plugin_getAllJavaInfos(
+JVMFWK_DLLPUBLIC javaPluginError jfw_plugin_getAllJavaInfos(
     rtl_uString *sVendor,
     rtl_uString *sMinVersion,
     rtl_uString *sMaxVersion,
@@ -172,7 +173,7 @@ javaPluginError jfw_plugin_getAllJavaInf
    does not mean necessarily that there is no JRE. There could be a JRE but it 
has
    a vendor which is not supported by this API implementation.
  */
-javaPluginError jfw_plugin_getJavaInfoByPath(
+JVMFWK_DLLPUBLIC javaPluginError jfw_plugin_getJavaInfoByPath(
     rtl_uString *sLocation,
     rtl_uString *sVendor,
     rtl_uString *sMinVersion,
@@ -225,7 +226,7 @@ javaPluginError jfw_plugin_getJavaInfoBy
     JFW_PLUGIN_E_VM_CREATION_FAILED a VM could not be created. The error was 
caused
     by the JRE.
  */
-javaPluginError jfw_plugin_startJavaVirtualMachine(
+JVMFWK_DLLPUBLIC javaPluginError jfw_plugin_startJavaVirtualMachine(
     const JavaInfo *pInfo, 
     const JavaVMOption *arOptions,
     sal_Int32 nSizeOptions,
@@ -251,7 +252,7 @@ javaPluginError jfw_plugin_startJavaVirt
     JFW_PLUGIN_E_ERROR an error occurred during execution.</br>
     JFW_PLUGIN_E_INVALID_ARG pInfo contains invalid data</br>
  */
-javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, sal_Bool *exist);
+JVMFWK_DLLPUBLIC javaPluginError jfw_plugin_existJRE(const JavaInfo *pInfo, 
sal_Bool *exist);
 
 #ifdef __cplusplus
 }

Added: openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.cxx?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.cxx (added)
+++ openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.cxx Sun Apr 15 
13:33:19 2018
@@ -0,0 +1,25 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+
+
+#include "precompiled_plugin.hxx"
+

Added: openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.hxx?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.hxx (added)
+++ openoffice/trunk/main/jvmfwk/inc/pch/precompiled_plugin.hxx Sun Apr 15 
13:33:19 2018
@@ -0,0 +1,28 @@
+/**************************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ *************************************************************/
+
+
+
+// MARKER(update_precomp.py): Generated on 2006-09-01 17:49:50.576954
+
+#ifdef PRECOMPILED_HEADERS
+#endif
+

Added: openoffice/trunk/main/jvmfwk/java/jreproperties/build.xml
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/java/jreproperties/build.xml?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/java/jreproperties/build.xml (added)
+++ openoffice/trunk/main/jvmfwk/java/jreproperties/build.xml Sun Apr 15 
13:33:19 2018
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ ***********************************************************-->
+
+
+<project name="jreproperties" default="main">
+
+    <property file="../../../ant.properties"/>
+    <import file="${SRC_ROOT}/solenv/ant/aoo-ant.xml"/>
+
+    <!-- custom delivery: JREProperties.class must be in ${OUTDIR}/bin and 
${OUTDIR}/lib -->
+    <!-- The JAR is irrelevant and only there to make gbuild happy. -->
+
+    <target name="main" depends="jar">
+        <copy file="${main.build.dir}/JREProperties.class"
+            tofile="${OUTDIR}/bin/JREProperties.class"/>
+        <copy file="${main.build.dir}/JREProperties.class"
+            tofile="${OUTDIR}/lib/JREProperties.class"/>
+    </target>
+
+    <target name="clean-delivered-class" extensionOf="pre-clean">
+        <delete file="${OUTDIR}/bin/JREProperties.class"/>
+        <delete file="${OUTDIR}/lib/JREProperties.class"/>
+    </target>
+
+</project>
+

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx Sun 
Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include <stdio.h>
 #include <stdlib.h>

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx Sun Apr 
15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "osl/file.hxx"
 #include "osl/thread.h"

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx Sun 
Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "osl/thread.h"
 #include "otherjre.hxx"

Modified: 
openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx 
Sun Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 #if OSL_DEBUG_LEVEL > 0
 #include <stdio.h>
 #endif

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx Sun Apr 
15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "osl/thread.h"
 #include "sunjre.hxx"

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx Sun 
Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "sunversion.hxx"
 #include "osl/thread.h"

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx Sun 
Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "osl/file.hxx"
 #include "osl/diagnose.h"

Modified: openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx 
(original)
+++ openoffice/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx Sun 
Apr 15 13:33:19 2018
@@ -22,7 +22,7 @@
 
 
 // MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_jvmfwk.hxx"
+#include "precompiled_plugin.hxx"
 
 #include "vendorlist.hxx"
 #include "gnujre.hxx"

Modified: openoffice/trunk/main/jvmfwk/prj/build.lst
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/prj/build.lst?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/prj/build.lst (original)
+++ openoffice/trunk/main/jvmfwk/prj/build.lst Sun Apr 15 13:33:19 2018
@@ -1,6 +1,2 @@
 jvmf jvmfwk : cppu cppuhelper sal LIBXML2:libxml2 NULL
-jvmf jvmfwk\inc nmake - all jvmf_inc NULL
-jvmf jvmfwk\source nmake - all jvmf_framework jvmf_inc NULL
-jvmf jvmfwk\plugins\sunmajor\pluginlib nmake - all jvmf_sunmajorlib jvmf_inc 
NULL
-jvmf jvmfwk\plugins\sunmajor\javaenvsetup nmake - u jvmf_sunjavaldx 
jvmf_framework jvmf_inc NULL
-jvmf jvmfwk\distributions\OpenOfficeorg nmake - all jvmf_openoffice 
jvmf_framework jvmf_inc NULL
+jvmf jvmfwk\prj nmake - all jvmf_prj NULL

Modified: openoffice/trunk/main/jvmfwk/prj/d.lst
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/prj/d.lst?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/jvmfwk/prj/d.lst (original)
+++ openoffice/trunk/main/jvmfwk/prj/d.lst Sun Apr 15 13:33:19 2018
@@ -1,23 +0,0 @@
-mkdir: %_DEST%\inc%_EXT%\jvmfwk
-..\inc\jvmfwk\framework.h %_DEST%\inc%_EXT%\jvmfwk\framework.h
-..\inc\jvmfwk\vendorplugin.h %_DEST%\inc%_EXT%\jvmfwk\vendorplugin.h
-..\%__SRC%\lib\ijvmfwk.lib %_DEST%\lib%_EXT%\ijvmfwk.lib
-..\%__SRC%\lib\jvmfwk*.lib %_DEST%\lib%_EXT%\*
-..\%__SRC%\lib\libjvmfwk.*.* %_DEST%\lib%_EXT%\*
-..\%__SRC%\bin\jvmfwk*.dll %_DEST%\bin%_EXT%\*
-..\%__SRC%\bin\sunjavap*.dll %_DEST%\bin%_EXT%\*
-..\%__SRC%\lib\sunjavaplugin*.so %_DEST%\lib%_EXT%\*
-..\%__SRC%\lib\sunjavaplugin*.dylib %_DEST%\lib%_EXT%\*
-..\%__SRC%\class\JREProperties.class  %_DEST%\bin%_EXT%\JREProperties.class
-..\%__SRC%\class\JREProperties.class  %_DEST%\lib%_EXT%\JREProperties.class
-..\%__SRC%\bin\javaldx %_DEST%\bin%_EXT%\javaldx
-..\source\javasettingsunopkginstall.xml 
%_DEST%\bin%_EXT%\javasettingsunopkginstall.xml
-..\%__SRC%\bin\javavendors.xml %_DEST%\bin%_EXT%\javavendors.xml
-..\%__SRC%\bin\javavendors.xml %_DEST%\lib%_EXT%\javavendors.xml
-..\%__SRC%\bin\jvmfwk3rc %_DEST%\lib%_EXT%\jvmfwk3rc
-..\%__SRC%\bin\jvmfwk3.ini %_DEST%\bin%_EXT%\jvmfwk3.ini
-..\%__SRC%\bin\sunjavapluginrc %_DEST%\lib%_EXT%\sunjavapluginrc
-..\%__SRC%\bin\sunjavaplugin.ini %_DEST%\bin%_EXT%\sunjavaplugin.ini
-
-linklib: libjvmfwk.*.*
-linklib: libjvmfwk*.dylib.*.*.*

Added: openoffice/trunk/main/jvmfwk/prj/makefile.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/jvmfwk/prj/makefile.mk?rev=1829205&view=auto
==============================================================================
--- openoffice/trunk/main/jvmfwk/prj/makefile.mk (added)
+++ openoffice/trunk/main/jvmfwk/prj/makefile.mk Sun Apr 15 13:33:19 2018
@@ -0,0 +1,44 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+.IF "$(DEBUG)"!=""
+DEBUG_ARGUMENT=DEBUG=$(DEBUG)
+.ELIF "$(debug)"!=""
+DEBUG_ARGUMENT=debug=$(debug)
+.ELSE
+DEBUG_ARGUMENT=
+.ENDIF
+
+all:
+       cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) 
$(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog

Modified: openoffice/trunk/main/solenv/ant/aoo-ant.xml
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/ant/aoo-ant.xml?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/ant/aoo-ant.xml (original)
+++ openoffice/trunk/main/solenv/ant/aoo-ant.xml Sun Apr 15 13:33:19 2018
@@ -197,7 +197,9 @@
         </jar>
     </target>
 
-    <target name="clean" depends="prepare">
+    <extension-point name="pre-clean" depends="prepare"/>
+
+    <target name="clean" depends="pre-clean">
         <delete dir="${build.base.dir}"/>
         <delete file="${jar.dir}/${jar.name}.jar"/>
     </target>

Modified: openoffice/trunk/main/solenv/gbuild/platform/freebsd.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/gbuild/platform/freebsd.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/gbuild/platform/freebsd.mk (original)
+++ openoffice/trunk/main/solenv/gbuild/platform/freebsd.mk Sun Apr 15 13:33:19 
2018
@@ -61,12 +61,9 @@ gb_COMPILERDEFS := \
        -DHAVE_GCC_VISIBILITY_FEATURE \
        -DCPPU_ENV=$(COMNAME) \
 
-ifeq ($(CPUNAME),X86_64)
 gb_CPUDEFS := -D$(CPUNAME)
-else ifeq ($(CPUNAME),POWERPC64)
-gb_CPUDEFS := -D$(CPUNAME)
-else
-gb_CPUDEFS := -DX86
+ifeq ($(CPUNAME),INTEL)
+gb_CPUDEFS += -DX86
 endif
 
 gb_CFLAGS := \

Modified: openoffice/trunk/main/solenv/gbuild/platform/linux.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/gbuild/platform/linux.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/gbuild/platform/linux.mk (original)
+++ openoffice/trunk/main/solenv/gbuild/platform/linux.mk Sun Apr 15 13:33:19 
2018
@@ -58,10 +58,9 @@ gb_COMPILERDEFS := \
        -DHAVE_GCC_VISIBILITY_FEATURE \
        -DCPPU_ENV=$(COMNAME) \
 
-ifeq ($(CPUNAME),X86_64)
 gb_CPUDEFS := -D$(CPUNAME)
-else
-gb_CPUDEFS := -DX86
+ifeq ($(CPUNAME),INTEL)
+gb_CPUDEFS += -DX86
 endif
 
 gb_CFLAGS := \

Modified: openoffice/trunk/main/solenv/gbuild/platform/macosx.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/gbuild/platform/macosx.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/gbuild/platform/macosx.mk (original)
+++ openoffice/trunk/main/solenv/gbuild/platform/macosx.mk Sun Apr 15 13:33:19 
2018
@@ -59,12 +59,11 @@ gb_COMPILERDEFS := \
        -DHAVE_GCC_VISIBILITY_FEATURE \
        -DCPPU_ENV=$(COMNAME) \
 
+gb_CPUDEFS := -D$(CPUNAME)
 ifeq ($(CPUNAME),POWERPC)
-gb_CPUDEFS := -DPOWERPC -DPPC
+gb_CPUDEFS += -DPOWERPC -DPPC
 else ifeq ($(CPUNAME),INTEL)
-gb_CPUDEFS := -DX86
-else ifeq ($(CPUNAME),X86_64)
-gb_CPUDEFS := -DX86_64
+gb_CPUDEFS += -DX86
 endif
 
 ifeq ($(strip $(SYSBASE)),)

Modified: openoffice/trunk/main/solenv/gbuild/platform/windows.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/gbuild/platform/windows.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/gbuild/platform/windows.mk (original)
+++ openoffice/trunk/main/solenv/gbuild/platform/windows.mk Sun Apr 15 13:33:19 
2018
@@ -63,11 +63,12 @@ gb_COMPILERDEFS := \
        -DFULL_DESK \
        -DM1500 \
 
+gb_CPUDEFS := -D$(CPUNAME)
 ifeq ($(CPUNAME),INTEL)
-gb_CPUDEFS := -DINTEL -D_X86_=1
+gb_CPUDEFS += -D_X86_=1
 endif
 ifeq ($(CPUNAME),X86_64)
-gb_CPUDEFS := -DX86_64 -D_AMD64_=1
+gb_CPUDEFS += -D_AMD64_=1
 endif
 
 gb_RCDEFS := \

Modified: openoffice/trunk/main/solenv/gbuild/platform/winmingw.mk
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/gbuild/platform/winmingw.mk?rev=1829205&r1=1829204&r2=1829205&view=diff
==============================================================================
--- openoffice/trunk/main/solenv/gbuild/platform/winmingw.mk (original)
+++ openoffice/trunk/main/solenv/gbuild/platform/winmingw.mk Sun Apr 15 
13:33:19 2018
@@ -87,8 +87,8 @@ ifeq ($(USE_MINGW),cygwin-w64-mingw32)
 gb_COMPILERDEFS +=-D_declspec=__declspec
 endif
 
-gb_CPUDEFS := \
-       -DINTEL \
+gb_CPUDEFS := -D$(CPUNAME)
+gb_CPUDEFS += \
        -D_M_IX86 \
 
 gb_RCDEFS := \


Reply via email to