Makefile revision 3909
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# This code is free software; you can redistribute it and/or modify it
2eeec5240b424984e3ee26296da1eeab6c6d739eChristian Maeder# under the terms of the GNU General Public License version 2 only, as
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# published by the Free Software Foundation. Oracle designates this
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# particular file as subject to the "Classpath" exception as provided
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# by Oracle in the LICENSE file that accompanied this code.
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder#
5c358300e78157f4bfaf5415c70e1096a9205b61Christian Maeder# This code is distributed in the hope that it will be useful, but WITHOUT
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# version 2 for more details (a copy is included in the LICENSE file that
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# accompanied this code).
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# You should have received a copy of the GNU General Public License version
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# 2 along with this work; if not, write to the Free Software Foundation,
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
42c01284bba8d7c8d995c8dfb96ace57d28ed1bcTill Mossakowski#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# or visit www.oracle.com if you need additional information or have any
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# questions.
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# Makefile for building the jvmti demo(s)
5c358300e78157f4bfaf5415c70e1096a9205b61Christian Maeder#
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
a65b135c4ed7e68b2510bc218018ffa8f9a34fe8Liam O'ReillyBUILDDIR = ../..
a0c2edf89c8b51141bc8919b920c85548e388d00Till MossakowskiPRODUCT = demos
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowskiinclude $(BUILDDIR)/common/Defs.gmk
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# Can be built in any order, the JRE version of hprof and java_crw_demo are
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# really built in make/java.
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# The hprof target here just delivers the sources and README files.
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# The java_crw_demo and agent_util files are copied into each demo that
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski# uses them.
a0c2edf89c8b51141bc8919b920c85548e388d00Till MossakowskiSUBDIRS = \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski versionCheck \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski compiledMethodLoad \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski gctest \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski heapViewer \
a65b135c4ed7e68b2510bc218018ffa8f9a34fe8Liam O'Reilly heapTracker \
e54c5af823b9775dd2c058185ea5bdf7593950faAndy Gimblett minst \
41486a487c9b065d4d9d1a8adf63c00925cd455bAndy Gimblett mtrace \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski waiters \
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski hprof
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
5c358300e78157f4bfaf5415c70e1096a9205b61Christian Maederinclude $(BUILDDIR)/common/Subdirs.gmk
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowskiall build clean clobber::
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski $(SUBDIRS-loop)
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowski
a0c2edf89c8b51141bc8919b920c85548e388d00Till Mossakowskiall build :: $(DEMODIR)/jvmti/index.html
bba825b39570777866d560bfde3807731131097eKlaus Luettich
7592d4dc0461feff73113f4679e0b1823fd117faChristian Maeder$(DEMODIR)/jvmti/index.html: $(SHARE_SRC)/demo/jvmti/index.html
578b677874296e4ba48e57b5e4b4b0270d995603Christian Maeder $(install-file)
578b677874296e4ba48e57b5e4b4b0270d995603Christian Maeder
88ece6e49930670e8fd3ee79c89a2e918d2fbd0cChristian Maeder