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