Merge
authorohair
Thu, 12 May 2011 17:56:36 -0700
changeset 9650 6acd562d1df1
parent 9644 04f88d98efe3 (current diff)
parent 9649 29cd7b7c6d1b (diff)
child 9651 27c410078f5b
Merge
--- a/jdk/make/sun/rmi/rmi/Makefile	Thu May 12 17:17:36 2011 -0700
+++ b/jdk/make/sun/rmi/rmi/Makefile	Thu May 12 17:56:36 2011 -0700
@@ -85,16 +85,21 @@
 	sun.rmi.registry.RegistryImpl \
 	sun.rmi.transport.DGCImpl
 
-ifeq ($(PLATFORM), windows)
-build: stubs
-else # PLATFORM
-ifneq ($(ARCH_DATA_MODEL), 32)
-build: stubs
-else # ARCH_DATA_MODEL
-build: stubs bin
+#
+# The java-rmi.cgi script in bin/ only gets delivered in certain situations
+#
+BUILD_TARGETS = stubs
+ifeq ($(PLATFORM), linux)
+  BUILD_TARGETS += bin
 endif
+ifeq ($(PLATFORM), solaris)
+  ifeq ($(ARCH_DATA_MODEL), 32)
+    BUILD_TARGETS += bin
+  endif
 endif
 
+build: $(BUILD_TARGETS)
+
 clean clobber:: bin.clean