0N/A#
3909N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. 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
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle 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
0N/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#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile for building jconsole
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/APACKAGE = sun.tools.jconsole
0N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
1365N/A# This program must contain a manifest that defines the execution level
1365N/A# needed to follow standard Vista User Access Control Guidelines
1365N/A# This must be set before Program.gmk is included
1365N/A#
1365N/ABUILD_MANIFEST=true
1365N/A
1365N/A
0N/AJARFILE = $(LIBDIR)/jconsole.jar
0N/A
0N/AOTHER_JAVACFLAGS += -encoding iso8859-1
0N/A
0N/A#
0N/A# Files
0N/A#
0N/Ainclude FILES.gmk
0N/A
0N/AAUTO_FILES_JAVA_DIRS = sun/tools/jconsole \
0N/A com/sun/tools/jconsole
0N/A
0N/AFILES_png = $(PNG_FILES:%.png=$(CLASSBINDIR)/%.png)
0N/AFILES_gif = $(GIF_FILES:%.gif=$(CLASSBINDIR)/%.gif)
5335N/AFILES_prop = $(PROP_FILES:%.properties=$(CLASSBINDIR)/%.properties)
0N/Abuild: $(GENSRCDIR)/sun/tools/jconsole/Version.java
0N/A
0N/A#
0N/A# Resources
0N/A#
0N/ALOCALE_SET_DEFINITION = jdk
5335N/ARESOURCE_BUNDLES_UNCOMPILED_PROPERTIES = $(PKGDIR)/resources/messages.properties
0N/A
0N/A#
0N/A# Rules.
0N/A#
0N/Ainclude $(BUILDDIR)/common/Classes.gmk
0N/A
5335N/Abuild: $(FILES_png) $(FILES_gif) $(FILES_prop) $(TEMPDIR)/manifest $(JARFILE)
0N/A
0N/A$(GENSRCDIR)/sun/tools/jconsole/Version.java: \
1776N/A $(SHARE_SRC)/classes/sun/tools/jconsole/Version.java.template
0N/A $(MKDIR) -p $(@D)
0N/A $(SED) -e 's/@@jconsole_version@@/$(FULL_VERSION)/g' $< > $@
0N/A
0N/A$(CLASSBINDIR)/$(PKGDIR)/resources/%: $(SHARE_SRC)/classes/$(PKGDIR)/resources/%
0N/A @$(MKDIR) -p $(@D)
0N/A $(install-file)
0N/A
0N/A$(TEMPDIR)/manifest: $(SHARE_SRC)/classes/$(PKGDIR)/manifest
2080N/A $(install-manifest-file)
0N/A
0N/A#
0N/A# Extra rule to build jconsole.jar
0N/A#
0N/A
5335N/A$(JARFILE): $(LIBDIR) $(FILES_class) $(FILES_png) $(FILES_gif) $(FILES_prop) $(TEMPDIR)/manifest
0N/A $(BOOT_JAR_CMD) -cfm $(JARFILE) $(TEMPDIR)/manifest \
0N/A -C $(CLASSBINDIR) sun/tools/jconsole \
0N/A -C $(CLASSBINDIR) com/sun/tools/jconsole \
459N/A $(BOOT_JAR_JFLAGS)
0N/A @$(java-vm-cleanup)
0N/A
0N/Aclean clobber::
0N/A $(RM) $(TEMPDIR)/manifest $(JARFILE)
0N/A