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