Makefile revision 442
277N/A#
277N/A# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
277N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
277N/A#
1068N/A# This code is free software; you can redistribute it and/or modify it
277N/A# under the terms of the GNU General Public License version 2 only, as
277N/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#
277N/A
277N/A#
277N/A# Makefile for building all the demos
277N/A#
493N/A
277N/ABUILDDIR = ..
277N/APRODUCT = demos
1068N/Ainclude $(BUILDDIR)/common/Defs.gmk
277N/A
911N/ASUBDIRS = applets jfc jvmti management jni scripting jpda
1068N/A
1068N/Aall build:: nbproject
911N/A $(SUBDIRS-loop)
277N/A
277N/Anbproject:
277N/A $(RM) -r $(DEMODIR)/nbproject
277N/A $(MKDIR) -p $(DEMODIR)
493N/A ( $(CD) $(SHARE_SRC)/demo && $(TAR) -cf - \
493N/A `find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
277N/A ( $(CD) $(DEMODIR) && $(TAR) -xf - )
970N/Aifndef OPENJDK
970N/A ( $(CD) $(CLOSED_SHARE_SRC)/demo && $(TAR) -cf - \
970N/A `find nbproject $(SCM_DIRS_prune) -o -type f -print` ) | \
277N/A ( $(CD) $(DEMODIR) && $(TAR) -xf - )
endif
clean clobber::
$(SUBDIRS-loop)
$(RM) -r $(DEMODIR)
$(RM) -r $(DEMOCLASSDIR)