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