office-gobmx/solenv/inc/tg_slo.mk

171 lines
5.3 KiB
Makefile
Raw Normal View History

2000-09-20 08:43:26 -05:00
#*************************************************************************
#*
#* $Workfile: tg_slo.mk $
#*
#* Ersterstellung MH 01.09.97
2001-02-02 05:02:06 -06:00
#* Letzte Aenderung $Author: hjs $ $Date: 2001-02-02 12:02:06 $
#* $Revision: 1.2 $
2000-09-20 08:43:26 -05:00
#*
#* $Logfile: T:/solar/inc/tg_slo.mkv $
#*
#* Copyright (c) 1990-1997, STAR DIVISION
#*
#*************************************************************************
MKFILENAME:=TG_SLO.MK
.IF "$(SLOTARGET)"!=""
$(SLOTARGET): $(SLOFILES) $(IDLSLOFILES)
.IF "$(MDB)" != ""
@echo $(SLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
# @+$(RM) $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
+echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="MAC"
+echo $(foreach,i,$(IDLSLOFILES:f) $(RSLO)$/$(IDLPACKAGE)$/$(i)) | xargs -n1 > $@
+echo $(foreach,i,$(SLOFILES:f) $(RSLO)$/$(i)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="MAC"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
$(LIBMGR) $@ $(LIBFLAGS) +$(SLOFILES:+"\n+":^"&")
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
.IF "$(COM)"=="ICC"
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ELSE
$(LIBMGR) r $@ $(SLOFILES)
.ENDIF # "$(COM)"=="ICC"
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SLOTARGET)"!=""
.IF "$(SMRSLOTARGET)"!=""
$(SMRSLOTARGET): $(SMRSLOFILES)
.IF "$(MDB)" != ""
@+echo $(SMRSLOTARGET:s/ttt/\/)
@+echo $(SMRSLOFILES)
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(SMRSLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
$(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(SMRSLOFILES:+"\n+":^"&":s/ttt/\/)
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $(@:s/ttt/\/)
$(LIBMGR) $(LIBFLAGS) $(@:s/ttt/\/) @$(mktmp $(&:+"&\n":s/ttt/\/);)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SMRSLOTARGET)"!=""
.IF "$(S2USLOTARGET)"!=""
$(S2USLOTARGET): $(S2USLOFILES:s/ttt/\/)
.IF "$(MDB)" != ""
@echo $(S2USLOTARGET)
@echo $(&:+"\n":s/ttt/\/)
.ENDIF
@echo ------------------------------
@echo Making: $(@:s/ttt/\/)
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n":s/ttt/\/)) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$(@:s/ttt/\/) @$(mktmp $(&:+"\n":s/ttt/\/))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(S2USLOFILES:f:s/ttt/\/) $(RPACKAGESLO)$/$(i:s/.obj/.o/)) | xargs -n1 > $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
$(LIBMGR) $(@:s/ttt/\/) $(LIBFLAGS) +$(S2USLOFILES:+"\n+":^"&":s/ttt/\/)
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $(@:s/ttt/\/)
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n":s/ttt/\/);)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(S2USLOTARGET)"!=""
.IF "$(SVXLIGHTSLOTARGET)"!=""
$(SVXLIGHTSLOTARGET): $(REAL_SVXLIGHTSLOFILES)
.IF "$(MDB)" != ""
@echo $(REAL_SVXLIGHTSLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
+echo $(foreach,i,$(REAL_SVXLIGHTSLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
$(LIBMGR) $@ $(LIBFLAGS) +$(REAL_SVXLIGHTSLOFILES:+"\n+":^"&")
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$(SVXLIGHTSLOTARGET)"!=""
.IF "$(SECOND_BUILD)"!=""
.IF "$($(SECOND_BUILD)SLOTARGET)"!=""
2001-02-02 05:02:06 -06:00
$($(SECOND_BUILD)SLOTARGET): $(REAL_$(SECOND_BUILD)_SLOFILES)
2000-09-20 08:43:26 -05:00
.IF "$(MDB)" != ""
@echo $(REAL_$(SECOND_BUILD)SLOTARGET)
@echo $(&:+"\n")
.ENDIF
@echo ------------------------------
@echo Making: $@
.IF "$(GUI)"=="WNT"
@-$(TYPE) $(mktmp $(&:+"\n")) > $(MISC)$/$(TARGET).lin
$(LIBMGR) $(LIBFLAGS) /OUT:$@ @$(mktmp $(&:+"\n"))
.ENDIF # "$(GUI)"=="WNT"
.IF "$(GUI)"=="UNX"
2001-02-02 05:02:06 -06:00
+echo $(foreach,i,$(REAL_$(SECOND_BUILD)_SLOFILES:f) $(RSLO)$/$(i:s/.obj/.o/)) | xargs -n1 >> $@
2000-09-20 08:43:26 -05:00
.ENDIF # "$(GUI)"=="UNX"
.IF "$(GUI)"=="WIN"
.IF "$(COM)"=="BLC"
@+-$(RM) $@ >& $(NULLDEV)
2001-02-02 05:02:06 -06:00
$(LIBMGR) $@ $(LIBFLAGS) +$(REAL_$(SECOND_BUILD)_SLOFILES:+"\n+":^"&")
2000-09-20 08:43:26 -05:00
.ELSE # "$(COM)"=="BLC"
.ENDIF # "$(COM)"=="BLC"
.ENDIF # "$(GUI)"=="WIN"
.IF "$(GUI)"=="OS2"
@+-$(RM) $@
$(LIBMGR) $(LIBFLAGS) $@ @$(mktmp $(&:+"&\n");)
.ENDIF # "$(GUI)"=="OS2"
.ENDIF # "$($(SECOND_BUILD)SLOTARGET)"!=""
.ENDIF # "$(SECOND_BUILD)"!=""