Makefile revision 1365
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# This code is free software; you can redistribute it and/or modify it
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# under the terms of the GNU General Public License version 2 only, as
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# published by the Free Software Foundation. Sun designates this
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# particular file as subject to the "Classpath" exception as provided
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# by Sun in the LICENSE file that accompanied this code.
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# This code is distributed in the hope that it will be useful, but WITHOUT
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# version 2 for more details (a copy is included in the LICENSE file that
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# accompanied this code).
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# You should have received a copy of the GNU General Public License version
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# 2 along with this work; if not, write to the Free Software Foundation,
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# CA 95054 USA or visit www.sun.com if you need additional information or
30d2f45dd260208f0fb882dde134a249318524b9Lubos Kosco# have any questions.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Makefile for building jconsole
d2b27f3d647af6fca607f14cb9296cc61c64b5b7Knut Anders Hatlen# This program must contain a manifest that defines the execution level
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# needed to follow standard Vista User Access Control Guidelines
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# This must be set before Program.gmk is included
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerFILES_png = $(PNG_FILES:%.png=$(CLASSBINDIR)/%.png)
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerFILES_gif = $(GIF_FILES:%.gif=$(CLASSBINDIR)/%.gif)
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerbuild: $(GENSRCDIR)/sun/tools/jconsole/Version.java
14a41f02433890d19b2f871156271e3388cd0845Jens ElknerRESOURCE_BUNDLES_JAVA = $(PKGDIR)/resources/JConsoleResources.java
14a41f02433890d19b2f871156271e3388cd0845Jens Elknerbuild: $(FILES_png) $(FILES_gif) $(TEMPDIR)/manifest $(JARFILE)
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner $(SHARE_SRC)/classes/sun/tools/jconsole/Version-template.java
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner $(SED) -e 's/@@jconsole_version@@/$(FULL_VERSION)/g' $< > $@
# Extra rule to build jconsole.jar