Makefile revision 5559
0N/A#
196N/A# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Oracle in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
0N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A# or visit www.oracle.com if you need additional information or have any
0N/A# questions.
0N/A#
0N/A
304N/A#
0N/A# Install a wrapper for the "rmid" command. The associated classfiles
0N/A# are built at a higher level.
0N/A#
0N/A
0N/ABUILDDIR = ../../..
0N/AJAVAC_MAX_WARNINGS = true
0N/AJAVAC_WARNINGS_FATAL = true
0N/APACKAGE = sun.rmi.activation
0N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/Abuild: stubs rmid
0N/A
0N/A#
0N/A# Resources
0N/A#
0N/ALOCALE_SET_DEFINITION = jre
0N/ARESOURCE_BUNDLES_UNCOMPILED_PROPERTIES = sun/rmi/server/resources/rmid.properties
0N/A
0N/A#
0N/A# Extra dependencies.
0N/A#
0N/Aclasses: stubs
0N/A
0N/A#
0N/A# Rules to build activation-system stubs
0N/A#
0N/A
0N/A# Full package names of implementations requiring stubs
0N/AREMOTE_impls = \
0N/A sun.rmi.server.Activation$$ActivationSystemImpl \
0N/A java.rmi.activation.ActivationGroup
0N/A
0N/AREMOTE_files = $(subst .,/,$(REMOTE_impls))
0N/AFILES_stubs = $(REMOTE_files:%=$(CLASSBINDIR)/%_Stub.class)
0N/A
0N/A#
0N/A# Compile stubs for remote implementations
0N/A# (use -v1.2 stubs for activation system)
0N/A#
0N/A
0N/A$(CLASSBINDIR)/%_Stub.class: $(CLASSBINDIR)/%.class
304N/A $(RMIC) -v1.2 -classpath $(CLASSBINDIR) \
304N/A -d $(CLASSBINDIR) '$(subst /,.,$(<:$(CLASSBINDIR)/%.class=%))'
0N/A @$(java-vm-cleanup)
0N/A
0N/Astubs: $(FILES_stubs)
0N/A
304N/A#
304N/A# Rules to
304N/A#
304N/Ainclude $(BUILDDIR)/common/Classes.gmk
304N/A
304N/Armid:
304N/A $(call make-launcher, rmid, sun.rmi.server.Activation, , )
304N/A