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