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