Makefile revision 3817
80N/A#
80N/A# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
80N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
80N/A#
80N/A# This code is free software; you can redistribute it and/or modify it
80N/A# under the terms of the GNU General Public License version 2 only, as
80N/A# published by the Free Software Foundation. Oracle designates this
80N/A# particular file as subject to the "Classpath" exception as provided
80N/A# by Oracle in the LICENSE file that accompanied this code.
80N/A#
80N/A# This code is distributed in the hope that it will be useful, but WITHOUT
80N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
80N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
80N/A# version 2 for more details (a copy is included in the LICENSE file that
80N/A# accompanied this code).
80N/A#
80N/A# You should have received a copy of the GNU General Public License version
80N/A# 2 along with this work; if not, write to the Free Software Foundation,
80N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
80N/A#
682N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
80N/A# or visit www.oracle.com if you need additional information or have any
80N/A# questions.
80N/A#
80N/A
682N/A#
618N/A# Makefile for building tools
80N/A#
80N/A
682N/ABUILDDIR = ../..
682N/APACKAGE = sun.tools
682N/APRODUCT = sun
682N/Ainclude $(BUILDDIR)/common/Defs.gmk
682N/A
844N/A#
844N/A# Files
844N/A#
80N/AAUTO_FILES_JAVA_DIRS = \
80N/A sun/tools/jinfo \
1258N/A sun/tools/jmap \
1258N/A sun/tools/jps \
80N/A sun/tools/jstack \
80N/A sun/tools/jstat \
80N/A sun/tools/jstatd \
80N/A com/sun/tools/hat \
99N/A com/sun/tools/script/shell \
99N/A sun/jvmstat
80N/A
80N/A# Extra jstat files
80N/AFILES_copy += \
80N/A $(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_options \
80N/A $(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_unsupported_options
80N/A
80N/A# Extra jhat files
181N/AJHAT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/hat/resources
80N/AFILES_copy += \
181N/A $(JHAT_RESOURCEDIR)/hat.js \
80N/A $(JHAT_RESOURCEDIR)/oqlhelp.html \
80N/A $(JHAT_RESOURCEDIR)/platform_names.txt
80N/A
80N/A# Extra jrunscript files
JRUNSCRIPT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/script/shell
FILES_copy += \
$(JRUNSCRIPT_RESOURCEDIR)/init.js \
$(JRUNSCRIPT_RESOURCEDIR)/messages.properties
# Extra jvmstat files
FILES_copy += \
$(CLASSDESTDIR)/sun/jvmstat/perfdata/resources/aliasmap
# Build should include the file copies
build: copy-files
copy-files: $(FILES_copy)
$(CLASSDESTDIR)/%: $(SHARE_SRC)/classes/%
$(install-file)
clean clobber::
$(RM) $(FILES_copy)
.PHONY: copy-files
#
# Rules
#
include $(BUILDDIR)/common/Classes.gmk