jdk/make/com/oracle/Makefile
author nloodin
Tue, 05 Jun 2012 13:43:39 +0200
changeset 12880 1062b2cf73d0
parent 11678 9d22454e9dad
permissions -rw-r--r--
7163471: Licensee source bundle failed around 7u4 Reviewed-by: dholmes, sla, brutisso, erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6525
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     1
#
11523
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
     2
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
6525
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     4
#
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    10
#
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    15
# accompanied this code).
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    16
#
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    20
#
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    23
# questions.
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    24
#
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    25
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    26
BUILDDIR = ../..
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    27
PRODUCT = oracle
11523
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    28
#SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    29
#SUBDIRS_MAKEFLAGS += JAVAC_WARNINGS_FATAL=true
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    30
#SUBDIRS_MAKEFLAGS += JAVAC_LINT_OPTIONS=-Xlint:all,-deprecation,-path
6525
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    31
include $(BUILDDIR)/common/Defs.gmk
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    32
12880
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    33
JFR_SRCDIRS_EXIST := $(shell \
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    34
  if [ -d $(CLOSED_SHARE_SRC)/native/oracle/jfr ] ; then \
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    35
    echo true; \
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    36
  else \
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    37
    echo false; \
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    38
  fi)
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    39
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    40
JFR =
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    41
ifndef OPENJDK
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    42
  ifndef JAVASE_EMBEDDED
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    43
    ifeq ($(JFR_SRCDIRS_EXIST), true)
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    44
      JFR = jfr
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    45
    endif
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    46
  endif
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    47
endif
1062b2cf73d0 7163471: Licensee source bundle failed around 7u4
nloodin
parents: 11678
diff changeset
    48
11523
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    49
# build com/oracle/security/ucrypto on Solaris platform for non-OpenJDK builds
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    50
UCRYPTO =
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    51
ifndef OPENJDK
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    52
  ifeq ($(PLATFORM), solaris)
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    53
    UCRYPTO = security/ucrypto
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    54
  endif
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    55
endif
6525
56be41b86ef8 6965072: Need API to create SDP sockets
alanb
parents:
diff changeset
    56
11678
9d22454e9dad 7132386: makefile support for tracing/Java Flight Recorder framework phase I
rbackman
parents: 11523
diff changeset
    57
SUBDIRS = $(JFR) net nio util $(UCRYPTO)
10325
b72c20cd583a 7047325: Internal API to improve management of direct buffers
coffeys
parents: 6525
diff changeset
    58
11523
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    59
include $(BUILDDIR)/common/Subdirs.gmk
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    60
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    61
all build clean clobber::
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    62
	$(SUBDIRS-loop)
85131f3172a1 7088989: Improve the performance for T4 by utilizing the newly provided crypto APIs
valeriep
parents: 10325
diff changeset
    63