corba/make/GensrcCorba.gmk
author erikj
Wed, 05 Feb 2014 11:04:21 +0100
changeset 22662 ddcb7ce5e63d
parent 21859 corba/make/BuildCorba.gmk@79297dc5e081
child 23067 7b20ffccad89
permissions -rw-r--r--
8026773: Failing compilation in Corba does not fail the build Reviewed-by: ihse, tbell
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
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    37
$(eval $(call SetupJavaCompilation,BUILD_STRIPPROP, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    38
    SETUP := GENERATE_OLDBYTECODE, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    39
    SRC := $(CORBA_TOPDIR)/make/tools/src, \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    40
    BIN := $(CORBA_OUTPUTDIR)/stripprop_classes))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    41
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    42
TOOL_STRIPPROP_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/stripprop_classes \
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
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    45
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    46
    SETUP := GENERATE_OLDBYTECODE, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    47
    SRC := $(CORBA_TOPDIR)/src/share/classes, \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    48
    BIN := $(CORBA_OUTPUTDIR)/idlj_classes, \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    49
    COPY := .prp, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    50
    INCLUDES := com/sun/tools/corba/se/idl, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    51
    EXCLUDE_FILES := ResourceBundleUtil.java))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    52
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    53
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
    54
    com.sun.tools.corba.se.idl.toJavaPortable.Compile
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    55
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    56
$(eval $(call SetupJavaCompilation,BUILD_LOGUTIL, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    57
    SETUP := GENERATE_OLDBYTECODE, \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    58
    SRC := $(CORBA_TOPDIR)/src/share/classes, \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    59
    BIN := $(CORBA_OUTPUTDIR)/logutil_classes, \
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    60
    INCLUDES := com/sun/tools/corba/se/logutil))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    61
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    62
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/logutil_classes \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    63
    com.sun.tools.corba.se.logutil.MC
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    64
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    65
################################################################################
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    66
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    67
# Generate LogWrapper classes
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    68
$(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
    69
    $(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    70
    $(BUILD_LOGUTIL)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    71
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    72
	$(RM) -f $(@D)/_the_wrappers.d
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    73
	$(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
    74
	$(TOOL_LOGUTIL_CMD) make-class $< $(@D)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    75
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    76
# 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
    77
$(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
    78
    $(CORBA_OUTPUTDIR)/logwrappers/ActivationSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    79
    $(CORBA_OUTPUTDIR)/logwrappers/IORSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    80
    $(CORBA_OUTPUTDIR)/logwrappers/InterceptorsSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    81
    $(CORBA_OUTPUTDIR)/logwrappers/NamingSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    82
    $(CORBA_OUTPUTDIR)/logwrappers/OMGSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    83
    $(CORBA_OUTPUTDIR)/logwrappers/ORBUtilSystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    84
    $(CORBA_OUTPUTDIR)/logwrappers/POASystemException.resource \
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    85
    $(CORBA_OUTPUTDIR)/logwrappers/UtilSystemException.resource
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    86
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    87
	$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    88
	$(CAT) $^ > $@
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    89
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    90
# 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
    91
$(CORBA_OUTPUTDIR)/logwrappers/%SystemException.resource: \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    92
    $(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
    93
    $(BUILD_LOGUTIL)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    94
	$(MKDIR) -p $(@D)
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    95
	$(RM) -f $(@D)/_the_wrappers.d
20554
7967586cdef6 8001931: The new build system whitespace cleanup
ihse
parents: 15408
diff changeset
    96
	$(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
    97
	$(TOOL_LOGUTIL_CMD) make-resource $< $(@D)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    98
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    99
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   100
LOGWRAPPER_TARGETS := \
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/ActivationSystemException.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/IORSystemException.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/InterceptorsSystemException.java \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   104
    $(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
   105
    $(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
   106
    $(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
   107
    $(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
   108
    $(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
   109
    $(CORBA_OUTPUTDIR)/gensrc/com/sun/corba/se/impl/logging/LogStrings.properties
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   110
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   111
################################################################################
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   112
# Build the IDLs.
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   113
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   114
$(eval $(call SetupIdlCompilation,BUILD_IDLS, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   115
    IDLJ := $(TOOL_IDLJ_CMD), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   116
    SRC := $(CORBA_TOPDIR)/src/share/classes, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   117
    BIN := $(CORBA_OUTPUTDIR)/gensrc, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   118
    EXCLUDES := com/sun/tools/corba/se/idl/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   119
        org/omg/CORBA/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   120
        com/sun/corba/se/GiopIDL/% \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   121
        org/omg/PortableServer/corba.idl, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   122
    INCLUDES := %, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   123
    OLDIMPLBASES := com/sun/corba/se/PortableActivationIDL/activation.idl \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   124
        com/sun/corba/se/spi/activation/activation.idl, \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   125
    DELETES := DYNANYDELETEFILES org/omg/DynamicAny/*POA* org/omg/DynamicAny/*Holder* org/omg/DynamicAny/DynValueBoxHelper.java org/omg/DynamicAny/DynValueCommonHelper.java org/omg/DynamicAny/_DynValueCommonStub.java org/omg/DynamicAny/_DynValueBoxStub.java org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java IOPDELETEFILES org/omg/IOP/BI_DIR_IIOP.java org/omg/IOP/ChainBypassCheck.java org/omg/IOP/ChainBypassInfo.java org/omg/IOP/FORWARDED_IDENTITY.java org/omg/IOP/INVOCATION_POLICIES.java org/omg/IOP/LogicalThreadId.java org/omg/IOP/SendingContextRunTime.java org/omg/IOP/UnknownExceptionInfo.java org/omg/IOP/TaggedComponentSeqHolder.java POAHELHOLFILES org/omg/PortableServer/CurrentPackage/NoContextHolder.java org/omg/PortableServer/ForwardRequestHolder.java org/omg/PortableServer/IdAssignmentPolicyValueHelper.java org/omg/PortableServer/IdAssignmentPolicyValueHolder.java org/omg/PortableServer/IdUniquenessPolicyValueHelper.java org/omg/PortableServer/IdUniquenessPolicyValueHolder.java org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java org/omg/PortableServer/LifespanPolicyValueHelper.java org/omg/PortableServer/LifespanPolicyValueHolder.java org/omg/PortableServer/ServantRetentionPolicyValueHelper.java org/omg/PortableServer/ServantRetentionPolicyValueHolder.java org/omg/PortableServer/ObjectIdHelper.java org/omg/PortableServer/ObjectIdHolder.java org/omg/PortableServer/POAListHelper.java org/omg/PortableServer/POAListHolder.java org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java org/omg/PortableServer/POAManagerPackage/StateHelper.java org/omg/PortableServer/POAManagerPackage/StateHolder.java org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java org/omg/PortableServer/POAPackage/NoServantHolder.java org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java org/omg/PortableServer/POAPackage/WrongAdapterHolder.java org/omg/PortableServer/POAPackage/WrongPolicyHolder.java org/omg/PortableServer/RequestProcessingPolicyValueHelper.java org/omg/PortableServer/RequestProcessingPolicyValueHolder.java org/omg/PortableServer/ServantActivatorHolder.java org/omg/PortableServer/ServantLocatorHolder.java org/omg/PortableServer/ThreadPolicyValueHelper.java org/omg/PortableServer/ThreadPolicyValueHolder.java PIHELHOLFILES org/omg/PortableInterceptor/ClientRequestInfoHelper.java org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java org/omg/PortableInterceptor/IORInfoHelper.java org/omg/PortableInterceptor/IORInterceptorHelper.java org/omg/PortableInterceptor/InterceptorHelper.java org/omg/PortableInterceptor/ORBInitInfoHelper.java org/omg/PortableInterceptor/ORBInitializerHelper.java org/omg/PortableInterceptor/PolicyFactoryHelper.java org/omg/PortableInterceptor/ReplyStatusHelper.java org/omg/PortableInterceptor/RequestInfoHelper.java org/omg/PortableInterceptor/ServerRequestInfoHelper.java org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java org/omg/PortableInterceptor/SlotIdHelper.java org/omg/PortableInterceptor/ClientRequestInfoHolder.java org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java org/omg/PortableInterceptor/CurrentHolder.java org/omg/PortableInterceptor/ForwardRequestHolder.java org/omg/PortableInterceptor/IORInfoHolder.java org/omg/PortableInterceptor/IORInterceptorHolder.java org/omg/PortableInterceptor/InterceptorHolder.java org/omg/PortableInterceptor/InvalidSlotHolder.java org/omg/PortableInterceptor/ORBInitInfoHolder.java org/omg/PortableInterceptor/ORBInitializerHolder.java org/omg/PortableInterceptor/PolicyFactoryHolder.java org/omg/PortableInterceptor/RequestInfoHolder.java org/omg/PortableInterceptor/ServerRequestInfoHolder.java org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java org/omg/PortableInterceptor/TaggedComponentSeqHolder.java org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java org/omg/IOP/CodecPackage/FormatMismatchHolder.java org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java org/omg/IOP/CodecPackage/TypeMismatchHolder.java org/omg/IOP/CodecHelper.java org/omg/IOP/EncodingFormatHelper.java org/omg/IOP/EncodingHelper.java org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java org/omg/IOP/CodecFactoryHolder.java org/omg/IOP/CodecHolder.java org/omg/IOP/EncodingHolder.java org/omg/IOP/TaggedComponentSeqHelper.java org/omg/Dynamic/ContextListHelper.java org/omg/Dynamic/ExceptionListHelper.java org/omg/Dynamic/ParameterHolder.java org/omg/Dynamic/ParameterListHolder.java org/omg/Dynamic/ExceptionListHolder.java org/omg/Dynamic/ParameterHelper.java org/omg/Dynamic/ParameterListHelper.java org/omg/Dynamic/RequestContextHelper.java CORBAX org/omg/CORBA/OctetSeqHelper.java org/omg/CORBA/OctetSeqHolder.java org/omg/CORBA/PolicyError.java org/omg/CORBA/RepositoryIdHelper.java))
20919
d2ffe3f63ad8 6604021: RMIC is defaulting to BOOT jdk version, needs to be rmic.jar
erikj
parents: 15408
diff changeset
   126
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   127
$(BUILD_IDLS): $(BUILD_IDLJ)
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   128
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   129
################################################################################
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   130
# Run stripproperties on all sunorb resource files.
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   131
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   132
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
   133
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
   134
    $(STRIP_PROP_SRC_FILES))
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   135
# 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
   136
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
   137
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
   138
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
   139
    $(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
   140
STRIP_PROP_CMDLINE := $(subst _SPACE_, $(SPACE), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   141
    $(join $(addprefix -clean_SPACE_, $(STRIP_PROP_SRC_FILES)), \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   142
    $(addprefix _SPACE_, $(STRIP_PROP_FILES))))
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   143
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   144
$(CORBA_OUTPUTDIR)/_the.stripped_properties: $(STRIP_PROP_SRC_FILES) \
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   145
    $(BUILD_STRIPPROP)
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   146
	$(MKDIR) -p $(sort $(dir $(STRIP_PROP_FILES)))
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   147
	$(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
   148
	$(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
   149
	$(TOUCH) $@
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   150
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   151
################################################################################
14242
0c8f215ed72c 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
   152
22662
ddcb7ce5e63d 8026773: Failing compilation in Corba does not fail the build
erikj
parents: 21859
diff changeset
   153
all: $(BUILD_IDLS) $(CORBA_OUTPUTDIR)/_the.stripped_properties $(LOGWRAPPER_TARGETS)