Makefile revision 1780
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
9c67ffea79ab184351b5d554b57814e13285e758jim# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener# This code is free software; you can redistribute it and/or modify it
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener# under the terms of the GNU General Public License version 2 only, as
a81c0c1ae464b2063a21b45f80c9da8d89bb840ecovener# published by the Free Software Foundation. Sun designates this
ffae06377667a5d8f9699ac7512134de7000a83dminfrin# particular file as subject to the "Classpath" exception as provided
ffae06377667a5d8f9699ac7512134de7000a83dminfrin# by Sun in the LICENSE file that accompanied this code.
ffae06377667a5d8f9699ac7512134de7000a83dminfrin# This code is distributed in the hope that it will be useful, but WITHOUT
efc81fe729a2b7401028387da184b4a98f0b854atrawick# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
efc81fe729a2b7401028387da184b4a98f0b854atrawick# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
efc81fe729a2b7401028387da184b4a98f0b854atrawick# version 2 for more details (a copy is included in the LICENSE file that
efc81fe729a2b7401028387da184b4a98f0b854atrawick# accompanied this code).
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim# You should have received a copy of the GNU General Public License version
8f066564bfc0fd6ddc6ca4b2f2410615554597d1jim# 2 along with this work; if not, write to the Free Software Foundation,
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
29ecbd9db1622e74964264d078336f7604d65093jim# CA 95054 USA or visit www.sun.com if you need additional information or
29ecbd9db1622e74964264d078336f7604d65093jim# have any questions.
da40dfabefd6f8eb8450e9a097c594ee2ab13e3eminfrin# Makefile for building RMI stubs of JMX Remote
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sf# Files to compile
8602c898d4e06a7e7b9d6b7cf4b172a8e7310987sf# NO java files to compile: already compiled in javax/management/Makefile
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# Note : some targets are double colon rules and some single colon rules
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# within common included gmk files : that is why the following for loop
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# has been duplicated.
4acc1efe19ac2e6f2df0abb4d5bf99bd8ae3c5c6jim# When building the openjdk, build snmp only if importing binary plugs,
e63e8b4b886d2144fed7946d0fbe8d27386be2dcjorton# Clean up internal-use-only package.
bf507cc1e6ad55303c3d436c6ca153f46c788be6sf $(CLASSDESTDIR)/org/omg/stub/javax/management/remote/rmi \
93cf7fc650197b941ae31a7c7e51e901b129e954igalic# The remainder of this makefile contains defs and rules
93cf7fc650197b941ae31a7c7e51e901b129e954igalic# for generating RMI stubs.
a2558ec3af4391b7da7fe61e1e53383bbd0174b9jorton# Full class names of implementations requiring stubs
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sfFILES_stubs = $(REMOTE_files:%=$(CLASSDESTDIR)/%_Stub.class)
48e4b65042d94992c50f1db6c0b0cdbd99ca77e8sfFILES_ties = $(subst javax/management/remote/rmi/,javax/management/remote/rmi/_,$(REMOTE_files:%=$(CLASSDESTDIR)/%_Tie.class))
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim# Compile stubs and skeletons for remote implementations
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim# Keep generated RMI/JRMP Stub source files and copy them to GENSRCDIR
47ae8ca3c79d279b2e5424d6b8cf5e4e61ea968fjim# so that javadoc can include them in the API (4997471)
397df70abe0bdd78a84fb6c38c02641bcfeadceasf# For RMI/IIOP call rmic a second time with -standardPackage option
397df70abe0bdd78a84fb6c38c02641bcfeadceasf# so that *_tie classes are generated in package without the prefix