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