13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 include LauncherCommon.gmk 27 28 $(eval $(call SetupLauncher,rmid, \ 29 -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "sun.rmi.server.Activation"$(COMMA) }')) 30 31 $(eval $(call SetupLauncher,rmiregistry, \ 32 -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "sun.rmi.registry.RegistryImpl"$(COMMA) }')) 33 34 ########################################################################################## 35 36 # 37 # The java-rmi.cgi script in bin/ only gets delivered in certain situations 38 # 39 JAVA_RMI_CGI := $(SUPPORT_OUTPUTDIR)/modules_cmds/$(MODULE)/java-rmi.cgi 40 ifeq ($(OPENJDK_TARGET_OS), linux) 41 TARGETS += $(JAVA_RMI_CGI) 42 endif 43 ifeq ($(OPENJDK_TARGET_OS), solaris) 44 TARGETS += $(JAVA_RMI_CGI) 45 endif 46 47 # TODO: 48 # On windows java-rmi.cgi shouldn't be bundled since Java 1.2, but has been built all 49 # this time anyway. Since jdk6, it has been built from the wrong source and resulted 50 # in a (almost) copy of the standard java launcher named "java-rmi.exe" ending up in 51 # the final images bin dir. This weird behavior is mimicked here in the converted 52 # makefiles for now. Should probably just be deleted. 53 # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6512052 54 ifeq ($(OPENJDK_TARGET_OS), windows) 55 $(eval $(call SetupLauncher,java-rmi, , \ 56 $(call SET_SHARED_LIBRARY_MAPFILE,$(JDK_TOPDIR)/make/java/main/java/mapfile-$(OPENJDK_TARGET_CPU)),,,,,,,,,RMI)) 57 else 58 $(JAVA_RMI_CGI): $(JDK_TOPDIR)/src/java.rmi/unix/bin/java-rmi.cgi.sh 59 $(call install-file) 60 $(CHMOD) a+x $@ 61 endif 62 63 ########################################################################################## | 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 # version 2 for more details (a copy is included in the LICENSE file that 15 # accompanied this code). 16 # 17 # You should have received a copy of the GNU General Public License version 18 # 2 along with this work; if not, write to the Free Software Foundation, 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 # 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 include LauncherCommon.gmk 27 28 $(eval $(call SetupLauncher,rmid, \ 29 -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "sun.rmi.server.Activation"$(COMMA) }')) 30 31 $(eval $(call SetupLauncher,rmiregistry, \ 32 -DJAVA_ARGS='{ "-J-ms8m"$(COMMA) "sun.rmi.registry.RegistryImpl"$(COMMA) }')) |