jdk/make/GenerateClasses.gmk

Print this page




  72 $(eval $(call SetupRMICompilation,RMI_12, \
  73     CLASSES := sun.rmi.server.Activation$$$$ActivationSystemImpl \
  74         java.rmi.activation.ActivationGroup \
  75         com.sun.jndi.rmi.registry.ReferenceWrapper, \
  76     CLASSES_DIR := $(CLASSES_DIR), \
  77     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
  78     RUN_V12 := true))
  79 GENCLASSES += $(RMI_12)
  80 
  81 $(eval $(call SetupRMICompilation,RMI_11, \
  82     CLASSES := sun.rmi.registry.RegistryImpl \
  83         sun.rmi.transport.DGCImpl, \
  84     CLASSES_DIR := $(CLASSES_DIR), \
  85     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
  86     RUN_V11 := true))
  87 GENCLASSES += $(RMI_11)
  88 
  89 # For RMI/IIOP call rmic a second time with -standardPackage option
  90 # so that *_tie classes are generated in package without the prefix
  91 # org.omg.stub (6375696)
  92 JMAN_RMI_CLASSES := javax.management.remote.rmi.RMIConnectionImpl \
  93     javax.management.remote.rmi.RMIServerImpl




  94 $(eval $(call SetupRMICompilation,RMI_IIOP, \
  95     CLASSES := $(JMAN_RMI_CLASSES), \
  96     CLASSES_DIR := $(CLASSES_DIR), \
  97     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
  98     RUN_V12 := true, \
  99     RUN_IIOP := true, \
 100     RUN_IIOP_STDPKG := true))
 101 GENCLASSES += $(RMI_IIOP)
 102 
 103 # Keep generated RMI/JRMP Stub source files and copy them to RMIC_GENSRC_DIR
 104 # so that javadoc can include them in the API (4997471)
 105 $(eval $(call SetupRMICompilation,RMI_SRC, \
 106     CLASSES := $(JMAN_RMI_CLASSES), \
 107     CLASSES_DIR := $(CLASSES_DIR), \
 108     STUB_CLASSES_DIR := $(RMIC_GENSRC_DIR), \
 109     RUN_V12 := true, \
 110     KEEP_GENERATED := true))
 111 GENCLASSES += $(filter %.java, $(RMI_SRC))
 112 
 113 ##########################################################################################
 114 
 115 $(RMI_12) $(RMI_11) $(RMI_IIOP) $(RMI_SRC): $(BUILD_BOOTSTRAP_RMIC)
 116 
 117 $(RMIC_GENSRC_DIR)/_the.classes.removed: $(GENCLASSES)
 118         $(FIND) $(RMIC_GENSRC_DIR) -name "*.class" $(FIND_DELETE)
 119         $(TOUCH) $@
 120 
 121 all: $(RMIC_GENSRC_DIR)/_the.classes.removed $(GENCLASSES)
 122 
 123 .PHONY: all


  72 $(eval $(call SetupRMICompilation,RMI_12, \
  73     CLASSES := sun.rmi.server.Activation$$$$ActivationSystemImpl \
  74         java.rmi.activation.ActivationGroup \
  75         com.sun.jndi.rmi.registry.ReferenceWrapper, \
  76     CLASSES_DIR := $(CLASSES_DIR), \
  77     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
  78     RUN_V12 := true))
  79 GENCLASSES += $(RMI_12)
  80 
  81 $(eval $(call SetupRMICompilation,RMI_11, \
  82     CLASSES := sun.rmi.registry.RegistryImpl \
  83         sun.rmi.transport.DGCImpl, \
  84     CLASSES_DIR := $(CLASSES_DIR), \
  85     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
  86     RUN_V11 := true))
  87 GENCLASSES += $(RMI_11)
  88 
  89 # For RMI/IIOP call rmic a second time with -standardPackage option
  90 # so that *_tie classes are generated in package without the prefix
  91 # org.omg.stub (6375696)
  92 JMX_RMI_CLASSES := javax.management.remote.rmi.RMIConnectionImpl \
  93     javax.management.remote.rmi.RMIServerImpl
  94 GENRMIIIOPCLASSES :=
  95 ifneq ($(RMICONNECTOR_IIOP), false)
  96     GENRMIIIOPCLASSES := $(RMICONNECTOR_IIOP)
  97 endif
  98 $(eval $(call SetupRMICompilation,RMI_IIOP, \
  99     CLASSES := $(JMX_RMI_CLASSES), \
 100     CLASSES_DIR := $(CLASSES_DIR), \
 101     STUB_CLASSES_DIR := $(STUB_CLASSES_DIR), \
 102     RUN_V12 := true, \
 103     RUN_IIOP := $(GENRMIIIOPCLASSES), \
 104     RUN_IIOP_STDPKG := $(GENRMIIIOPCLASSES)))
 105 GENCLASSES += $(RMI_IIOP)
 106 
 107 # Keep generated RMI/JRMP Stub source files and copy them to RMIC_GENSRC_DIR
 108 # so that javadoc can include them in the API (4997471)
 109 $(eval $(call SetupRMICompilation,RMI_SRC, \
 110     CLASSES := $(JMX_RMI_CLASSES), \
 111     CLASSES_DIR := $(CLASSES_DIR), \
 112     STUB_CLASSES_DIR := $(RMIC_GENSRC_DIR), \
 113     RUN_V12 := true, \
 114     KEEP_GENERATED := true))
 115 GENCLASSES += $(filter %.java, $(RMI_SRC))
 116 
 117 ##########################################################################################
 118 
 119 $(RMI_12) $(RMI_11) $(RMI_IIOP) $(RMI_SRC): $(BUILD_BOOTSTRAP_RMIC)
 120 
 121 $(RMIC_GENSRC_DIR)/_the.classes.removed: $(GENCLASSES)
 122         $(FIND) $(RMIC_GENSRC_DIR) -name "*.class" $(FIND_DELETE)
 123         $(TOUCH) $@
 124 
 125 all: $(RMIC_GENSRC_DIR)/_the.classes.removed $(GENCLASSES)
 126 
 127 .PHONY: all