Makefile revision 2080
0N/A#
2362N/A# Copyright 2003-2005 Sun Microsystems, Inc. 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. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Sun 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
2362N/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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A# CA 95054 USA or visit www.sun.com if you need additional information or
0N/A# have any questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile for building JDK out of the box management support
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/AMODULE = management
4378N/A
4378N/Ainclude $(BUILDDIR)/common/Defs.gmk
4378N/A
4378N/AMGMT_LIBDIR = $(LIBDIR)/management
4378N/AMGMT_LIB_SRC = $(SHARE_SRC)/lib/management
4378N/A
4378N/Aall build:: properties aclfile jmxremotefiles
4378N/A
4378N/A# When building the openjdk, build snmp only if importing binary plugs,
0N/Aifdef OPENJDK
0N/A ifeq ($(IMPORT_BINARY_PLUGS),true)
0N/A SUBDIRS = snmp
0N/A endif
0N/Aelse
0N/A SUBDIRS = snmp
0N/Aendif
0N/ASUBDIRS += jmxremote
0N/A
0N/Aall build clean clobber::
0N/A $(SUBDIRS-loop)
0N/A
0N/Aproperties: $(MGMT_LIBDIR)/management.properties
0N/A
0N/Aaclfile: $(MGMT_LIBDIR)/snmp.acl.template
0N/A
0N/Ajmxremotefiles: $(MGMT_LIBDIR)/jmxremote.password.template $(MGMT_LIBDIR)/jmxremote.access
0N/A
0N/A$(MGMT_LIBDIR)/management.properties: $(MGMT_LIB_SRC)/management.properties
0N/A $(install-file)
0N/A $(call chmod-file, 644)
0N/A
0N/A$(MGMT_LIBDIR)/snmp.acl.template: $(MGMT_LIB_SRC)/snmp.acl.template
0N/A $(install-file)
0N/A $(call chmod-file, 444)
0N/A
0N/A$(MGMT_LIBDIR)/jmxremote.password.template: $(MGMT_LIB_SRC)/jmxremote.password.template
0N/A $(install-file)
0N/A $(call chmod-file, 444)
0N/A
0N/A$(MGMT_LIBDIR)/jmxremote.access: $(MGMT_LIB_SRC)/jmxremote.access
0N/A $(install-file)
0N/A $(call chmod-file, 644)
0N/A
0N/A