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