corba/make/CompileInterim.gmk
author alanb
Thu, 14 May 2015 13:45:23 +0100
changeset 30503 ce1fd449793c
parent 27568 55efe677dc75
permissions -rw-r--r--
8080330: (cs) Charset.availableCharsets failing with NPE on several platforms Reviewed-by: chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27568
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     1
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     2
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     4
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    10
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    15
# accompanied this code).
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    16
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    20
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    23
# questions.
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    24
#
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    25
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    26
# This must be the first rule
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    27
default: all
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    28
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    29
include $(SPEC)
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    30
include MakeBase.gmk
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    31
include JavaCompilation.gmk
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    32
include SetupJavaCompilers.gmk
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    33
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    34
################################################################################
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    35
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    36
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    37
    SETUP := GENERATE_OLDBYTECODE, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    38
    SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    39
      $(CORBA_TOPDIR)/src/java.corba/share/classes \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    40
      $(CORBA_TOPDIR)/src/jdk.rmic/share/classes \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    41
      $(SUPPORT_OUTPUTDIR)/gensrc/java.corba, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    42
    EXCLUDES := com/sun/corba/se/PortableActivationIDL, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    43
    EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    44
        com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    45
        org/omg/PortableInterceptor/UNKNOWN.java \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    46
        com/sun/tools/corba/se/idl/ResourceBundleUtil.java \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    47
        com/sun/corba/se/impl/presentation/rmi/jndi.properties, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    48
    COPY := .prp, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    49
    CLEAN := .properties, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    50
    BIN := $(BUILDTOOLS_OUTPUTDIR)/corba_interim_classes, \
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    51
    JAR := $(INTERIM_CORBA_JAR)))
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    52
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    53
################################################################################
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    54
55efe677dc75 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    55
all: $(BUILD_INTERIM_CORBA)