corba/make/GensrcCorba.gmk
author igerasim
Thu, 13 Mar 2014 07:52:17 +0400
changeset 23344 70f819173479
parent 23067 7b20ffccad89
child 23362 da5c80c40887
permissions -rw-r--r--
7011804: SequenceInputStream with lots of empty substreams can cause StackOverflowError Reviewed-by: chegar, alanb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     1
#
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
     2
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     4
#
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    10
#
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    15
# accompanied this code).
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    16
#
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    20
#
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    23
# questions.
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    24
#
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    25
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    26
default: all
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    27
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    28
include $(SPEC)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    29
include MakeBase.gmk
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    30
include JavaCompilation.gmk
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    31
include IdlCompilation.gmk
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    32
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    33
include CommonCorba.gmk
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    34
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    35
################################################################################
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    36
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    37
$(eval $(call SetupJavaCompilation,BUILD_TOOLS, \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    38
    SETUP := GENERATE_OLDBYTECODE, \
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    39
    SRC := $(CORBA_TOPDIR)/make/src/classes, \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    40
    BIN := $(CORBA_OUTPUTDIR)/tools_classes))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    41
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    42
TOOL_STRIPPROP_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/tools_classes \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    43
    build.tools.stripproperties.StripPropertiesCorba
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    44
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    45
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/tools_classes \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    46
    build.tools.logutil.MC
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    47
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    48
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    49
    SETUP := GENERATE_OLDBYTECODE, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    50
    SRC := $(CORBA_TOPDIR)/src/share/classes, \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    51
    BIN := $(CORBA_OUTPUTDIR)/idlj_classes, \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    52
    COPY := .prp, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    53
    INCLUDES := com/sun/tools/corba/se/idl, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    54
    EXCLUDE_FILES := ResourceBundleUtil.java))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    55
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    56
TOOL_IDLJ_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/idlj_classes \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    57
    com.sun.tools.corba.se.idl.toJavaPortable.Compile
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    58
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    59
################################################################################
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    60
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    61
# Generate LogWrapper classes
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    62
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/%SystemException.java: \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    63
    $(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    64
    $(BUILD_TOOLS)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    65
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    66
	$(RM) -f $(@D)/_the_wrappers.d
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    67
	$(ECHO) $(LOG_INFO) Generating class file from $*.mc
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    68
	$(TOOL_LOGUTIL_CMD) make-class $< $(@D)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    69
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    70
# Generate LogWrapper properties file by concatening resource files
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    71
$(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/LogStrings.properties: \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    72
    $(CORBA_OUTPUTDIR)/logwrappers/ActivationSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    73
    $(CORBA_OUTPUTDIR)/logwrappers/IORSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    74
    $(CORBA_OUTPUTDIR)/logwrappers/InterceptorsSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    75
    $(CORBA_OUTPUTDIR)/logwrappers/NamingSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    76
    $(CORBA_OUTPUTDIR)/logwrappers/OMGSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    77
    $(CORBA_OUTPUTDIR)/logwrappers/ORBUtilSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    78
    $(CORBA_OUTPUTDIR)/logwrappers/POASystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    79
    $(CORBA_OUTPUTDIR)/logwrappers/UtilSystemException.resource
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    80
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    81
	$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    82
	$(CAT) $^ > $@
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    83
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    84
# The resources files are generated from lisp-like .mc files.
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    85
$(CORBA_OUTPUTDIR)/logwrappers/%SystemException.resource: \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    86
    $(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
    87
    $(BUILD_TOOLS)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    88
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    89
	$(RM) -f $(@D)/_the_wrappers.d
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    90
	$(ECHO) $(LOG_INFO) Generating resource file from $*.mc
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    91
	$(TOOL_LOGUTIL_CMD) make-resource $< $(@D)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    92
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    93
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    94
LOGWRAPPER_TARGETS := \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    95
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/ActivationSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    96
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/IORSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    97
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/InterceptorsSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    98
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/NamingSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    99
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/OMGSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   100
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/ORBUtilSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   101
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/POASystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   102
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/UtilSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   103
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/LogStrings.properties
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   104
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   105
################################################################################
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   106
# Build the IDLs.
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   107
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   108
IDL_DELETES := \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   109
    org/omg/DynamicAny/*POA* \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   110
    org/omg/DynamicAny/*Holder* \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   111
    org/omg/DynamicAny/DynValueBoxHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   112
    org/omg/DynamicAny/DynValueCommonHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   113
    org/omg/DynamicAny/_DynValueCommonStub.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   114
    org/omg/DynamicAny/_DynValueBoxStub.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   115
    org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   116
    org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   117
    org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   118
    org/omg/IOP/BI_DIR_IIOP.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   119
    org/omg/IOP/ChainBypassCheck.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   120
    org/omg/IOP/ChainBypassInfo.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   121
    org/omg/IOP/FORWARDED_IDENTITY.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   122
    org/omg/IOP/INVOCATION_POLICIES.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   123
    org/omg/IOP/LogicalThreadId.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   124
    org/omg/IOP/SendingContextRunTime.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   125
    org/omg/IOP/UnknownExceptionInfo.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   126
    org/omg/IOP/TaggedComponentSeqHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   127
    org/omg/PortableServer/CurrentPackage/NoContextHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   128
    org/omg/PortableServer/ForwardRequestHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   129
    org/omg/PortableServer/IdAssignmentPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   130
    org/omg/PortableServer/IdAssignmentPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   131
    org/omg/PortableServer/IdUniquenessPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   132
    org/omg/PortableServer/IdUniquenessPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   133
    org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   134
    org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   135
    org/omg/PortableServer/LifespanPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   136
    org/omg/PortableServer/LifespanPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   137
    org/omg/PortableServer/ServantRetentionPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   138
    org/omg/PortableServer/ServantRetentionPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   139
    org/omg/PortableServer/ObjectIdHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   140
    org/omg/PortableServer/ObjectIdHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   141
    org/omg/PortableServer/POAListHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   142
    org/omg/PortableServer/POAListHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   143
    org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   144
    org/omg/PortableServer/POAManagerPackage/StateHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   145
    org/omg/PortableServer/POAManagerPackage/StateHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   146
    org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   147
    org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   148
    org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   149
    org/omg/PortableServer/POAPackage/NoServantHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   150
    org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   151
    org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   152
    org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   153
    org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   154
    org/omg/PortableServer/POAPackage/WrongAdapterHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   155
    org/omg/PortableServer/POAPackage/WrongPolicyHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   156
    org/omg/PortableServer/RequestProcessingPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   157
    org/omg/PortableServer/RequestProcessingPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   158
    org/omg/PortableServer/ServantActivatorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   159
    org/omg/PortableServer/ServantLocatorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   160
    org/omg/PortableServer/ThreadPolicyValueHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   161
    org/omg/PortableServer/ThreadPolicyValueHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   162
    org/omg/PortableInterceptor/ClientRequestInfoHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   163
    org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   164
    org/omg/PortableInterceptor/IORInfoHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   165
    org/omg/PortableInterceptor/IORInterceptorHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   166
    org/omg/PortableInterceptor/InterceptorHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   167
    org/omg/PortableInterceptor/ORBInitInfoHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   168
    org/omg/PortableInterceptor/ORBInitializerHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   169
    org/omg/PortableInterceptor/PolicyFactoryHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   170
    org/omg/PortableInterceptor/ReplyStatusHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   171
    org/omg/PortableInterceptor/RequestInfoHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   172
    org/omg/PortableInterceptor/ServerRequestInfoHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   173
    org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   174
    org/omg/PortableInterceptor/SlotIdHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   175
    org/omg/PortableInterceptor/ClientRequestInfoHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   176
    org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   177
    org/omg/PortableInterceptor/CurrentHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   178
    org/omg/PortableInterceptor/ForwardRequestHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   179
    org/omg/PortableInterceptor/IORInfoHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   180
    org/omg/PortableInterceptor/IORInterceptorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   181
    org/omg/PortableInterceptor/InterceptorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   182
    org/omg/PortableInterceptor/InvalidSlotHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   183
    org/omg/PortableInterceptor/ORBInitInfoHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   184
    org/omg/PortableInterceptor/ORBInitializerHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   185
    org/omg/PortableInterceptor/PolicyFactoryHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   186
    org/omg/PortableInterceptor/RequestInfoHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   187
    org/omg/PortableInterceptor/ServerRequestInfoHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   188
    org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   189
    org/omg/PortableInterceptor/TaggedComponentSeqHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   190
    org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   191
    org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   192
    org/omg/IOP/CodecPackage/FormatMismatchHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   193
    org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   194
    org/omg/IOP/CodecPackage/TypeMismatchHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   195
    org/omg/IOP/CodecHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   196
    org/omg/IOP/EncodingFormatHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   197
    org/omg/IOP/EncodingHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   198
    org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   199
    org/omg/IOP/CodecFactoryHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   200
    org/omg/IOP/CodecHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   201
    org/omg/IOP/EncodingHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   202
    org/omg/IOP/TaggedComponentSeqHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   203
    org/omg/Dynamic/ContextListHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   204
    org/omg/Dynamic/ExceptionListHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   205
    org/omg/Dynamic/ParameterHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   206
    org/omg/Dynamic/ParameterListHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   207
    org/omg/Dynamic/ExceptionListHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   208
    org/omg/Dynamic/ParameterHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   209
    org/omg/Dynamic/ParameterListHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   210
    org/omg/Dynamic/RequestContextHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   211
    org/omg/CORBA/OctetSeqHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   212
    org/omg/CORBA/OctetSeqHolder.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   213
    org/omg/CORBA/PolicyError.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   214
    org/omg/CORBA/RepositoryIdHelper.java \
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   215
    #
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   216
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   217
$(eval $(call SetupIdlCompilation,BUILD_IDLS, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   218
    IDLJ := $(TOOL_IDLJ_CMD), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   219
    SRC := $(CORBA_TOPDIR)/src/share/classes, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   220
    BIN := $(CORBA_OUTPUTDIR)/gensrc, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   221
    EXCLUDES := com/sun/tools/corba/se/idl/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   222
        org/omg/CORBA/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   223
        com/sun/corba/se/GiopIDL/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   224
        org/omg/PortableServer/corba.idl, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   225
    INCLUDES := %, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   226
    OLDIMPLBASES := com/sun/corba/se/PortableActivationIDL/activation.idl \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   227
        com/sun/corba/se/spi/activation/activation.idl, \
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   228
    DELETES := $(IDL_DELETES)))
20919
d2ffe3f63ad8 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
erikj
parents: 15408
diff changeset
   229
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   230
$(BUILD_IDLS): $(BUILD_IDLJ)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   231
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   232
################################################################################
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   233
# Run stripproperties on all sunorb resource files.
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   234
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   235
STRIP_PROP_SRC_FILES := $(shell $(FIND) $(CORBA_TOPDIR)/src/share/classes -name "sunorb*.properties")
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   236
STRIP_PROP_FILES := $(patsubst $(CORBA_TOPDIR)/src/share/classes/%, $(CORBA_OUTPUTDIR)/classes/%, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   237
    $(STRIP_PROP_SRC_FILES))
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   238
# Simple delivery of zh_HK properties files just copies zh_TW properties files
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   239
STRIP_PROP_SRC_FILE_ZH_TW := $(shell $(FIND) $(CORBA_TOPDIR)/src/share/classes -name "sunorb_zh_TW.properties")
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   240
STRIP_PROP_SRC_FILES += $(STRIP_PROP_SRC_FILE_ZH_TW)
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   241
STRIP_PROP_FILES += $(patsubst $(CORBA_TOPDIR)/src/share/classes/%_zh_TW.properties, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   242
    $(CORBA_OUTPUTDIR)/classes/%_zh_HK.properties, $(STRIP_PROP_SRC_FILE_ZH_TW))
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   243
STRIP_PROP_CMDLINE := $(subst _SPACE_, $(SPACE), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   244
    $(join $(addprefix -clean_SPACE_, $(STRIP_PROP_SRC_FILES)), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   245
    $(addprefix _SPACE_, $(STRIP_PROP_FILES))))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   246
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   247
$(CORBA_OUTPUTDIR)/_the.stripped_properties: $(STRIP_PROP_SRC_FILES) \
23067
7b20ffccad89 8034769: Move logutil in corba to make/tools
erikj
parents: 22662
diff changeset
   248
    $(BUILD_TOOLS)
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   249
	$(MKDIR) -p $(sort $(dir $(STRIP_PROP_FILES)))
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   250
	$(call ListPathsSafely,STRIP_PROP_CMDLINE,\n, >> $(CORBA_OUTPUTDIR)/_the.strip_prop.cmdline)
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   251
	$(TOOL_STRIPPROP_CMD) @$(CORBA_OUTPUTDIR)/_the.strip_prop.cmdline
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   252
	$(TOUCH) $@
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   253
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   254
################################################################################
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   255
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   256
all: $(BUILD_IDLS) $(CORBA_OUTPUTDIR)/_the.stripped_properties $(LOGWRAPPER_TARGETS)