3 .IF
"$(RESLIB1TARGETN)"!=""
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
------------------------------
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)"!=""
26 @echo using rsc multi-res feature
27 .IF
"$(common_build_reslib)"!=""
28 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
40 $(RSC1HEADER
) $(RESLIB1SRSFILES
) \
42 .ELSE
# "$(common_build_reslib)"!=""
43 $(RSC
) -presponse @
$(mktmp \
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 \
50 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
51 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
52 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
55 $(RSC1HEADER
) $(RESLIB1SRSFILES
) \
57 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
104 @echo using rsc multi-res feature
105 .IF
"$(common_build_reslib)"!=""
106 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
118 $(RSC2HEADER
) $(RESLIB2SRSFILES
) \
120 .ELSE
# "$(common_build_reslib)"!=""
121 $(RSC
) -presponse @
$(mktmp \
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 \
128 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
129 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
130 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
133 $(RSC2HEADER
) $(RESLIB2SRSFILES
) \
135 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
182 @echo using rsc multi-res feature
183 .IF
"$(common_build_reslib)"!=""
184 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
196 $(RSC3HEADER
) $(RESLIB3SRSFILES
) \
198 .ELSE
# "$(common_build_reslib)"!=""
199 $(RSC
) -presponse @
$(mktmp \
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 \
206 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
207 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
208 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
211 $(RSC3HEADER
) $(RESLIB3SRSFILES
) \
213 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
260 @echo using rsc multi-res feature
261 .IF
"$(common_build_reslib)"!=""
262 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
274 $(RSC4HEADER
) $(RESLIB4SRSFILES
) \
276 .ELSE
# "$(common_build_reslib)"!=""
277 $(RSC
) -presponse @
$(mktmp \
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 \
284 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
285 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
286 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
289 $(RSC4HEADER
) $(RESLIB4SRSFILES
) \
291 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
338 @echo using rsc multi-res feature
339 .IF
"$(common_build_reslib)"!=""
340 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
352 $(RSC5HEADER
) $(RESLIB5SRSFILES
) \
354 .ELSE
# "$(common_build_reslib)"!=""
355 $(RSC
) -presponse @
$(mktmp \
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 \
362 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
363 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
364 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
367 $(RSC5HEADER
) $(RESLIB5SRSFILES
) \
369 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
416 @echo using rsc multi-res feature
417 .IF
"$(common_build_reslib)"!=""
418 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
430 $(RSC6HEADER
) $(RESLIB6SRSFILES
) \
432 .ELSE
# "$(common_build_reslib)"!=""
433 $(RSC
) -presponse @
$(mktmp \
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 \
440 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
441 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
442 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
445 $(RSC6HEADER
) $(RESLIB6SRSFILES
) \
447 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
494 @echo using rsc multi-res feature
495 .IF
"$(common_build_reslib)"!=""
496 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
508 $(RSC7HEADER
) $(RESLIB7SRSFILES
) \
510 .ELSE
# "$(common_build_reslib)"!=""
511 $(RSC
) -presponse @
$(mktmp \
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 \
518 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
519 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
520 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
523 $(RSC7HEADER
) $(RESLIB7SRSFILES
) \
525 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
572 @echo using rsc multi-res feature
573 .IF
"$(common_build_reslib)"!=""
574 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
586 $(RSC8HEADER
) $(RESLIB8SRSFILES
) \
588 .ELSE
# "$(common_build_reslib)"!=""
589 $(RSC
) -presponse @
$(mktmp \
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 \
596 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
597 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
598 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
601 $(RSC8HEADER
) $(RESLIB8SRSFILES
) \
603 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
650 @echo using rsc multi-res feature
651 .IF
"$(common_build_reslib)"!=""
652 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
664 $(RSC9HEADER
) $(RESLIB9SRSFILES
) \
666 .ELSE
# "$(common_build_reslib)"!=""
667 $(RSC
) -presponse @
$(mktmp \
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 \
674 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
675 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
676 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
679 $(RSC9HEADER
) $(RESLIB9SRSFILES
) \
681 .ENDIF
# "$(common_build_reslib)"!=""
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)"!=""
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
------------------------------
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)"!=""
725 $(RESLIB10SRSFILES
) \
728 @echo using rsc multi-res feature
729 .IF
"$(common_build_reslib)"!=""
730 $(RSC
) -presponse @
$(mktmp \
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 \
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
))} \
742 $(RSC10HEADER
) $(RESLIB10SRSFILES
) \
744 .ELSE
# "$(common_build_reslib)"!=""
745 $(RSC
) -presponse @
$(mktmp \
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 \
752 -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
/$i -lip
=$(SOLARSRC
)/$(RSCDEFIMG
)/res
) \
753 -subMODULE
=$(SOLARSRC
)/$(RSCDEFIMG
) \
754 -subGLOBALRES
=$(SOLARSRC
)/$(RSCDEFIMG
)/res \
757 $(RSC10HEADER
) $(RESLIB10SRSFILES
) \
759 .ENDIF
# "$(common_build_reslib)"!=""
761 $(RESLIB10TARGETN
): \
762 $(RESLIB10SRSFILES
) \
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)"!=""