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