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