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