author | erikj |
Thu, 13 Feb 2014 16:38:49 +0100 | |
changeset 23067 | 7b20ffccad89 |
parent 22662 | ddcb7ce5e63d |
child 23362 | da5c80c40887 |
permissions | -rw-r--r-- |
14242 | 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 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Oracle designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
default: all |
|
27 |
||
28 |
include $(SPEC) |
|
29 |
include MakeBase.gmk |
|
30 |
include JavaCompilation.gmk |
|
31 |
include IdlCompilation.gmk |
|
32 |
||
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
33 |
include CommonCorba.gmk |
14242 | 34 |
|
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
35 |
################################################################################ |
14242 | 36 |
|
23067 | 37 |
$(eval $(call SetupJavaCompilation,BUILD_TOOLS, \ |
20554 | 38 |
SETUP := GENERATE_OLDBYTECODE, \ |
23067 | 39 |
SRC := $(CORBA_TOPDIR)/make/src/classes, \ |
40 |
BIN := $(CORBA_OUTPUTDIR)/tools_classes)) |
|
14242 | 41 |
|
23067 | 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 | 44 |
|
23067 | 45 |
TOOL_LOGUTIL_CMD := $(JAVA) -cp $(CORBA_OUTPUTDIR)/tools_classes \ |
46 |
build.tools.logutil.MC |
|
47 |
||
20554 | 48 |
$(eval $(call SetupJavaCompilation,BUILD_IDLJ, \ |
49 |
SETUP := GENERATE_OLDBYTECODE, \ |
|
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 | 52 |
COPY := .prp, \ |
53 |
INCLUDES := com/sun/tools/corba/se/idl, \ |
|
54 |
EXCLUDE_FILES := ResourceBundleUtil.java)) |
|
14242 | 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 | 58 |
|
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
59 |
################################################################################ |
14242 | 60 |
|
20554 | 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 | 63 |
$(CORBA_TOPDIR)/src/share/classes/com/sun/corba/se/spi/logging/data/%.mc \ |
23067 | 64 |
$(BUILD_TOOLS) |
14242 | 65 |
$(MKDIR) -p $(@D) |
66 |
$(RM) -f $(@D)/_the_wrappers.d |
|
20554 | 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 | 69 |
|
20554 | 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 | 72 |
$(CORBA_OUTPUTDIR)/logwrappers/ActivationSystemException.resource \ |
73 |
$(CORBA_OUTPUTDIR)/logwrappers/IORSystemException.resource \ |
|
74 |
$(CORBA_OUTPUTDIR)/logwrappers/InterceptorsSystemException.resource \ |
|
75 |
$(CORBA_OUTPUTDIR)/logwrappers/NamingSystemException.resource \ |
|
76 |
$(CORBA_OUTPUTDIR)/logwrappers/OMGSystemException.resource \ |
|
77 |
$(CORBA_OUTPUTDIR)/logwrappers/ORBUtilSystemException.resource \ |
|
78 |
$(CORBA_OUTPUTDIR)/logwrappers/POASystemException.resource \ |
|
79 |
$(CORBA_OUTPUTDIR)/logwrappers/UtilSystemException.resource |
|
14242 | 80 |
$(MKDIR) -p $(@D) |
81 |
$(ECHO) $(LOG_INFO) Concatenating 8 resource files into $(@F) |
|
82 |
$(CAT) $^ > $@ |
|
83 |
||
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 | 87 |
$(BUILD_TOOLS) |
14242 | 88 |
$(MKDIR) -p $(@D) |
89 |
$(RM) -f $(@D)/_the_wrappers.d |
|
20554 | 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 | 92 |
|
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 | 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 | 107 |
|
23067 | 108 |
IDL_DELETES := \ |
109 |
org/omg/DynamicAny/*POA* \ |
|
110 |
org/omg/DynamicAny/*Holder* \ |
|
111 |
org/omg/DynamicAny/DynValueBoxHelper.java \ |
|
112 |
org/omg/DynamicAny/DynValueCommonHelper.java \ |
|
113 |
org/omg/DynamicAny/_DynValueCommonStub.java \ |
|
114 |
org/omg/DynamicAny/_DynValueBoxStub.java \ |
|
115 |
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHolder.java \ |
|
116 |
org/omg/DynamicAny/DynAnyPackage/InvalidValueHolder.java \ |
|
117 |
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHolder.java \ |
|
118 |
org/omg/IOP/BI_DIR_IIOP.java \ |
|
119 |
org/omg/IOP/ChainBypassCheck.java \ |
|
120 |
org/omg/IOP/ChainBypassInfo.java \ |
|
121 |
org/omg/IOP/FORWARDED_IDENTITY.java \ |
|
122 |
org/omg/IOP/INVOCATION_POLICIES.java \ |
|
123 |
org/omg/IOP/LogicalThreadId.java \ |
|
124 |
org/omg/IOP/SendingContextRunTime.java \ |
|
125 |
org/omg/IOP/UnknownExceptionInfo.java \ |
|
126 |
org/omg/IOP/TaggedComponentSeqHolder.java \ |
|
127 |
org/omg/PortableServer/CurrentPackage/NoContextHolder.java \ |
|
128 |
org/omg/PortableServer/ForwardRequestHolder.java \ |
|
129 |
org/omg/PortableServer/IdAssignmentPolicyValueHelper.java \ |
|
130 |
org/omg/PortableServer/IdAssignmentPolicyValueHolder.java \ |
|
131 |
org/omg/PortableServer/IdUniquenessPolicyValueHelper.java \ |
|
132 |
org/omg/PortableServer/IdUniquenessPolicyValueHolder.java \ |
|
133 |
org/omg/PortableServer/ImplicitActivationPolicyValueHelper.java \ |
|
134 |
org/omg/PortableServer/ImplicitActivationPolicyValueHolder.java \ |
|
135 |
org/omg/PortableServer/LifespanPolicyValueHelper.java \ |
|
136 |
org/omg/PortableServer/LifespanPolicyValueHolder.java \ |
|
137 |
org/omg/PortableServer/ServantRetentionPolicyValueHelper.java \ |
|
138 |
org/omg/PortableServer/ServantRetentionPolicyValueHolder.java \ |
|
139 |
org/omg/PortableServer/ObjectIdHelper.java \ |
|
140 |
org/omg/PortableServer/ObjectIdHolder.java \ |
|
141 |
org/omg/PortableServer/POAListHelper.java \ |
|
142 |
org/omg/PortableServer/POAListHolder.java \ |
|
143 |
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHolder.java \ |
|
144 |
org/omg/PortableServer/POAManagerPackage/StateHelper.java \ |
|
145 |
org/omg/PortableServer/POAManagerPackage/StateHolder.java \ |
|
146 |
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHolder.java \ |
|
147 |
org/omg/PortableServer/POAPackage/AdapterNonExistentHolder.java \ |
|
148 |
org/omg/PortableServer/POAPackage/InvalidPolicyHolder.java \ |
|
149 |
org/omg/PortableServer/POAPackage/NoServantHolder.java \ |
|
150 |
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHolder.java \ |
|
151 |
org/omg/PortableServer/POAPackage/ObjectNotActiveHolder.java \ |
|
152 |
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHolder.java \ |
|
153 |
org/omg/PortableServer/POAPackage/ServantNotActiveHolder.java \ |
|
154 |
org/omg/PortableServer/POAPackage/WrongAdapterHolder.java \ |
|
155 |
org/omg/PortableServer/POAPackage/WrongPolicyHolder.java \ |
|
156 |
org/omg/PortableServer/RequestProcessingPolicyValueHelper.java \ |
|
157 |
org/omg/PortableServer/RequestProcessingPolicyValueHolder.java \ |
|
158 |
org/omg/PortableServer/ServantActivatorHolder.java \ |
|
159 |
org/omg/PortableServer/ServantLocatorHolder.java \ |
|
160 |
org/omg/PortableServer/ThreadPolicyValueHelper.java \ |
|
161 |
org/omg/PortableServer/ThreadPolicyValueHolder.java \ |
|
162 |
org/omg/PortableInterceptor/ClientRequestInfoHelper.java \ |
|
163 |
org/omg/PortableInterceptor/ClientRequestInterceptorHelper.java \ |
|
164 |
org/omg/PortableInterceptor/IORInfoHelper.java \ |
|
165 |
org/omg/PortableInterceptor/IORInterceptorHelper.java \ |
|
166 |
org/omg/PortableInterceptor/InterceptorHelper.java \ |
|
167 |
org/omg/PortableInterceptor/ORBInitInfoHelper.java \ |
|
168 |
org/omg/PortableInterceptor/ORBInitializerHelper.java \ |
|
169 |
org/omg/PortableInterceptor/PolicyFactoryHelper.java \ |
|
170 |
org/omg/PortableInterceptor/ReplyStatusHelper.java \ |
|
171 |
org/omg/PortableInterceptor/RequestInfoHelper.java \ |
|
172 |
org/omg/PortableInterceptor/ServerRequestInfoHelper.java \ |
|
173 |
org/omg/PortableInterceptor/ServerRequestInterceptorHelper.java \ |
|
174 |
org/omg/PortableInterceptor/SlotIdHelper.java \ |
|
175 |
org/omg/PortableInterceptor/ClientRequestInfoHolder.java \ |
|
176 |
org/omg/PortableInterceptor/ClientRequestInterceptorHolder.java \ |
|
177 |
org/omg/PortableInterceptor/CurrentHolder.java \ |
|
178 |
org/omg/PortableInterceptor/ForwardRequestHolder.java \ |
|
179 |
org/omg/PortableInterceptor/IORInfoHolder.java \ |
|
180 |
org/omg/PortableInterceptor/IORInterceptorHolder.java \ |
|
181 |
org/omg/PortableInterceptor/InterceptorHolder.java \ |
|
182 |
org/omg/PortableInterceptor/InvalidSlotHolder.java \ |
|
183 |
org/omg/PortableInterceptor/ORBInitInfoHolder.java \ |
|
184 |
org/omg/PortableInterceptor/ORBInitializerHolder.java \ |
|
185 |
org/omg/PortableInterceptor/PolicyFactoryHolder.java \ |
|
186 |
org/omg/PortableInterceptor/RequestInfoHolder.java \ |
|
187 |
org/omg/PortableInterceptor/ServerRequestInfoHolder.java \ |
|
188 |
org/omg/PortableInterceptor/ServerRequestInterceptorHolder.java \ |
|
189 |
org/omg/PortableInterceptor/TaggedComponentSeqHolder.java \ |
|
190 |
org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHolder.java \ |
|
191 |
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHolder.java \ |
|
192 |
org/omg/IOP/CodecPackage/FormatMismatchHolder.java \ |
|
193 |
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHolder.java \ |
|
194 |
org/omg/IOP/CodecPackage/TypeMismatchHolder.java \ |
|
195 |
org/omg/IOP/CodecHelper.java \ |
|
196 |
org/omg/IOP/EncodingFormatHelper.java \ |
|
197 |
org/omg/IOP/EncodingHelper.java \ |
|
198 |
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHolder.java \ |
|
199 |
org/omg/IOP/CodecFactoryHolder.java \ |
|
200 |
org/omg/IOP/CodecHolder.java \ |
|
201 |
org/omg/IOP/EncodingHolder.java \ |
|
202 |
org/omg/IOP/TaggedComponentSeqHelper.java \ |
|
203 |
org/omg/Dynamic/ContextListHelper.java \ |
|
204 |
org/omg/Dynamic/ExceptionListHelper.java \ |
|
205 |
org/omg/Dynamic/ParameterHolder.java \ |
|
206 |
org/omg/Dynamic/ParameterListHolder.java \ |
|
207 |
org/omg/Dynamic/ExceptionListHolder.java \ |
|
208 |
org/omg/Dynamic/ParameterHelper.java \ |
|
209 |
org/omg/Dynamic/ParameterListHelper.java \ |
|
210 |
org/omg/Dynamic/RequestContextHelper.java \ |
|
211 |
org/omg/CORBA/OctetSeqHelper.java \ |
|
212 |
org/omg/CORBA/OctetSeqHolder.java \ |
|
213 |
org/omg/CORBA/PolicyError.java \ |
|
214 |
org/omg/CORBA/RepositoryIdHelper.java \ |
|
215 |
# |
|
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 | 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 | 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 | 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 | 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 | 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 | 253 |
|
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
254 |
################################################################################ |
14242 | 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) |