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