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