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