makefiles/GenerateClasses.gmk

Print this page




  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 include RMICompile.gmk






  31 
  32 CLASSES_DIR := $(JDK_OUTPUTDIR)/classes
  33 # NOTE: If the smart javac dependency management is reintroduced, these classes risk 
  34 # interfering with the dependency checking. In that case they will need to be kept separate.
  35 STUB_CLASSES_DIR := $(JDK_OUTPUTDIR)/rmicclasses
  36 RMIC_GENSRC_DIR := $(JDK_OUTPUTDIR)/gendocsrc_rmic
  37 
  38 GENCLASSES :=
  39 
  40 ##########################################################################################
  41 #
  42 # Generate RMI stubs
  43 #
  44 
  45 $(eval $(call SetupRMICompilation,RMI_12,\
  46                 CLASSES:=sun.rmi.server.Activation$$$$ActivationSystemImpl\
  47                          java.rmi.activation.ActivationGroup\
  48                          com.sun.jndi.rmi.registry.ReferenceWrapper,\
  49                 CLASSES_DIR:=$(CLASSES_DIR),\
  50                 STUB_CLASSES_DIR:=$(STUB_CLASSES_DIR),\




  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  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 default: all
  27 
  28 include $(SPEC)
  29 include MakeBase.gmk
  30 include RMICompilation.gmk
  31 
  32 # To ensure the latest stub generator files are picked up from corba repo
  33 # when available, we need to run with latest rmic version available. 
  34 ifeq ($(CROSS_COMPILE_ARCH),)
  35     RMIC := $(UNCYGDRIVE) $(JDK_OUTPUTDIR)/bin/rmic
  36 endif  
  37 
  38 CLASSES_DIR := $(JDK_OUTPUTDIR)/classes
  39 # NOTE: If the smart javac dependency management is reintroduced, these classes risk 
  40 # interfering with the dependency checking. In that case they will need to be kept separate.
  41 STUB_CLASSES_DIR := $(JDK_OUTPUTDIR)/rmicclasses
  42 RMIC_GENSRC_DIR := $(JDK_OUTPUTDIR)/gendocsrc_rmic
  43 
  44 GENCLASSES :=
  45 
  46 ##########################################################################################
  47 #
  48 # Generate RMI stubs
  49 #
  50 
  51 $(eval $(call SetupRMICompilation,RMI_12,\
  52                 CLASSES:=sun.rmi.server.Activation$$$$ActivationSystemImpl\
  53                          java.rmi.activation.ActivationGroup\
  54                          com.sun.jndi.rmi.registry.ReferenceWrapper,\
  55                 CLASSES_DIR:=$(CLASSES_DIR),\
  56                 STUB_CLASSES_DIR:=$(STUB_CLASSES_DIR),\