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