Makefile revision 1377
168N/A#
168N/A# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
168N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
168N/A#
168N/A# This code is free software; you can redistribute it and/or modify it
168N/A# under the terms of the GNU General Public License version 2 only, as
168N/A# published by the Free Software Foundation. Sun designates this
168N/A# particular file as subject to the "Classpath" exception as provided
168N/A# by Sun in the LICENSE file that accompanied this code.
168N/A#
168N/A# This code is distributed in the hope that it will be useful, but WITHOUT
168N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
168N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
168N/A# version 2 for more details (a copy is included in the LICENSE file that
168N/A# accompanied this code).
168N/A#
168N/A# You should have received a copy of the GNU General Public License version
168N/A# 2 along with this work; if not, write to the Free Software Foundation,
168N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
168N/A#
168N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
168N/A# CA 95054 USA or visit www.sun.com if you need additional information or
168N/A# have any questions.
168N/A#
168N/A
168N/A#
168N/A# Makefile for building all the demos
168N/A#
168N/A
168N/ABUILDDIR = ..
168N/APRODUCT = demos
168N/Ainclude $(BUILDDIR)/common/Defs.gmk
168N/A
168N/ASUBDIRS = applets jfc jvmti management jni scripting jpda
168N/A
168N/Aall build:: nbproject
168N/A $(SUBDIRS-loop)
168N/A
168N/Anbproject:
168N/A $(RM) -r $(DEMODIR)/nbproject
168N/A $(MKDIR) -p $(DEMODIR)
168N/A ( $(CD) $(SHARE_SRC)/demo && $(TAR) -cf - \
168N/A `find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
168N/A ( $(CD) $(DEMODIR) && $(TAR) -xf - )
168N/Aifndef OPENJDK
168N/A ( $(CD) $(CLOSED_SHARE_SRC)/demo && $(TAR) -cf - \
168N/A `find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
168N/A ( $(CD) $(DEMODIR) && $(TAR) -xf - )
168N/Aendif
168N/A
168N/Aclean clobber::
168N/A $(SUBDIRS-loop)
168N/A $(RM) -r $(DEMODIR)
168N/A $(RM) -r $(DEMOCLASSDIR)
168N/A
168N/A