b2379c07ee
2006/09/15 13:26:32 hjs 1.18.86.1: #i69536# don't force shell for echo
780 lines
28 KiB
Makefile
780 lines
28 KiB
Makefile
# unroll begin
|
|
|
|
.IF "$(RESLIB1TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES1PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB1NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB1HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB1SRSFILES)))
|
|
$(HIDRES1PARTICLE): $(RESLIB1HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB1HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES1PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI1) : \
|
|
$(RESLIB1SRSFILES) \
|
|
$(RESLIB1TARGETN) \
|
|
$(RESLIB1BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB1NAME)$(RESLIB1VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB1NAME)$(RESLIB1VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB1TARGETN): \
|
|
$(RESLIB1SRSFILES) \
|
|
$(RESLIB1BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB1TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB2TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES2PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB2NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB2HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB2SRSFILES)))
|
|
$(HIDRES2PARTICLE): $(RESLIB2HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB2HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES2PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI2) : \
|
|
$(RESLIB2SRSFILES) \
|
|
$(RESLIB2TARGETN) \
|
|
$(RESLIB2BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB2NAME)$(RESLIB2VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB2NAME)$(RESLIB2VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB2TARGETN): \
|
|
$(RESLIB2SRSFILES) \
|
|
$(RESLIB2BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB2TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB3TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES3PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB3NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB3HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB3SRSFILES)))
|
|
$(HIDRES3PARTICLE): $(RESLIB3HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB3HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES3PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI3) : \
|
|
$(RESLIB3SRSFILES) \
|
|
$(RESLIB3TARGETN) \
|
|
$(RESLIB3BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB3NAME)$(RESLIB3VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB3NAME)$(RESLIB3VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB3TARGETN): \
|
|
$(RESLIB3SRSFILES) \
|
|
$(RESLIB3BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB3TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB4TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES4PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB4NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB4HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB4SRSFILES)))
|
|
$(HIDRES4PARTICLE): $(RESLIB4HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB4HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES4PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI4) : \
|
|
$(RESLIB4SRSFILES) \
|
|
$(RESLIB4TARGETN) \
|
|
$(RESLIB4BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB4NAME)$(RESLIB4VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB4NAME)$(RESLIB4VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB4TARGETN): \
|
|
$(RESLIB4SRSFILES) \
|
|
$(RESLIB4BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB4TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB5TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES5PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB5NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB5HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB5SRSFILES)))
|
|
$(HIDRES5PARTICLE): $(RESLIB5HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB5HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES5PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI5) : \
|
|
$(RESLIB5SRSFILES) \
|
|
$(RESLIB5TARGETN) \
|
|
$(RESLIB5BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB5NAME)$(RESLIB5VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB5NAME)$(RESLIB5VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB5TARGETN): \
|
|
$(RESLIB5SRSFILES) \
|
|
$(RESLIB5BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB5TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB6TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES6PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB6NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB6HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB6SRSFILES)))
|
|
$(HIDRES6PARTICLE): $(RESLIB6HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB6HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES6PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI6) : \
|
|
$(RESLIB6SRSFILES) \
|
|
$(RESLIB6TARGETN) \
|
|
$(RESLIB6BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB6NAME)$(RESLIB6VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB6NAME)$(RESLIB6VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB6TARGETN): \
|
|
$(RESLIB6SRSFILES) \
|
|
$(RESLIB6BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB6TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB7TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES7PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB7NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB7HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB7SRSFILES)))
|
|
$(HIDRES7PARTICLE): $(RESLIB7HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB7HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES7PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI7) : \
|
|
$(RESLIB7SRSFILES) \
|
|
$(RESLIB7TARGETN) \
|
|
$(RESLIB7BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB7NAME)$(RESLIB7VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB7NAME)$(RESLIB7VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB7TARGETN): \
|
|
$(RESLIB7SRSFILES) \
|
|
$(RESLIB7BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB7TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB8TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES8PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB8NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB8HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB8SRSFILES)))
|
|
$(HIDRES8PARTICLE): $(RESLIB8HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB8HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES8PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI8) : \
|
|
$(RESLIB8SRSFILES) \
|
|
$(RESLIB8TARGETN) \
|
|
$(RESLIB8BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB8NAME)$(RESLIB8VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB8NAME)$(RESLIB8VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB8TARGETN): \
|
|
$(RESLIB8SRSFILES) \
|
|
$(RESLIB8BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB8TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB9TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES9PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB9NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB9HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB9SRSFILES)))
|
|
$(HIDRES9PARTICLE): $(RESLIB9HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB9HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES9PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI9) : \
|
|
$(RESLIB9SRSFILES) \
|
|
$(RESLIB9TARGETN) \
|
|
$(RESLIB9BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB9NAME)$(RESLIB9VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB9NAME)$(RESLIB9VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB9TARGETN): \
|
|
$(RESLIB9SRSFILES) \
|
|
$(RESLIB9BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB9TARGETN)"!=""
|
|
|
|
|
|
# unroll begin
|
|
|
|
.IF "$(RESLIB10TARGETN)"!=""
|
|
|
|
.IF "$(BUILDHIDS)"!=""
|
|
HIDRES10PARTICLE=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(RESLIB10NAME)_res.hid
|
|
|
|
#HACK cut off the dirty srs files which are included from solver
|
|
RESLIB10HIDFILES:=$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(subst,.srs,_srs.hid $(RESLIB10SRSFILES)))
|
|
$(HIDRES10PARTICLE): $(RESLIB10HIDFILES)
|
|
@echo ------------------------------
|
|
@echo Making: $@
|
|
@+$(IFEXIST) $@ $(THEN) $(RM) $@ $(FI)
|
|
# need to strip since solaris cannot handle tab-only whitespace here
|
|
+$(TYPE) $(mktmp $(strip, $(subst,$/,/ $(RESLIB10HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
|
|
@+$(RENAME) $@.$(ROUT).tmp $@
|
|
|
|
ALLTAR : $(HIDRES10PARTICLE)
|
|
|
|
.ENDIF # "$(BUILDHIDS)"!=""
|
|
|
|
$(RSC_MULTI10) : \
|
|
$(RESLIB10SRSFILES) \
|
|
$(RESLIB10TARGETN) \
|
|
$(RESLIB10BMPS)
|
|
@echo using rsc multi-res feature
|
|
.IF "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB10NAME)$(RESLIB10VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
|
|
-ft=$@ \
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
$(RSC) -presponse @$(mktmp \
|
|
-r -p \
|
|
$(foreach,i,$(alllangiso) -lg$i \
|
|
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
|
|
-fs={$(BIN)$/$(RESLIB10NAME)$(RESLIB10VERSION)$i.res} \
|
|
$(foreach,j,$(subst,$(PRJ),$(SOLARSRC)$/$(RSCDEFIMG)$/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}$/$i \
|
|
-lip={$j} ) \
|
|
-lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res$/$i -lip=$(SOLARSRC)$/$(RSCDEFIMG)$/res ) \
|
|
-subMODULE=$(SOLARSRC)$/$(RSCDEFIMG) \
|
|
-subGLOBALRES=$(SOLARSRC)$/$(RSCDEFIMG)$/res \
|
|
-oil=$(BIN) \
|
|
-ft=$@ \
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
) > $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
$(RESLIB10TARGETN): \
|
|
$(RESLIB10SRSFILES) \
|
|
$(RESLIB10BMPS)
|
|
@echo Making: $@
|
|
.IF "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
.IF "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
.ENDIF # "$(RESLIB10TARGETN)"!=""
|
|
|
|
|