Makefile revision 2362
64N/A#
64N/A# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
64N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
64N/A#
64N/A# This code is free software; you can redistribute it and/or modify it
64N/A# under the terms of the GNU General Public License version 2 only, as
64N/A# published by the Free Software Foundation. Oracle designates this
64N/A# particular file as subject to the "Classpath" exception as provided
64N/A# by Oracle in the LICENSE file that accompanied this code.
64N/A#
64N/A# This code is distributed in the hope that it will be useful, but WITHOUT
64N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
64N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
64N/A# version 2 for more details (a copy is included in the LICENSE file that
64N/A# accompanied this code).
64N/A#
64N/A# You should have received a copy of the GNU General Public License version
64N/A# 2 along with this work; if not, write to the Free Software Foundation,
64N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
64N/A#
75N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
75N/A# or visit www.oracle.com if you need additional information or have any
752N/A# questions.
64N/A#
64N/A
64N/A#
64N/A# Makefile for building JDK out of the box management support
64N/A#
752N/A
618N/ABUILDDIR = ../..
64N/AMODULE = management
64N/A
844N/Ainclude $(BUILDDIR)/common/Defs.gmk
844N/A
64N/AMGMT_LIBDIR = $(LIBDIR)/management
64N/AMGMT_LIB_SRC = $(SHARE_SRC)/lib/management
64N/A
64N/Aall build:: properties aclfile jmxremotefiles
64N/A
64N/A# When building the openjdk, build snmp only if importing binary plugs,
64N/Aifdef OPENJDK
64N/A ifeq ($(IMPORT_BINARY_PLUGS),true)
64N/A SUBDIRS = snmp
64N/A endif
64N/Aelse
64N/A SUBDIRS = snmp
64N/Aendif
64N/ASUBDIRS += jmxremote
181N/A
181N/Ainclude $(BUILDDIR)/common/Subdirs.gmk
181N/A
64N/Aall build clean clobber::
64N/A $(SUBDIRS-loop)
64N/A
64N/Aproperties: $(MGMT_LIBDIR)/management.properties
aclfile: $(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)
$(call chmod-file, 644)
$(MGMT_LIBDIR)/snmp.acl.template: $(MGMT_LIB_SRC)/snmp.acl.template
$(install-file)
$(call chmod-file, 444)
$(MGMT_LIBDIR)/jmxremote.password.template: $(MGMT_LIB_SRC)/jmxremote.password.template
$(install-file)
$(call chmod-file, 444)
$(MGMT_LIBDIR)/jmxremote.access: $(MGMT_LIB_SRC)/jmxremote.access
$(install-file)
$(call chmod-file, 644)