Makefile revision 0
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# This code is free software; you can redistribute it and/or modify it
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# under the terms of the GNU General Public License version 2 only, as
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# published by the Free Software Foundation. Sun designates this
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# particular file as subject to the "Classpath" exception as provided
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# by Sun in the LICENSE file that accompanied this code.
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# This code is distributed in the hope that it will be useful, but WITHOUT
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# version 2 for more details (a copy is included in the LICENSE file that
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# accompanied this code).
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# You should have received a copy of the GNU General Public License version
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# 2 along with this work; if not, write to the Free Software Foundation,
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# CA 95054 USA or visit www.sun.com if you need additional information or
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# have any questions.
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch# Makefile for building JDK out of the box management support
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch#
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon BranchBUILDDIR = ../..
748a8f89855b186f2dfb950752c14d6f7585930dJon Branchinclude $(BUILDDIR)/common/Defs.gmk
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon BranchMGMT_LIBDIR = $(LIBDIR)/management
748a8f89855b186f2dfb950752c14d6f7585930dJon BranchMGMT_LIB_SRC = $(SHARE_SRC)/lib/management
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon Branchall build:: properties aclfile jmxremotefiles
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon BranchSUBDIRS = snmp jmxremote
748a8f89855b186f2dfb950752c14d6f7585930dJon Branchall build clean clobber::
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch $(SUBDIRS-loop)
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon Branchproperties: $(MGMT_LIBDIR)/management.properties
748a8f89855b186f2dfb950752c14d6f7585930dJon Branch
748a8f89855b186f2dfb950752c14d6f7585930dJon Branchaclfile: $(MGMT_LIBDIR)/snmp.acl.template
jmxremotefiles: $(MGMT_LIBDIR)/jmxremote.password.template $(MGMT_LIBDIR)/jmxremote.access
$(MGMT_LIBDIR)/management.properties: $(MGMT_LIB_SRC)/management.properties
$(install-file)
$(CHMOD) 644 $@
$(MGMT_LIBDIR)/snmp.acl.template: $(MGMT_LIB_SRC)/snmp.acl.template
$(install-file)
$(CHMOD) 444 $@
$(MGMT_LIBDIR)/jmxremote.password.template: $(MGMT_LIB_SRC)/jmxremote.password.template
$(install-file)
$(CHMOD) 444 $@
$(MGMT_LIBDIR)/jmxremote.access: $(MGMT_LIB_SRC)/jmxremote.access
$(install-file)
$(CHMOD) 644 $@