Makefile revision 0
0N/A#
0N/A# Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/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. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Sun in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/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).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A# CA 95054 USA or visit www.sun.com if you need additional information or
0N/A# have any questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile for the dtrace sample code
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/A
0N/APRODUCT = java
0N/A
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/ASAMPLE_SRC_DIR = $(PLATFORM_SRC)/sample/dtrace
0N/ASAMPLE_DST_DIR = $(SAMPLEDIR)/dtrace
0N/A
0N/ASAMPLE_FILES = \
0N/A $(SAMPLE_DST_DIR)/README.txt \
0N/A $(SAMPLE_DST_DIR)/helpers/dtrace_helper.d \
0N/A $(SAMPLE_DST_DIR)/hotspot_jni/README.txt \
0N/A $(SAMPLE_DST_DIR)/hotspot_jni/CriticalSection.d \
0N/A $(SAMPLE_DST_DIR)/hotspot_jni/CriticalSection_slow.d \
0N/A $(SAMPLE_DST_DIR)/hotspot_jni/hotspot_jni_calls_stat.d \
0N/A $(SAMPLE_DST_DIR)/hotspot_jni/hotspot_jni_calls_tree.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/README.txt \
0N/A $(SAMPLE_DST_DIR)/hotspot/class_loading_stat.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/gc_time_stat.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/hotspot_calls_tree.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/method_compile_stat.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/method_invocation_stat.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/method_invocation_stat_filter.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/method_invocation_tree.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/monitors.d \
0N/A $(SAMPLE_DST_DIR)/hotspot/object_allocation_stat.d
0N/A
0N/A
0N/Aall build: $(SAMPLE_FILES)
0N/A
0N/A$(SAMPLE_DST_DIR)/%: $(SAMPLE_SRC_DIR)/%
0N/A $(install-file)
0N/A
0N/Aclean clobber:
0N/A $(RM) -r $(SAMPLE_DST_DIR)
0N/A
0N/A.PHONY: all build clean clobber