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