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