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