2000-09-20 08:43:26 -05:00
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB1TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI1) : \
|
|
|
|
$(RESLIB1SRSFILES) \
|
|
|
|
$(RESLIB1TARGETN) \
|
|
|
|
$(RESLIB1BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB1NAME)$(RESLIB1VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB1NAME)$(RESLIB1VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB1TARGETN): \
|
|
|
|
$(RESLIB1SRSFILES) \
|
|
|
|
$(RESLIB1BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI1) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB1NAME)$(RESLIB1VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC1HEADER) $(RESLIB1SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB1TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB2TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI2) : \
|
|
|
|
$(RESLIB2SRSFILES) \
|
|
|
|
$(RESLIB2TARGETN) \
|
|
|
|
$(RESLIB2BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB2NAME)$(RESLIB2VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB2NAME)$(RESLIB2VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB2TARGETN): \
|
|
|
|
$(RESLIB2SRSFILES) \
|
|
|
|
$(RESLIB2BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI2) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB2NAME)$(RESLIB2VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC2HEADER) $(RESLIB2SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB2TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB3TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI3) : \
|
|
|
|
$(RESLIB3SRSFILES) \
|
|
|
|
$(RESLIB3TARGETN) \
|
|
|
|
$(RESLIB3BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB3NAME)$(RESLIB3VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB3NAME)$(RESLIB3VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB3TARGETN): \
|
|
|
|
$(RESLIB3SRSFILES) \
|
|
|
|
$(RESLIB3BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI3) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB3NAME)$(RESLIB3VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC3HEADER) $(RESLIB3SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB3TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB4TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI4) : \
|
|
|
|
$(RESLIB4SRSFILES) \
|
|
|
|
$(RESLIB4TARGETN) \
|
|
|
|
$(RESLIB4BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB4NAME)$(RESLIB4VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB4NAME)$(RESLIB4VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB4TARGETN): \
|
|
|
|
$(RESLIB4SRSFILES) \
|
|
|
|
$(RESLIB4BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI4) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB4NAME)$(RESLIB4VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC4HEADER) $(RESLIB4SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB4TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB5TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI5) : \
|
|
|
|
$(RESLIB5SRSFILES) \
|
|
|
|
$(RESLIB5TARGETN) \
|
|
|
|
$(RESLIB5BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB5NAME)$(RESLIB5VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB5NAME)$(RESLIB5VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB5TARGETN): \
|
|
|
|
$(RESLIB5SRSFILES) \
|
|
|
|
$(RESLIB5BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI5) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB5NAME)$(RESLIB5VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC5HEADER) $(RESLIB5SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB5TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB6TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI6) : \
|
|
|
|
$(RESLIB6SRSFILES) \
|
|
|
|
$(RESLIB6TARGETN) \
|
|
|
|
$(RESLIB6BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB6NAME)$(RESLIB6VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB6NAME)$(RESLIB6VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB6TARGETN): \
|
|
|
|
$(RESLIB6SRSFILES) \
|
|
|
|
$(RESLIB6BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI6) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB6NAME)$(RESLIB6VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC6HEADER) $(RESLIB6SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB6TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB7TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI7) : \
|
|
|
|
$(RESLIB7SRSFILES) \
|
|
|
|
$(RESLIB7TARGETN) \
|
|
|
|
$(RESLIB7BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB7NAME)$(RESLIB7VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB7NAME)$(RESLIB7VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB7TARGETN): \
|
|
|
|
$(RESLIB7SRSFILES) \
|
|
|
|
$(RESLIB7BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI7) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB7NAME)$(RESLIB7VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC7HEADER) $(RESLIB7SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB7TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB8TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI8) : \
|
|
|
|
$(RESLIB8SRSFILES) \
|
|
|
|
$(RESLIB8TARGETN) \
|
|
|
|
$(RESLIB8BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB8NAME)$(RESLIB8VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB8NAME)$(RESLIB8VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB8TARGETN): \
|
|
|
|
$(RESLIB8SRSFILES) \
|
|
|
|
$(RESLIB8BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI8) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB8NAME)$(RESLIB8VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC8HEADER) $(RESLIB8SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB8TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB9TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI9) : \
|
|
|
|
$(RESLIB9SRSFILES) \
|
|
|
|
$(RESLIB9TARGETN) \
|
|
|
|
$(RESLIB9BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB9NAME)$(RESLIB9VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB9NAME)$(RESLIB9VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB9TARGETN): \
|
|
|
|
$(RESLIB9SRSFILES) \
|
|
|
|
$(RESLIB9BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI9) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB9NAME)$(RESLIB9VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC9HEADER) $(RESLIB9SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB9TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|
|
|
|
# unroll begin
|
|
|
|
|
|
|
|
.IF "$(RESLIB10TARGETN)"!=""
|
|
|
|
|
2001-11-07 07:28:33 -06:00
|
|
|
$(RSC_MULTI10) : \
|
|
|
|
$(RESLIB10SRSFILES) \
|
|
|
|
$(RESLIB10TARGETN) \
|
|
|
|
$(RESLIB10BMPS)
|
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+echo using rsc multi-res feature
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(BIN))$/$(RESLIB10NAME)$(RESLIB10VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r -p \
|
|
|
|
$(foreach,i,$(alllangext) $(rsclang_{$i}) \
|
|
|
|
$(rescharset_{$i}) \
|
2002-01-09 10:19:09 -06:00
|
|
|
-fs{$(BIN)$/$(RESLIB10NAME)$(RESLIB10VERSION)$i.res} \
|
2001-11-07 07:28:33 -06:00
|
|
|
-lip{$(RES)}$/$(langext_{$(i)}) ) \
|
|
|
|
-ft$@ \
|
|
|
|
-I{$(RES)}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
) > $(NULLDEV)
|
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RESLIB10TARGETN): \
|
|
|
|
$(RESLIB10SRSFILES) \
|
|
|
|
$(RESLIB10BMPS)
|
|
|
|
@echo Making: $@
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2001-11-07 07:28:33 -06:00
|
|
|
-r -p \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
)
|
|
|
|
+$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
|
|
|
-r \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(PRJ)$/win$/res -I$(PRJ)$/..$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INC) $(SOLARINC) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
.IF "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(langext_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs{$(subst,$(COMMON_OUTDIR),$(OUTPATH) $@)} \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I{$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(RES))}$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
)
|
|
|
|
+-$(GNUCOPY) -p $(subst,$(COMMON_OUTDIR),$(OUTPATH) $@) $@.new >& $(NULLDEV)
|
|
|
|
+-$(RM) $@ >& $(NULLDEV)
|
|
|
|
+$(RENAME) $@.new $@
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE # "$(common_build_reslib)"!=""
|
2001-11-07 07:28:33 -06:00
|
|
|
.IF "$(rsc_once)"!=""
|
|
|
|
@+-$(RM) $(RSC_MULTI10) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
$(RSC) -presponse @$(mktmp \
|
2002-01-09 10:19:09 -06:00
|
|
|
$(rsclang_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
$(rescharset_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
|
|
|
-I$(RES)$/$(langext_{$(subst,$(RESLIB10NAME)$(RESLIB10VERSION), $(@:b))}) \
|
2000-09-20 08:43:26 -05:00
|
|
|
-fs$@ \
|
|
|
|
-r -p \
|
|
|
|
-I$(RES) \
|
|
|
|
-I$(PRJ)$/$(INPATH)$/res$/$(defaultlangext) \
|
|
|
|
-I$(PRJ)$/$(GUIBASE)$/res -I$(PRJ)$/res -I$(RSCLOCINC) -I$(RSCGLOINC) -I$(INCLUDE) \
|
|
|
|
$(RSC10HEADER) $(RESLIB10SRSFILES) \
|
|
|
|
)
|
2001-11-07 07:28:33 -06:00
|
|
|
.ENDIF # "$(rsc_once)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF # "$(common_build_reslib)"!=""
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
|
|
|
.ENDIF # "$(RESLIB10TARGETN)"!=""
|
|
|
|
|
|
|
|
|
|
|
|
# Anweisungen fuer das Linken
|