update dev300-m58
[ooovba.git] / solenv / inc / _tg_rslb.mk
blobe6d06390df96d2b3571dfef86355011398cf0565
1 # unroll begin
3 .IF "$(RESLIB1TARGETN)"!=""
5 .IF "$(BUILDHIDS)"!=""
6 HIDRES1PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB1NAME)_res.hid
8 #HACK cut off the dirty srs files which are included from solver
9 RESLIB1HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB1SRSFILES)))
10 $(HIDRES1PARTICLE): $(RESLIB1HIDFILES)
11 @echo ------------------------------
12 @echo Making: $@
13 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
14 # need to strip since solaris cannot handle tab-only whitespace here
15 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB1HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
16 @$(RENAME) $@.$(ROUT).tmp $@
18 ALLTAR : $(HIDRES1PARTICLE)
20 .ENDIF # "$(BUILDHIDS)"!=""
22 $(RSC_MULTI1) : \
23 $(RESLIB1SRSFILES) \
24 $(RESLIB1TARGETN) \
25 $(RESLIB1BMPS)
26 @echo using rsc multi-res feature
27 .IF "$(common_build_reslib)"!=""
28 $(RSC) -presponse @$(mktmp \
29 -r -p \
30 $(foreach,i,$(alllangiso) -lg$i \
31 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
32 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB1NAME)$i.res} \
33 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
34 -lip={$j} ) \
35 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
36 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
37 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
38 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
39 -ft=$@ \
40 $(RSC1HEADER) $(RESLIB1SRSFILES) \
41 ) > $(NULLDEV)
42 .ELSE # "$(common_build_reslib)"!=""
43 $(RSC) -presponse @$(mktmp \
44 -r -p \
45 $(foreach,i,$(alllangiso) -lg$i \
46 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
47 -fs={$(BIN)/$(RESLIB1NAME)$i.res} \
48 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
49 -lip={$j} ) \
50 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
51 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
52 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
53 -oil=$(BIN) \
54 -ft=$@ \
55 $(RSC1HEADER) $(RESLIB1SRSFILES) \
56 ) > $(NULLDEV)
57 .ENDIF # "$(common_build_reslib)"!=""
59 $(RESLIB1TARGETN): \
60 $(RESLIB1SRSFILES) \
61 $(RESLIB1BMPS)
62 @echo Making: $@
63 .IF "$(GUI)"=="UNX"
64 .IF "$(common_build_reslib)"!=""
65 @@-$(RM) $(RSC_MULTI1)
66 .ELSE # "$(common_build_reslib)"!=""
67 @@-$(RM) $(RSC_MULTI1)
68 .ENDIF # "$(common_build_reslib)"!=""
69 .ELSE # "$(GUI)"=="UNX"
70 .IF "$(common_build_reslib)"!=""
71 @@-$(RM) $(RSC_MULTI1)
72 .ELSE # "$(common_build_reslib)"!=""
73 @@-$(RM) $(RSC_MULTI1)
74 .ENDIF # "$(common_build_reslib)"!=""
75 .ENDIF # "$(GUI)"=="UNX"
76 .ENDIF # "$(RESLIB1TARGETN)"!=""
79 # unroll begin
81 .IF "$(RESLIB2TARGETN)"!=""
83 .IF "$(BUILDHIDS)"!=""
84 HIDRES2PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB2NAME)_res.hid
86 #HACK cut off the dirty srs files which are included from solver
87 RESLIB2HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB2SRSFILES)))
88 $(HIDRES2PARTICLE): $(RESLIB2HIDFILES)
89 @echo ------------------------------
90 @echo Making: $@
91 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
92 # need to strip since solaris cannot handle tab-only whitespace here
93 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB2HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
94 @$(RENAME) $@.$(ROUT).tmp $@
96 ALLTAR : $(HIDRES2PARTICLE)
98 .ENDIF # "$(BUILDHIDS)"!=""
100 $(RSC_MULTI2) : \
101 $(RESLIB2SRSFILES) \
102 $(RESLIB2TARGETN) \
103 $(RESLIB2BMPS)
104 @echo using rsc multi-res feature
105 .IF "$(common_build_reslib)"!=""
106 $(RSC) -presponse @$(mktmp \
107 -r -p \
108 $(foreach,i,$(alllangiso) -lg$i \
109 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
110 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB2NAME)$i.res} \
111 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
112 -lip={$j} ) \
113 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
114 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
115 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
116 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
117 -ft=$@ \
118 $(RSC2HEADER) $(RESLIB2SRSFILES) \
119 ) > $(NULLDEV)
120 .ELSE # "$(common_build_reslib)"!=""
121 $(RSC) -presponse @$(mktmp \
122 -r -p \
123 $(foreach,i,$(alllangiso) -lg$i \
124 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
125 -fs={$(BIN)/$(RESLIB2NAME)$i.res} \
126 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
127 -lip={$j} ) \
128 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
129 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
130 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
131 -oil=$(BIN) \
132 -ft=$@ \
133 $(RSC2HEADER) $(RESLIB2SRSFILES) \
134 ) > $(NULLDEV)
135 .ENDIF # "$(common_build_reslib)"!=""
137 $(RESLIB2TARGETN): \
138 $(RESLIB2SRSFILES) \
139 $(RESLIB2BMPS)
140 @echo Making: $@
141 .IF "$(GUI)"=="UNX"
142 .IF "$(common_build_reslib)"!=""
143 @@-$(RM) $(RSC_MULTI2)
144 .ELSE # "$(common_build_reslib)"!=""
145 @@-$(RM) $(RSC_MULTI2)
146 .ENDIF # "$(common_build_reslib)"!=""
147 .ELSE # "$(GUI)"=="UNX"
148 .IF "$(common_build_reslib)"!=""
149 @@-$(RM) $(RSC_MULTI2)
150 .ELSE # "$(common_build_reslib)"!=""
151 @@-$(RM) $(RSC_MULTI2)
152 .ENDIF # "$(common_build_reslib)"!=""
153 .ENDIF # "$(GUI)"=="UNX"
154 .ENDIF # "$(RESLIB2TARGETN)"!=""
157 # unroll begin
159 .IF "$(RESLIB3TARGETN)"!=""
161 .IF "$(BUILDHIDS)"!=""
162 HIDRES3PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB3NAME)_res.hid
164 #HACK cut off the dirty srs files which are included from solver
165 RESLIB3HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB3SRSFILES)))
166 $(HIDRES3PARTICLE): $(RESLIB3HIDFILES)
167 @echo ------------------------------
168 @echo Making: $@
169 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
170 # need to strip since solaris cannot handle tab-only whitespace here
171 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB3HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
172 @$(RENAME) $@.$(ROUT).tmp $@
174 ALLTAR : $(HIDRES3PARTICLE)
176 .ENDIF # "$(BUILDHIDS)"!=""
178 $(RSC_MULTI3) : \
179 $(RESLIB3SRSFILES) \
180 $(RESLIB3TARGETN) \
181 $(RESLIB3BMPS)
182 @echo using rsc multi-res feature
183 .IF "$(common_build_reslib)"!=""
184 $(RSC) -presponse @$(mktmp \
185 -r -p \
186 $(foreach,i,$(alllangiso) -lg$i \
187 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
188 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB3NAME)$i.res} \
189 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
190 -lip={$j} ) \
191 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
192 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
193 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
194 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
195 -ft=$@ \
196 $(RSC3HEADER) $(RESLIB3SRSFILES) \
197 ) > $(NULLDEV)
198 .ELSE # "$(common_build_reslib)"!=""
199 $(RSC) -presponse @$(mktmp \
200 -r -p \
201 $(foreach,i,$(alllangiso) -lg$i \
202 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
203 -fs={$(BIN)/$(RESLIB3NAME)$i.res} \
204 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
205 -lip={$j} ) \
206 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
207 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
208 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
209 -oil=$(BIN) \
210 -ft=$@ \
211 $(RSC3HEADER) $(RESLIB3SRSFILES) \
212 ) > $(NULLDEV)
213 .ENDIF # "$(common_build_reslib)"!=""
215 $(RESLIB3TARGETN): \
216 $(RESLIB3SRSFILES) \
217 $(RESLIB3BMPS)
218 @echo Making: $@
219 .IF "$(GUI)"=="UNX"
220 .IF "$(common_build_reslib)"!=""
221 @@-$(RM) $(RSC_MULTI3)
222 .ELSE # "$(common_build_reslib)"!=""
223 @@-$(RM) $(RSC_MULTI3)
224 .ENDIF # "$(common_build_reslib)"!=""
225 .ELSE # "$(GUI)"=="UNX"
226 .IF "$(common_build_reslib)"!=""
227 @@-$(RM) $(RSC_MULTI3)
228 .ELSE # "$(common_build_reslib)"!=""
229 @@-$(RM) $(RSC_MULTI3)
230 .ENDIF # "$(common_build_reslib)"!=""
231 .ENDIF # "$(GUI)"=="UNX"
232 .ENDIF # "$(RESLIB3TARGETN)"!=""
235 # unroll begin
237 .IF "$(RESLIB4TARGETN)"!=""
239 .IF "$(BUILDHIDS)"!=""
240 HIDRES4PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB4NAME)_res.hid
242 #HACK cut off the dirty srs files which are included from solver
243 RESLIB4HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB4SRSFILES)))
244 $(HIDRES4PARTICLE): $(RESLIB4HIDFILES)
245 @echo ------------------------------
246 @echo Making: $@
247 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
248 # need to strip since solaris cannot handle tab-only whitespace here
249 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB4HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
250 @$(RENAME) $@.$(ROUT).tmp $@
252 ALLTAR : $(HIDRES4PARTICLE)
254 .ENDIF # "$(BUILDHIDS)"!=""
256 $(RSC_MULTI4) : \
257 $(RESLIB4SRSFILES) \
258 $(RESLIB4TARGETN) \
259 $(RESLIB4BMPS)
260 @echo using rsc multi-res feature
261 .IF "$(common_build_reslib)"!=""
262 $(RSC) -presponse @$(mktmp \
263 -r -p \
264 $(foreach,i,$(alllangiso) -lg$i \
265 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
266 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB4NAME)$i.res} \
267 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
268 -lip={$j} ) \
269 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
270 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
271 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
272 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
273 -ft=$@ \
274 $(RSC4HEADER) $(RESLIB4SRSFILES) \
275 ) > $(NULLDEV)
276 .ELSE # "$(common_build_reslib)"!=""
277 $(RSC) -presponse @$(mktmp \
278 -r -p \
279 $(foreach,i,$(alllangiso) -lg$i \
280 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
281 -fs={$(BIN)/$(RESLIB4NAME)$i.res} \
282 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
283 -lip={$j} ) \
284 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
285 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
286 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
287 -oil=$(BIN) \
288 -ft=$@ \
289 $(RSC4HEADER) $(RESLIB4SRSFILES) \
290 ) > $(NULLDEV)
291 .ENDIF # "$(common_build_reslib)"!=""
293 $(RESLIB4TARGETN): \
294 $(RESLIB4SRSFILES) \
295 $(RESLIB4BMPS)
296 @echo Making: $@
297 .IF "$(GUI)"=="UNX"
298 .IF "$(common_build_reslib)"!=""
299 @@-$(RM) $(RSC_MULTI4)
300 .ELSE # "$(common_build_reslib)"!=""
301 @@-$(RM) $(RSC_MULTI4)
302 .ENDIF # "$(common_build_reslib)"!=""
303 .ELSE # "$(GUI)"=="UNX"
304 .IF "$(common_build_reslib)"!=""
305 @@-$(RM) $(RSC_MULTI4)
306 .ELSE # "$(common_build_reslib)"!=""
307 @@-$(RM) $(RSC_MULTI4)
308 .ENDIF # "$(common_build_reslib)"!=""
309 .ENDIF # "$(GUI)"=="UNX"
310 .ENDIF # "$(RESLIB4TARGETN)"!=""
313 # unroll begin
315 .IF "$(RESLIB5TARGETN)"!=""
317 .IF "$(BUILDHIDS)"!=""
318 HIDRES5PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB5NAME)_res.hid
320 #HACK cut off the dirty srs files which are included from solver
321 RESLIB5HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB5SRSFILES)))
322 $(HIDRES5PARTICLE): $(RESLIB5HIDFILES)
323 @echo ------------------------------
324 @echo Making: $@
325 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
326 # need to strip since solaris cannot handle tab-only whitespace here
327 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB5HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
328 @$(RENAME) $@.$(ROUT).tmp $@
330 ALLTAR : $(HIDRES5PARTICLE)
332 .ENDIF # "$(BUILDHIDS)"!=""
334 $(RSC_MULTI5) : \
335 $(RESLIB5SRSFILES) \
336 $(RESLIB5TARGETN) \
337 $(RESLIB5BMPS)
338 @echo using rsc multi-res feature
339 .IF "$(common_build_reslib)"!=""
340 $(RSC) -presponse @$(mktmp \
341 -r -p \
342 $(foreach,i,$(alllangiso) -lg$i \
343 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
344 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB5NAME)$i.res} \
345 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
346 -lip={$j} ) \
347 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
348 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
349 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
350 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
351 -ft=$@ \
352 $(RSC5HEADER) $(RESLIB5SRSFILES) \
353 ) > $(NULLDEV)
354 .ELSE # "$(common_build_reslib)"!=""
355 $(RSC) -presponse @$(mktmp \
356 -r -p \
357 $(foreach,i,$(alllangiso) -lg$i \
358 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
359 -fs={$(BIN)/$(RESLIB5NAME)$i.res} \
360 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
361 -lip={$j} ) \
362 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
363 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
364 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
365 -oil=$(BIN) \
366 -ft=$@ \
367 $(RSC5HEADER) $(RESLIB5SRSFILES) \
368 ) > $(NULLDEV)
369 .ENDIF # "$(common_build_reslib)"!=""
371 $(RESLIB5TARGETN): \
372 $(RESLIB5SRSFILES) \
373 $(RESLIB5BMPS)
374 @echo Making: $@
375 .IF "$(GUI)"=="UNX"
376 .IF "$(common_build_reslib)"!=""
377 @@-$(RM) $(RSC_MULTI5)
378 .ELSE # "$(common_build_reslib)"!=""
379 @@-$(RM) $(RSC_MULTI5)
380 .ENDIF # "$(common_build_reslib)"!=""
381 .ELSE # "$(GUI)"=="UNX"
382 .IF "$(common_build_reslib)"!=""
383 @@-$(RM) $(RSC_MULTI5)
384 .ELSE # "$(common_build_reslib)"!=""
385 @@-$(RM) $(RSC_MULTI5)
386 .ENDIF # "$(common_build_reslib)"!=""
387 .ENDIF # "$(GUI)"=="UNX"
388 .ENDIF # "$(RESLIB5TARGETN)"!=""
391 # unroll begin
393 .IF "$(RESLIB6TARGETN)"!=""
395 .IF "$(BUILDHIDS)"!=""
396 HIDRES6PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB6NAME)_res.hid
398 #HACK cut off the dirty srs files which are included from solver
399 RESLIB6HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB6SRSFILES)))
400 $(HIDRES6PARTICLE): $(RESLIB6HIDFILES)
401 @echo ------------------------------
402 @echo Making: $@
403 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
404 # need to strip since solaris cannot handle tab-only whitespace here
405 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB6HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
406 @$(RENAME) $@.$(ROUT).tmp $@
408 ALLTAR : $(HIDRES6PARTICLE)
410 .ENDIF # "$(BUILDHIDS)"!=""
412 $(RSC_MULTI6) : \
413 $(RESLIB6SRSFILES) \
414 $(RESLIB6TARGETN) \
415 $(RESLIB6BMPS)
416 @echo using rsc multi-res feature
417 .IF "$(common_build_reslib)"!=""
418 $(RSC) -presponse @$(mktmp \
419 -r -p \
420 $(foreach,i,$(alllangiso) -lg$i \
421 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
422 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB6NAME)$i.res} \
423 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
424 -lip={$j} ) \
425 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
426 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
427 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
428 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
429 -ft=$@ \
430 $(RSC6HEADER) $(RESLIB6SRSFILES) \
431 ) > $(NULLDEV)
432 .ELSE # "$(common_build_reslib)"!=""
433 $(RSC) -presponse @$(mktmp \
434 -r -p \
435 $(foreach,i,$(alllangiso) -lg$i \
436 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
437 -fs={$(BIN)/$(RESLIB6NAME)$i.res} \
438 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
439 -lip={$j} ) \
440 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
441 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
442 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
443 -oil=$(BIN) \
444 -ft=$@ \
445 $(RSC6HEADER) $(RESLIB6SRSFILES) \
446 ) > $(NULLDEV)
447 .ENDIF # "$(common_build_reslib)"!=""
449 $(RESLIB6TARGETN): \
450 $(RESLIB6SRSFILES) \
451 $(RESLIB6BMPS)
452 @echo Making: $@
453 .IF "$(GUI)"=="UNX"
454 .IF "$(common_build_reslib)"!=""
455 @@-$(RM) $(RSC_MULTI6)
456 .ELSE # "$(common_build_reslib)"!=""
457 @@-$(RM) $(RSC_MULTI6)
458 .ENDIF # "$(common_build_reslib)"!=""
459 .ELSE # "$(GUI)"=="UNX"
460 .IF "$(common_build_reslib)"!=""
461 @@-$(RM) $(RSC_MULTI6)
462 .ELSE # "$(common_build_reslib)"!=""
463 @@-$(RM) $(RSC_MULTI6)
464 .ENDIF # "$(common_build_reslib)"!=""
465 .ENDIF # "$(GUI)"=="UNX"
466 .ENDIF # "$(RESLIB6TARGETN)"!=""
469 # unroll begin
471 .IF "$(RESLIB7TARGETN)"!=""
473 .IF "$(BUILDHIDS)"!=""
474 HIDRES7PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB7NAME)_res.hid
476 #HACK cut off the dirty srs files which are included from solver
477 RESLIB7HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB7SRSFILES)))
478 $(HIDRES7PARTICLE): $(RESLIB7HIDFILES)
479 @echo ------------------------------
480 @echo Making: $@
481 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
482 # need to strip since solaris cannot handle tab-only whitespace here
483 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB7HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
484 @$(RENAME) $@.$(ROUT).tmp $@
486 ALLTAR : $(HIDRES7PARTICLE)
488 .ENDIF # "$(BUILDHIDS)"!=""
490 $(RSC_MULTI7) : \
491 $(RESLIB7SRSFILES) \
492 $(RESLIB7TARGETN) \
493 $(RESLIB7BMPS)
494 @echo using rsc multi-res feature
495 .IF "$(common_build_reslib)"!=""
496 $(RSC) -presponse @$(mktmp \
497 -r -p \
498 $(foreach,i,$(alllangiso) -lg$i \
499 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
500 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB7NAME)$i.res} \
501 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
502 -lip={$j} ) \
503 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
504 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
505 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
506 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
507 -ft=$@ \
508 $(RSC7HEADER) $(RESLIB7SRSFILES) \
509 ) > $(NULLDEV)
510 .ELSE # "$(common_build_reslib)"!=""
511 $(RSC) -presponse @$(mktmp \
512 -r -p \
513 $(foreach,i,$(alllangiso) -lg$i \
514 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
515 -fs={$(BIN)/$(RESLIB7NAME)$i.res} \
516 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
517 -lip={$j} ) \
518 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
519 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
520 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
521 -oil=$(BIN) \
522 -ft=$@ \
523 $(RSC7HEADER) $(RESLIB7SRSFILES) \
524 ) > $(NULLDEV)
525 .ENDIF # "$(common_build_reslib)"!=""
527 $(RESLIB7TARGETN): \
528 $(RESLIB7SRSFILES) \
529 $(RESLIB7BMPS)
530 @echo Making: $@
531 .IF "$(GUI)"=="UNX"
532 .IF "$(common_build_reslib)"!=""
533 @@-$(RM) $(RSC_MULTI7)
534 .ELSE # "$(common_build_reslib)"!=""
535 @@-$(RM) $(RSC_MULTI7)
536 .ENDIF # "$(common_build_reslib)"!=""
537 .ELSE # "$(GUI)"=="UNX"
538 .IF "$(common_build_reslib)"!=""
539 @@-$(RM) $(RSC_MULTI7)
540 .ELSE # "$(common_build_reslib)"!=""
541 @@-$(RM) $(RSC_MULTI7)
542 .ENDIF # "$(common_build_reslib)"!=""
543 .ENDIF # "$(GUI)"=="UNX"
544 .ENDIF # "$(RESLIB7TARGETN)"!=""
547 # unroll begin
549 .IF "$(RESLIB8TARGETN)"!=""
551 .IF "$(BUILDHIDS)"!=""
552 HIDRES8PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB8NAME)_res.hid
554 #HACK cut off the dirty srs files which are included from solver
555 RESLIB8HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB8SRSFILES)))
556 $(HIDRES8PARTICLE): $(RESLIB8HIDFILES)
557 @echo ------------------------------
558 @echo Making: $@
559 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
560 # need to strip since solaris cannot handle tab-only whitespace here
561 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB8HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
562 @$(RENAME) $@.$(ROUT).tmp $@
564 ALLTAR : $(HIDRES8PARTICLE)
566 .ENDIF # "$(BUILDHIDS)"!=""
568 $(RSC_MULTI8) : \
569 $(RESLIB8SRSFILES) \
570 $(RESLIB8TARGETN) \
571 $(RESLIB8BMPS)
572 @echo using rsc multi-res feature
573 .IF "$(common_build_reslib)"!=""
574 $(RSC) -presponse @$(mktmp \
575 -r -p \
576 $(foreach,i,$(alllangiso) -lg$i \
577 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
578 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB8NAME)$i.res} \
579 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
580 -lip={$j} ) \
581 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
582 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
583 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
584 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
585 -ft=$@ \
586 $(RSC8HEADER) $(RESLIB8SRSFILES) \
587 ) > $(NULLDEV)
588 .ELSE # "$(common_build_reslib)"!=""
589 $(RSC) -presponse @$(mktmp \
590 -r -p \
591 $(foreach,i,$(alllangiso) -lg$i \
592 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
593 -fs={$(BIN)/$(RESLIB8NAME)$i.res} \
594 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
595 -lip={$j} ) \
596 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
597 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
598 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
599 -oil=$(BIN) \
600 -ft=$@ \
601 $(RSC8HEADER) $(RESLIB8SRSFILES) \
602 ) > $(NULLDEV)
603 .ENDIF # "$(common_build_reslib)"!=""
605 $(RESLIB8TARGETN): \
606 $(RESLIB8SRSFILES) \
607 $(RESLIB8BMPS)
608 @echo Making: $@
609 .IF "$(GUI)"=="UNX"
610 .IF "$(common_build_reslib)"!=""
611 @@-$(RM) $(RSC_MULTI8)
612 .ELSE # "$(common_build_reslib)"!=""
613 @@-$(RM) $(RSC_MULTI8)
614 .ENDIF # "$(common_build_reslib)"!=""
615 .ELSE # "$(GUI)"=="UNX"
616 .IF "$(common_build_reslib)"!=""
617 @@-$(RM) $(RSC_MULTI8)
618 .ELSE # "$(common_build_reslib)"!=""
619 @@-$(RM) $(RSC_MULTI8)
620 .ENDIF # "$(common_build_reslib)"!=""
621 .ENDIF # "$(GUI)"=="UNX"
622 .ENDIF # "$(RESLIB8TARGETN)"!=""
625 # unroll begin
627 .IF "$(RESLIB9TARGETN)"!=""
629 .IF "$(BUILDHIDS)"!=""
630 HIDRES9PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB9NAME)_res.hid
632 #HACK cut off the dirty srs files which are included from solver
633 RESLIB9HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB9SRSFILES)))
634 $(HIDRES9PARTICLE): $(RESLIB9HIDFILES)
635 @echo ------------------------------
636 @echo Making: $@
637 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
638 # need to strip since solaris cannot handle tab-only whitespace here
639 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB9HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
640 @$(RENAME) $@.$(ROUT).tmp $@
642 ALLTAR : $(HIDRES9PARTICLE)
644 .ENDIF # "$(BUILDHIDS)"!=""
646 $(RSC_MULTI9) : \
647 $(RESLIB9SRSFILES) \
648 $(RESLIB9TARGETN) \
649 $(RESLIB9BMPS)
650 @echo using rsc multi-res feature
651 .IF "$(common_build_reslib)"!=""
652 $(RSC) -presponse @$(mktmp \
653 -r -p \
654 $(foreach,i,$(alllangiso) -lg$i \
655 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
656 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB9NAME)$i.res} \
657 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
658 -lip={$j} ) \
659 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
660 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
661 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
662 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
663 -ft=$@ \
664 $(RSC9HEADER) $(RESLIB9SRSFILES) \
665 ) > $(NULLDEV)
666 .ELSE # "$(common_build_reslib)"!=""
667 $(RSC) -presponse @$(mktmp \
668 -r -p \
669 $(foreach,i,$(alllangiso) -lg$i \
670 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
671 -fs={$(BIN)/$(RESLIB9NAME)$i.res} \
672 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
673 -lip={$j} ) \
674 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
675 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
676 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
677 -oil=$(BIN) \
678 -ft=$@ \
679 $(RSC9HEADER) $(RESLIB9SRSFILES) \
680 ) > $(NULLDEV)
681 .ENDIF # "$(common_build_reslib)"!=""
683 $(RESLIB9TARGETN): \
684 $(RESLIB9SRSFILES) \
685 $(RESLIB9BMPS)
686 @echo Making: $@
687 .IF "$(GUI)"=="UNX"
688 .IF "$(common_build_reslib)"!=""
689 @@-$(RM) $(RSC_MULTI9)
690 .ELSE # "$(common_build_reslib)"!=""
691 @@-$(RM) $(RSC_MULTI9)
692 .ENDIF # "$(common_build_reslib)"!=""
693 .ELSE # "$(GUI)"=="UNX"
694 .IF "$(common_build_reslib)"!=""
695 @@-$(RM) $(RSC_MULTI9)
696 .ELSE # "$(common_build_reslib)"!=""
697 @@-$(RM) $(RSC_MULTI9)
698 .ENDIF # "$(common_build_reslib)"!=""
699 .ENDIF # "$(GUI)"=="UNX"
700 .ENDIF # "$(RESLIB9TARGETN)"!=""
703 # unroll begin
705 .IF "$(RESLIB10TARGETN)"!=""
707 .IF "$(BUILDHIDS)"!=""
708 HIDRES10PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))/$(RESLIB10NAME)_res.hid
710 #HACK cut off the dirty srs files which are included from solver
711 RESLIB10HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB10SRSFILES)))
712 $(HIDRES10PARTICLE): $(RESLIB10HIDFILES)
713 @echo ------------------------------
714 @echo Making: $@
715 @$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
716 # need to strip since solaris cannot handle tab-only whitespace here
717 $(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB10HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
718 @$(RENAME) $@.$(ROUT).tmp $@
720 ALLTAR : $(HIDRES10PARTICLE)
722 .ENDIF # "$(BUILDHIDS)"!=""
724 $(RSC_MULTI10) : \
725 $(RESLIB10SRSFILES) \
726 $(RESLIB10TARGETN) \
727 $(RESLIB10BMPS)
728 @echo using rsc multi-res feature
729 .IF "$(common_build_reslib)"!=""
730 $(RSC) -presponse @$(mktmp \
731 -r -p \
732 $(foreach,i,$(alllangiso) -lg$i \
733 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
734 -fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB10NAME)$i.res} \
735 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
736 -lip={$j} ) \
737 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
738 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
739 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
740 -oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
741 -ft=$@ \
742 $(RSC10HEADER) $(RESLIB10SRSFILES) \
743 ) > $(NULLDEV)
744 .ELSE # "$(common_build_reslib)"!=""
745 $(RSC) -presponse @$(mktmp \
746 -r -p \
747 $(foreach,i,$(alllangiso) -lg$i \
748 $(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
749 -fs={$(BIN)/$(RESLIB10NAME)$i.res} \
750 $(foreach,j,$(subst,$(PRJ),$(SOLARSRC)/$(RSCDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
751 -lip={$j} ) \
752 -lip=$(SOLARSRC)/$(RSCDEFIMG)/res/$i -lip=$(SOLARSRC)/$(RSCDEFIMG)/res ) \
753 -subMODULE=$(SOLARSRC)/$(RSCDEFIMG) \
754 -subGLOBALRES=$(SOLARSRC)/$(RSCDEFIMG)/res \
755 -oil=$(BIN) \
756 -ft=$@ \
757 $(RSC10HEADER) $(RESLIB10SRSFILES) \
758 ) > $(NULLDEV)
759 .ENDIF # "$(common_build_reslib)"!=""
761 $(RESLIB10TARGETN): \
762 $(RESLIB10SRSFILES) \
763 $(RESLIB10BMPS)
764 @echo Making: $@
765 .IF "$(GUI)"=="UNX"
766 .IF "$(common_build_reslib)"!=""
767 @@-$(RM) $(RSC_MULTI10)
768 .ELSE # "$(common_build_reslib)"!=""
769 @@-$(RM) $(RSC_MULTI10)
770 .ENDIF # "$(common_build_reslib)"!=""
771 .ELSE # "$(GUI)"=="UNX"
772 .IF "$(common_build_reslib)"!=""
773 @@-$(RM) $(RSC_MULTI10)
774 .ELSE # "$(common_build_reslib)"!=""
775 @@-$(RM) $(RSC_MULTI10)
776 .ENDIF # "$(common_build_reslib)"!=""
777 .ENDIF # "$(GUI)"=="UNX"
778 .ENDIF # "$(RESLIB10TARGETN)"!=""