xref: /aoo4110/main/solenv/inc/_tg_rslb.mk (revision b1cdbd2c)
1# *************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20# *************************************************************
21# unroll begin
22
23.IF "$(RESLIB1TARGETN)"!=""
24
25$(RSC_MULTI1) : \
26		$(RESLIB1SRSFILES) \
27		$(RESLIB1TARGETN) \
28		$(RESLIB1BMPS)
29	@echo Compiling: $(@:f)
30.IF "$(common_build_reslib)"!=""
31	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
32	-r -p \
33	$(foreach,i,$(alllangiso) -lg$i \
34	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
35	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB1NAME)$i.res} \
36    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
37    -lip={$j} ) \
38    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
39    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
40	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
41	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
42    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
43    -ft=$@ \
44	$(RSC1HEADER) $(RESLIB1SRSFILES) \
45	) > $(NULLDEV)
46.ELSE			# "$(common_build_reslib)"!=""
47	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
48	-r -p \
49	$(foreach,i,$(alllangiso) -lg$i \
50	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
51	-fs={$(BIN)/$(RESLIB1NAME)$i.res} \
52    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
53    -lip={$j} ) \
54    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
55    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
56	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
57	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
58    -oil=$(BIN) \
59    -ft=$@ \
60	$(RSC1HEADER) $(RESLIB1SRSFILES) \
61	) > $(NULLDEV)
62.ENDIF			# "$(common_build_reslib)"!=""
63
64$(RESLIB1TARGETN): \
65		$(RESLIB1SRSFILES) \
66		$(RESLIB1BMPS)
67	@echo "Making:   " $(@:f)
68.IF "$(GUI)"=="UNX"
69.IF "$(common_build_reslib)"!=""
70    @@-$(RM) $(RSC_MULTI1)
71.ELSE			# "$(common_build_reslib)"!=""
72    @@-$(RM) $(RSC_MULTI1)
73.ENDIF			# "$(common_build_reslib)"!=""
74.ELSE				# "$(GUI)"=="UNX"
75.IF "$(common_build_reslib)"!=""
76    @@-$(RM) $(RSC_MULTI1)
77.ELSE			# "$(common_build_reslib)"!=""
78    @@-$(RM) $(RSC_MULTI1)
79.ENDIF			# "$(common_build_reslib)"!=""
80.ENDIF              # "$(GUI)"=="UNX"
81.ENDIF				# "$(RESLIB1TARGETN)"!=""
82
83
84# unroll begin
85
86.IF "$(RESLIB2TARGETN)"!=""
87
88$(RSC_MULTI2) : \
89		$(RESLIB2SRSFILES) \
90		$(RESLIB2TARGETN) \
91		$(RESLIB2BMPS)
92	@echo Compiling: $(@:f)
93.IF "$(common_build_reslib)"!=""
94	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
95	-r -p \
96	$(foreach,i,$(alllangiso) -lg$i \
97	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
98	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB2NAME)$i.res} \
99    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
100    -lip={$j} ) \
101    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
102    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
103	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
104	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
105    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
106    -ft=$@ \
107	$(RSC2HEADER) $(RESLIB2SRSFILES) \
108	) > $(NULLDEV)
109.ELSE			# "$(common_build_reslib)"!=""
110	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
111	-r -p \
112	$(foreach,i,$(alllangiso) -lg$i \
113	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
114	-fs={$(BIN)/$(RESLIB2NAME)$i.res} \
115    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
116    -lip={$j} ) \
117    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
118    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
119	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
120	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
121    -oil=$(BIN) \
122    -ft=$@ \
123	$(RSC2HEADER) $(RESLIB2SRSFILES) \
124	) > $(NULLDEV)
125.ENDIF			# "$(common_build_reslib)"!=""
126
127$(RESLIB2TARGETN): \
128		$(RESLIB2SRSFILES) \
129		$(RESLIB2BMPS)
130	@echo "Making:   " $(@:f)
131.IF "$(GUI)"=="UNX"
132.IF "$(common_build_reslib)"!=""
133    @@-$(RM) $(RSC_MULTI2)
134.ELSE			# "$(common_build_reslib)"!=""
135    @@-$(RM) $(RSC_MULTI2)
136.ENDIF			# "$(common_build_reslib)"!=""
137.ELSE				# "$(GUI)"=="UNX"
138.IF "$(common_build_reslib)"!=""
139    @@-$(RM) $(RSC_MULTI2)
140.ELSE			# "$(common_build_reslib)"!=""
141    @@-$(RM) $(RSC_MULTI2)
142.ENDIF			# "$(common_build_reslib)"!=""
143.ENDIF              # "$(GUI)"=="UNX"
144.ENDIF				# "$(RESLIB2TARGETN)"!=""
145
146
147# unroll begin
148
149.IF "$(RESLIB3TARGETN)"!=""
150
151$(RSC_MULTI3) : \
152		$(RESLIB3SRSFILES) \
153		$(RESLIB3TARGETN) \
154		$(RESLIB3BMPS)
155	@echo Compiling: $(@:f)
156.IF "$(common_build_reslib)"!=""
157	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
158	-r -p \
159	$(foreach,i,$(alllangiso) -lg$i \
160	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
161	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB3NAME)$i.res} \
162    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
163    -lip={$j} ) \
164    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
165    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
166	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
167	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
168    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
169    -ft=$@ \
170	$(RSC3HEADER) $(RESLIB3SRSFILES) \
171	) > $(NULLDEV)
172.ELSE			# "$(common_build_reslib)"!=""
173	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
174	-r -p \
175	$(foreach,i,$(alllangiso) -lg$i \
176	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
177	-fs={$(BIN)/$(RESLIB3NAME)$i.res} \
178    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
179    -lip={$j} ) \
180    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
181    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
182	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
183	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
184    -oil=$(BIN) \
185    -ft=$@ \
186	$(RSC3HEADER) $(RESLIB3SRSFILES) \
187	) > $(NULLDEV)
188.ENDIF			# "$(common_build_reslib)"!=""
189
190$(RESLIB3TARGETN): \
191		$(RESLIB3SRSFILES) \
192		$(RESLIB3BMPS)
193	@echo "Making:   " $(@:f)
194.IF "$(GUI)"=="UNX"
195.IF "$(common_build_reslib)"!=""
196    @@-$(RM) $(RSC_MULTI3)
197.ELSE			# "$(common_build_reslib)"!=""
198    @@-$(RM) $(RSC_MULTI3)
199.ENDIF			# "$(common_build_reslib)"!=""
200.ELSE				# "$(GUI)"=="UNX"
201.IF "$(common_build_reslib)"!=""
202    @@-$(RM) $(RSC_MULTI3)
203.ELSE			# "$(common_build_reslib)"!=""
204    @@-$(RM) $(RSC_MULTI3)
205.ENDIF			# "$(common_build_reslib)"!=""
206.ENDIF              # "$(GUI)"=="UNX"
207.ENDIF				# "$(RESLIB3TARGETN)"!=""
208
209
210# unroll begin
211
212.IF "$(RESLIB4TARGETN)"!=""
213
214$(RSC_MULTI4) : \
215		$(RESLIB4SRSFILES) \
216		$(RESLIB4TARGETN) \
217		$(RESLIB4BMPS)
218	@echo Compiling: $(@:f)
219.IF "$(common_build_reslib)"!=""
220	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
221	-r -p \
222	$(foreach,i,$(alllangiso) -lg$i \
223	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
224	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB4NAME)$i.res} \
225    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
226    -lip={$j} ) \
227    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
228    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
229	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
230	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
231    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
232    -ft=$@ \
233	$(RSC4HEADER) $(RESLIB4SRSFILES) \
234	) > $(NULLDEV)
235.ELSE			# "$(common_build_reslib)"!=""
236	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
237	-r -p \
238	$(foreach,i,$(alllangiso) -lg$i \
239	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
240	-fs={$(BIN)/$(RESLIB4NAME)$i.res} \
241    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
242    -lip={$j} ) \
243    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
244    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
245	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
246	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
247    -oil=$(BIN) \
248    -ft=$@ \
249	$(RSC4HEADER) $(RESLIB4SRSFILES) \
250	) > $(NULLDEV)
251.ENDIF			# "$(common_build_reslib)"!=""
252
253$(RESLIB4TARGETN): \
254		$(RESLIB4SRSFILES) \
255		$(RESLIB4BMPS)
256	@echo "Making:   " $(@:f)
257.IF "$(GUI)"=="UNX"
258.IF "$(common_build_reslib)"!=""
259    @@-$(RM) $(RSC_MULTI4)
260.ELSE			# "$(common_build_reslib)"!=""
261    @@-$(RM) $(RSC_MULTI4)
262.ENDIF			# "$(common_build_reslib)"!=""
263.ELSE				# "$(GUI)"=="UNX"
264.IF "$(common_build_reslib)"!=""
265    @@-$(RM) $(RSC_MULTI4)
266.ELSE			# "$(common_build_reslib)"!=""
267    @@-$(RM) $(RSC_MULTI4)
268.ENDIF			# "$(common_build_reslib)"!=""
269.ENDIF              # "$(GUI)"=="UNX"
270.ENDIF				# "$(RESLIB4TARGETN)"!=""
271
272
273# unroll begin
274
275.IF "$(RESLIB5TARGETN)"!=""
276
277$(RSC_MULTI5) : \
278		$(RESLIB5SRSFILES) \
279		$(RESLIB5TARGETN) \
280		$(RESLIB5BMPS)
281	@echo Compiling: $(@:f)
282.IF "$(common_build_reslib)"!=""
283	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
284	-r -p \
285	$(foreach,i,$(alllangiso) -lg$i \
286	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
287	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB5NAME)$i.res} \
288    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
289    -lip={$j} ) \
290    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
291    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
292	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
293	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
294    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
295    -ft=$@ \
296	$(RSC5HEADER) $(RESLIB5SRSFILES) \
297	) > $(NULLDEV)
298.ELSE			# "$(common_build_reslib)"!=""
299	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
300	-r -p \
301	$(foreach,i,$(alllangiso) -lg$i \
302	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
303	-fs={$(BIN)/$(RESLIB5NAME)$i.res} \
304    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
305    -lip={$j} ) \
306    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
307    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
308	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
309	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
310    -oil=$(BIN) \
311    -ft=$@ \
312	$(RSC5HEADER) $(RESLIB5SRSFILES) \
313	) > $(NULLDEV)
314.ENDIF			# "$(common_build_reslib)"!=""
315
316$(RESLIB5TARGETN): \
317		$(RESLIB5SRSFILES) \
318		$(RESLIB5BMPS)
319	@echo "Making:   " $(@:f)
320.IF "$(GUI)"=="UNX"
321.IF "$(common_build_reslib)"!=""
322    @@-$(RM) $(RSC_MULTI5)
323.ELSE			# "$(common_build_reslib)"!=""
324    @@-$(RM) $(RSC_MULTI5)
325.ENDIF			# "$(common_build_reslib)"!=""
326.ELSE				# "$(GUI)"=="UNX"
327.IF "$(common_build_reslib)"!=""
328    @@-$(RM) $(RSC_MULTI5)
329.ELSE			# "$(common_build_reslib)"!=""
330    @@-$(RM) $(RSC_MULTI5)
331.ENDIF			# "$(common_build_reslib)"!=""
332.ENDIF              # "$(GUI)"=="UNX"
333.ENDIF				# "$(RESLIB5TARGETN)"!=""
334
335
336# unroll begin
337
338.IF "$(RESLIB6TARGETN)"!=""
339
340$(RSC_MULTI6) : \
341		$(RESLIB6SRSFILES) \
342		$(RESLIB6TARGETN) \
343		$(RESLIB6BMPS)
344	@echo Compiling: $(@:f)
345.IF "$(common_build_reslib)"!=""
346	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
347	-r -p \
348	$(foreach,i,$(alllangiso) -lg$i \
349	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
350	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB6NAME)$i.res} \
351    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
352    -lip={$j} ) \
353    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
354    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
355	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
356	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
357    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
358    -ft=$@ \
359	$(RSC6HEADER) $(RESLIB6SRSFILES) \
360	) > $(NULLDEV)
361.ELSE			# "$(common_build_reslib)"!=""
362	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
363	-r -p \
364	$(foreach,i,$(alllangiso) -lg$i \
365	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
366	-fs={$(BIN)/$(RESLIB6NAME)$i.res} \
367    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
368    -lip={$j} ) \
369    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
370    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
371	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
372	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
373    -oil=$(BIN) \
374    -ft=$@ \
375	$(RSC6HEADER) $(RESLIB6SRSFILES) \
376	) > $(NULLDEV)
377.ENDIF			# "$(common_build_reslib)"!=""
378
379$(RESLIB6TARGETN): \
380		$(RESLIB6SRSFILES) \
381		$(RESLIB6BMPS)
382	@echo "Making:   " $(@:f)
383.IF "$(GUI)"=="UNX"
384.IF "$(common_build_reslib)"!=""
385    @@-$(RM) $(RSC_MULTI6)
386.ELSE			# "$(common_build_reslib)"!=""
387    @@-$(RM) $(RSC_MULTI6)
388.ENDIF			# "$(common_build_reslib)"!=""
389.ELSE				# "$(GUI)"=="UNX"
390.IF "$(common_build_reslib)"!=""
391    @@-$(RM) $(RSC_MULTI6)
392.ELSE			# "$(common_build_reslib)"!=""
393    @@-$(RM) $(RSC_MULTI6)
394.ENDIF			# "$(common_build_reslib)"!=""
395.ENDIF              # "$(GUI)"=="UNX"
396.ENDIF				# "$(RESLIB6TARGETN)"!=""
397
398
399# unroll begin
400
401.IF "$(RESLIB7TARGETN)"!=""
402
403$(RSC_MULTI7) : \
404		$(RESLIB7SRSFILES) \
405		$(RESLIB7TARGETN) \
406		$(RESLIB7BMPS)
407	@echo Compiling: $(@:f)
408.IF "$(common_build_reslib)"!=""
409	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
410	-r -p \
411	$(foreach,i,$(alllangiso) -lg$i \
412	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
413	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB7NAME)$i.res} \
414    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
415    -lip={$j} ) \
416    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
417    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
418	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
419	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
420    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
421    -ft=$@ \
422	$(RSC7HEADER) $(RESLIB7SRSFILES) \
423	) > $(NULLDEV)
424.ELSE			# "$(common_build_reslib)"!=""
425	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
426	-r -p \
427	$(foreach,i,$(alllangiso) -lg$i \
428	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
429	-fs={$(BIN)/$(RESLIB7NAME)$i.res} \
430    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
431    -lip={$j} ) \
432    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
433    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
434	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
435	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
436    -oil=$(BIN) \
437    -ft=$@ \
438	$(RSC7HEADER) $(RESLIB7SRSFILES) \
439	) > $(NULLDEV)
440.ENDIF			# "$(common_build_reslib)"!=""
441
442$(RESLIB7TARGETN): \
443		$(RESLIB7SRSFILES) \
444		$(RESLIB7BMPS)
445	@echo "Making:   " $(@:f)
446.IF "$(GUI)"=="UNX"
447.IF "$(common_build_reslib)"!=""
448    @@-$(RM) $(RSC_MULTI7)
449.ELSE			# "$(common_build_reslib)"!=""
450    @@-$(RM) $(RSC_MULTI7)
451.ENDIF			# "$(common_build_reslib)"!=""
452.ELSE				# "$(GUI)"=="UNX"
453.IF "$(common_build_reslib)"!=""
454    @@-$(RM) $(RSC_MULTI7)
455.ELSE			# "$(common_build_reslib)"!=""
456    @@-$(RM) $(RSC_MULTI7)
457.ENDIF			# "$(common_build_reslib)"!=""
458.ENDIF              # "$(GUI)"=="UNX"
459.ENDIF				# "$(RESLIB7TARGETN)"!=""
460
461
462# unroll begin
463
464.IF "$(RESLIB8TARGETN)"!=""
465
466$(RSC_MULTI8) : \
467		$(RESLIB8SRSFILES) \
468		$(RESLIB8TARGETN) \
469		$(RESLIB8BMPS)
470	@echo Compiling: $(@:f)
471.IF "$(common_build_reslib)"!=""
472	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
473	-r -p \
474	$(foreach,i,$(alllangiso) -lg$i \
475	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
476	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB8NAME)$i.res} \
477    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
478    -lip={$j} ) \
479    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
480    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
481	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
482	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
483    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
484    -ft=$@ \
485	$(RSC8HEADER) $(RESLIB8SRSFILES) \
486	) > $(NULLDEV)
487.ELSE			# "$(common_build_reslib)"!=""
488	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
489	-r -p \
490	$(foreach,i,$(alllangiso) -lg$i \
491	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
492	-fs={$(BIN)/$(RESLIB8NAME)$i.res} \
493    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
494    -lip={$j} ) \
495    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
496    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
497	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
498	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
499    -oil=$(BIN) \
500    -ft=$@ \
501	$(RSC8HEADER) $(RESLIB8SRSFILES) \
502	) > $(NULLDEV)
503.ENDIF			# "$(common_build_reslib)"!=""
504
505$(RESLIB8TARGETN): \
506		$(RESLIB8SRSFILES) \
507		$(RESLIB8BMPS)
508	@echo "Making:   " $(@:f)
509.IF "$(GUI)"=="UNX"
510.IF "$(common_build_reslib)"!=""
511    @@-$(RM) $(RSC_MULTI8)
512.ELSE			# "$(common_build_reslib)"!=""
513    @@-$(RM) $(RSC_MULTI8)
514.ENDIF			# "$(common_build_reslib)"!=""
515.ELSE				# "$(GUI)"=="UNX"
516.IF "$(common_build_reslib)"!=""
517    @@-$(RM) $(RSC_MULTI8)
518.ELSE			# "$(common_build_reslib)"!=""
519    @@-$(RM) $(RSC_MULTI8)
520.ENDIF			# "$(common_build_reslib)"!=""
521.ENDIF              # "$(GUI)"=="UNX"
522.ENDIF				# "$(RESLIB8TARGETN)"!=""
523
524
525# unroll begin
526
527.IF "$(RESLIB9TARGETN)"!=""
528
529$(RSC_MULTI9) : \
530		$(RESLIB9SRSFILES) \
531		$(RESLIB9TARGETN) \
532		$(RESLIB9BMPS)
533	@echo Compiling: $(@:f)
534.IF "$(common_build_reslib)"!=""
535	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
536	-r -p \
537	$(foreach,i,$(alllangiso) -lg$i \
538	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
539	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB9NAME)$i.res} \
540    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
541    -lip={$j} ) \
542    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
543    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
544	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
545	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
546    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
547    -ft=$@ \
548	$(RSC9HEADER) $(RESLIB9SRSFILES) \
549	) > $(NULLDEV)
550.ELSE			# "$(common_build_reslib)"!=""
551	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
552	-r -p \
553	$(foreach,i,$(alllangiso) -lg$i \
554	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
555	-fs={$(BIN)/$(RESLIB9NAME)$i.res} \
556    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
557    -lip={$j} ) \
558    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
559    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
560	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
561	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
562    -oil=$(BIN) \
563    -ft=$@ \
564	$(RSC9HEADER) $(RESLIB9SRSFILES) \
565	) > $(NULLDEV)
566.ENDIF			# "$(common_build_reslib)"!=""
567
568$(RESLIB9TARGETN): \
569		$(RESLIB9SRSFILES) \
570		$(RESLIB9BMPS)
571	@echo "Making:   " $(@:f)
572.IF "$(GUI)"=="UNX"
573.IF "$(common_build_reslib)"!=""
574    @@-$(RM) $(RSC_MULTI9)
575.ELSE			# "$(common_build_reslib)"!=""
576    @@-$(RM) $(RSC_MULTI9)
577.ENDIF			# "$(common_build_reslib)"!=""
578.ELSE				# "$(GUI)"=="UNX"
579.IF "$(common_build_reslib)"!=""
580    @@-$(RM) $(RSC_MULTI9)
581.ELSE			# "$(common_build_reslib)"!=""
582    @@-$(RM) $(RSC_MULTI9)
583.ENDIF			# "$(common_build_reslib)"!=""
584.ENDIF              # "$(GUI)"=="UNX"
585.ENDIF				# "$(RESLIB9TARGETN)"!=""
586
587
588# unroll begin
589
590.IF "$(RESLIB10TARGETN)"!=""
591
592$(RSC_MULTI10) : \
593		$(RESLIB10SRSFILES) \
594		$(RESLIB10TARGETN) \
595		$(RESLIB10BMPS)
596	@echo Compiling: $(@:f)
597.IF "$(common_build_reslib)"!=""
598	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
599	-r -p \
600	$(foreach,i,$(alllangiso) -lg$i \
601	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
602	-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB10NAME)$i.res} \
603    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
604    -lip={$j} ) \
605    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
606    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
607	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
608	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
609    -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
610    -ft=$@ \
611	$(RSC10HEADER) $(RESLIB10SRSFILES) \
612	) > $(NULLDEV)
613.ELSE			# "$(common_build_reslib)"!=""
614	$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
615	-r -p \
616	$(foreach,i,$(alllangiso) -lg$i \
617	$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
618	-fs={$(BIN)/$(RESLIB10NAME)$i.res} \
619    $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
620    -lip={$j} ) \
621    -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res \
622    -lip=$(SOLARSRC)/$(RSCDEFIMG)/$i -lip=$(SOLARSRC)/$(RSCDEFIMG) ) \
623	-subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
624	-subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
625    -oil=$(BIN) \
626    -ft=$@ \
627	$(RSC10HEADER) $(RESLIB10SRSFILES) \
628	) > $(NULLDEV)
629.ENDIF			# "$(common_build_reslib)"!=""
630
631$(RESLIB10TARGETN): \
632		$(RESLIB10SRSFILES) \
633		$(RESLIB10BMPS)
634	@echo "Making:   " $(@:f)
635.IF "$(GUI)"=="UNX"
636.IF "$(common_build_reslib)"!=""
637    @@-$(RM) $(RSC_MULTI10)
638.ELSE			# "$(common_build_reslib)"!=""
639    @@-$(RM) $(RSC_MULTI10)
640.ENDIF			# "$(common_build_reslib)"!=""
641.ELSE				# "$(GUI)"=="UNX"
642.IF "$(common_build_reslib)"!=""
643    @@-$(RM) $(RSC_MULTI10)
644.ELSE			# "$(common_build_reslib)"!=""
645    @@-$(RM) $(RSC_MULTI10)
646.ENDIF			# "$(common_build_reslib)"!=""
647.ENDIF              # "$(GUI)"=="UNX"
648.ENDIF				# "$(RESLIB10TARGETN)"!=""
649
650
651