office-gobmx/solenv/inc/_tg_rslb.mk

770 lines
26 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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB1HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES1PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI1) : \
$(RESLIB1SRSFILES) \
$(RESLIB1TARGETN) \
$(RESLIB1BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB1NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC1HEADER) $(RESLIB1SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB1NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB1IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC1HEADER) $(RESLIB1SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB1TARGETN): \
$(RESLIB1SRSFILES) \
$(RESLIB1BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI1)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI1)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI1)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI1)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB2HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES2PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI2) : \
$(RESLIB2SRSFILES) \
$(RESLIB2TARGETN) \
$(RESLIB2BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB2NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC2HEADER) $(RESLIB2SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB2NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB2IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC2HEADER) $(RESLIB2SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB2TARGETN): \
$(RESLIB2SRSFILES) \
$(RESLIB2BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI2)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI2)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI2)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI2)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB3HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES3PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI3) : \
$(RESLIB3SRSFILES) \
$(RESLIB3TARGETN) \
$(RESLIB3BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB3NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC3HEADER) $(RESLIB3SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB3NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB3IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC3HEADER) $(RESLIB3SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB3TARGETN): \
$(RESLIB3SRSFILES) \
$(RESLIB3BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI3)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI3)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI3)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI3)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB4HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES4PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI4) : \
$(RESLIB4SRSFILES) \
$(RESLIB4TARGETN) \
$(RESLIB4BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB4NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC4HEADER) $(RESLIB4SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB4NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB4IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC4HEADER) $(RESLIB4SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB4TARGETN): \
$(RESLIB4SRSFILES) \
$(RESLIB4BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI4)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI4)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI4)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI4)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB5HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES5PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI5) : \
$(RESLIB5SRSFILES) \
$(RESLIB5TARGETN) \
$(RESLIB5BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB5NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC5HEADER) $(RESLIB5SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB5NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB5IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC5HEADER) $(RESLIB5SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB5TARGETN): \
$(RESLIB5SRSFILES) \
$(RESLIB5BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI5)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI5)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI5)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI5)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB6HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES6PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI6) : \
$(RESLIB6SRSFILES) \
$(RESLIB6TARGETN) \
$(RESLIB6BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB6NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC6HEADER) $(RESLIB6SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB6NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB6IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC6HEADER) $(RESLIB6SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB6TARGETN): \
$(RESLIB6SRSFILES) \
$(RESLIB6BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI6)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI6)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI6)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI6)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB7HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES7PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI7) : \
$(RESLIB7SRSFILES) \
$(RESLIB7TARGETN) \
$(RESLIB7BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB7NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC7HEADER) $(RESLIB7SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB7NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB7IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC7HEADER) $(RESLIB7SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB7TARGETN): \
$(RESLIB7SRSFILES) \
$(RESLIB7BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI7)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI7)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI7)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI7)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB8HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES8PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI8) : \
$(RESLIB8SRSFILES) \
$(RESLIB8TARGETN) \
$(RESLIB8BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB8NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC8HEADER) $(RESLIB8SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB8NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB8IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC8HEADER) $(RESLIB8SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB8TARGETN): \
$(RESLIB8SRSFILES) \
$(RESLIB8BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI8)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI8)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI8)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI8)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB9HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES9PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI9) : \
$(RESLIB9SRSFILES) \
$(RESLIB9TARGETN) \
$(RESLIB9BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB9NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC9HEADER) $(RESLIB9SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB9NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB9IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC9HEADER) $(RESLIB9SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB9TARGETN): \
$(RESLIB9SRSFILES) \
$(RESLIB9BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI9)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI9)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI9)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI9)
.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 "Making: " $(@:f)
@$(IFEXIST) $@ $(THEN) $(RM:s/+//) $@ $(FI)
# need to strip since solaris cannot handle tab-only whitespace here
$(COMMAND_ECHO)$(TYPE) $(mktmp $(strip, $(subst,/,/ $(RESLIB10HIDFILES))) )| xargs -s 1000 cat > $@.$(ROUT).tmp
@$(RENAME) $@.$(ROUT).tmp $@
ALLTAR : $(HIDRES10PARTICLE)
.ENDIF # "$(BUILDHIDS)"!=""
$(RSC_MULTI10) : \
$(RESLIB10SRSFILES) \
$(RESLIB10TARGETN) \
$(RESLIB10BMPS)
@echo Compiling: $(@:f)
.IF "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))/$(RESLIB10NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil={$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))} \
-ft=$@ \
$(RSC10HEADER) $(RESLIB10SRSFILES) \
) > $(NULLDEV)
.ELSE # "$(common_build_reslib)"!=""
$(COMMAND_ECHO)$(RSC) -presponse $(VERBOSITY) @$(mktmp \
-r -p \
$(foreach,i,$(alllangiso) -lg$i \
$(null,$(rescharset_{$i}) $(default$(LANG_GUI)) $(rescharset_{$i})) \
-fs={$(BIN)/$(RESLIB10NAME)$i.res} \
$(foreach,j,$(subst,$(PRJ),$(SOLARDEFIMG)/$(PRJNAME) $(RESLIB10IMAGES)) -lip={$j}/$i \
-lip={$j} ) \
-lip=$(SOLARDEFIMG)/res/$i -lip=$(SOLARDEFIMG)/res ) \
-subMODULE=$(SOLARDEFIMG) \
-subGLOBALRES=$(SOLARDEFIMG)/res \
-oil=$(BIN) \
-ft=$@ \
$(RSC10HEADER) $(RESLIB10SRSFILES) \
) > $(NULLDEV)
.ENDIF # "$(common_build_reslib)"!=""
$(RESLIB10TARGETN): \
$(RESLIB10SRSFILES) \
$(RESLIB10BMPS)
@echo "Making: " $(@:f)
.IF "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI10)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI10)
.ENDIF # "$(common_build_reslib)"!=""
.ELSE # "$(GUI)"=="UNX"
.IF "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI10)
.ELSE # "$(common_build_reslib)"!=""
@@-$(RM) $(RSC_MULTI10)
.ENDIF # "$(common_build_reslib)"!=""
.ENDIF # "$(GUI)"=="UNX"
.ENDIF # "$(RESLIB10TARGETN)"!=""