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