Makefile revision 4601
0N/A#
0N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
741N/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
0N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
292N/A# by Oracle in the LICENSE file that accompanied this code.
292N/A#
292N/A# This code is distributed in the hope that it will be useful, but WITHOUT
292N/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).
292N/A#
292N/A# You should have received a copy of the GNU General Public License version
292N/A# 2 along with this work; if not, write to the Free Software Foundation,
292N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
292N/A#
292N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
292N/A# or visit www.oracle.com if you need additional information or have any
292N/A# questions.
292N/A#
292N/A
292N/A#
0N/A# Makefile for building tools
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/APACKAGE = sun.tools
0N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A#
0N/A# Files
0N/A#
0N/AAUTO_FILES_JAVA_DIRS = \
0N/A sun/tools/jinfo \
0N/A sun/tools/jmap \
0N/A sun/tools/jps \
0N/A sun/tools/jstack \
285N/A sun/tools/jstat \
0N/A sun/tools/jstatd \
0N/A sun/tools/jcmd \
583N/A com/sun/tools/hat \
0N/A com/sun/tools/script/shell \
0N/A sun/jvmstat
0N/A
0N/A# Extra jstat files
600N/AFILES_copy += \
600N/A $(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_options \
470N/A $(CLASSDESTDIR)/sun/tools/jstat/resources/jstat_unsupported_options
0N/A
0N/A# Extra jhat files
0N/AJHAT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/hat/resources
0N/AFILES_copy += \
0N/A $(JHAT_RESOURCEDIR)/hat.js \
0N/A $(JHAT_RESOURCEDIR)/oqlhelp.html \
70N/A $(JHAT_RESOURCEDIR)/platform_names.txt
470N/A
544N/A# Extra jrunscript files
544N/AJRUNSCRIPT_RESOURCEDIR = $(CLASSDESTDIR)/com/sun/tools/script/shell
0N/AFILES_copy += \
0N/A $(JRUNSCRIPT_RESOURCEDIR)/init.js \
0N/A $(JRUNSCRIPT_RESOURCEDIR)/messages.properties
0N/A
0N/A# Extra jvmstat files
0N/AFILES_copy += \
0N/A $(CLASSDESTDIR)/sun/jvmstat/perfdata/resources/aliasmap
0N/A
0N/A# Build should include the file copies
0N/Abuild: copy-files
0N/A
600N/Acopy-files: $(FILES_copy)
600N/A
600N/A$(CLASSDESTDIR)/%: $(SHARE_SRC)/classes/%
600N/A $(install-file)
600N/A
600N/Aclean clobber::
0N/A $(RM) $(FILES_copy)
0N/A
0N/A.PHONY: copy-files
0N/A
0N/A#
0N/A# Rules
0N/A#
0N/Ainclude $(BUILDDIR)/common/Classes.gmk
0N/A
0N/A