Makefile revision 4632
98N/A#
98N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
98N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
98N/A#
606N/A# This code is free software; you can redistribute it and/or modify it
733N/A# under the terms of the GNU General Public License version 2 only, as
98N/A# published by the Free Software Foundation. Oracle designates this
98N/A# particular file as subject to the "Classpath" exception as provided
98N/A# by Oracle in the LICENSE file that accompanied this code.
98N/A#
98N/A# This code is distributed in the hope that it will be useful, but WITHOUT
98N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
98N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
98N/A# version 2 for more details (a copy is included in the LICENSE file that
98N/A# accompanied this code).
98N/A#
98N/A# You should have received a copy of the GNU General Public License version
98N/A# 2 along with this work; if not, write to the Free Software Foundation,
98N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
98N/A#
98N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
98N/A# or visit www.oracle.com if you need additional information or have any
98N/A# questions.
98N/A#
98N/A
98N/A#
98N/A# Makefile for building all the samples
98N/A#
98N/A
98N/ABUILDDIR = ..
98N/APRODUCT = java
98N/Ainclude $(BUILDDIR)/common/Defs.gmk
851N/A
98N/Aifdef OPENJDK
98N/A WEBSERVICES_SUBDIR =
235N/Aelse
156N/A WEBSERVICES_SUBDIR = webservices
156N/Aendif
156N/A
156N/ASUBDIRS =
98N/ASUBDIRS_misc = nio scripting nbproject forkjoin
98N/ASUBDIRS_enterprise = $(WEBSERVICES_SUBDIR)
98N/ASUBDIRS_management = jmx
98N/A
493N/A# include dtrace samples in Solaris builds
493N/Aifeq ($(PLATFORM), solaris)
98N/A SUBDIRS += dtrace
98N/Aendif
235N/A
493N/A# and Mac OS X too
98N/Aifeq ($(PLATFORM), macosx)
98N/A SUBDIRS += dtrace
98N/Aendif
98N/A
606N/Ainclude $(BUILDDIR)/common/Subdirs.gmk
98N/A
98N/ATOPLEVEL_FILES = \
98N/A $(SAMPLEDIR)/README
606N/A
606N/Aall build clean clobber::
98N/A $(SUBDIRS-loop)
493N/A
493N/Aall build:: $(TOPLEVEL_FILES)
493N/A
98N/A$(SAMPLEDIR)/%: $(SAMPLESRCDIR)/%
98N/A $(install-file)
98N/A
98N/Aclobber clean ::
606N/A $(RM) -r $(SAMPLEDIR)
591N/A