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