2736N/A#
4597N/A# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
2736N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2736N/A#
2736N/A# This code is free software; you can redistribute it and/or modify it
2736N/A# under the terms of the GNU General Public License version 2 only, as
2736N/A# published by the Free Software Foundation. Oracle designates this
2736N/A# particular file as subject to the "Classpath" exception as provided
2736N/A# by Oracle in the LICENSE file that accompanied this code.
2736N/A#
2736N/A# This code is distributed in the hope that it will be useful, but WITHOUT
2736N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2736N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2736N/A# version 2 for more details (a copy is included in the LICENSE file that
2736N/A# accompanied this code).
2736N/A#
2736N/A# You should have received a copy of the GNU General Public License version
2736N/A# 2 along with this work; if not, write to the Free Software Foundation,
2736N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2736N/A#
2736N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2736N/A# or visit www.oracle.com if you need additional information or have any
2736N/A# questions.
2736N/A#
2736N/A
2736N/ABUILDDIR = ../..
2736N/APRODUCT = oracle
4597N/A#SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true
4597N/A#SUBDIRS_MAKEFLAGS += JAVAC_WARNINGS_FATAL=true
4597N/A#SUBDIRS_MAKEFLAGS += JAVAC_LINT_OPTIONS=-Xlint:all,-deprecation,-path
2736N/Ainclude $(BUILDDIR)/common/Defs.gmk
2736N/A
5071N/AJFR_SRCDIRS_EXIST := $(shell \
5071N/A if [ -d $(CLOSED_SHARE_SRC)/native/oracle/jfr ] ; then \
5071N/A echo true; \
5071N/A else \
5071N/A echo false; \
5071N/A fi)
5071N/A
5071N/AJFR =
5071N/Aifndef OPENJDK
5071N/A ifndef JAVASE_EMBEDDED
5071N/A ifeq ($(JFR_SRCDIRS_EXIST), true)
5071N/A ifneq (${ARCH},arm)
5071N/A JFR = jfr
5071N/A endif
5071N/A endif
5071N/A endif
5071N/Aendif
5071N/A
4597N/A# build com/oracle/security/ucrypto on Solaris platform for non-OpenJDK builds
4597N/AUCRYPTO =
4597N/Aifndef OPENJDK
4597N/A ifeq ($(PLATFORM), solaris)
4597N/A UCRYPTO = security/ucrypto
4597N/A endif
4597N/Aendif
2736N/A
4603N/ASUBDIRS = $(JFR) net nio util $(UCRYPTO)
4352N/A
4597N/Ainclude $(BUILDDIR)/common/Subdirs.gmk
4597N/A
4597N/Aall build clean clobber::
4597N/A $(SUBDIRS-loop)
4597N/A