2001-08-22 12:39:51 -05:00
|
|
|
.IF "$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)$(SRCFILES)$(SRC1FILES)$(SRC2FILES)$(SRC3FILES)$(RCFILES)$(HXX1TARGET)$(HDBDEPNTARGET)$(IDLFILES)$(PARFILES)$(ZIP1TARGET)$(ZIP2TARGET)$(ZIP3TARGET)$(ZIP4TARGET)$(ZIP5TARGET)$(ZIP6TARGET)$(ZIP7TARGET)$(ZIP8TARGET)$(ZIP9TARGET)$(COMP1TYPELIST)$(COMP2TYPELIST)$(COMP3TYPELIST)$(COMP4TYPELIST)$(COMP5TYPELIST)$(COMP6TYPELIST)$(COMP7TYPELIST)$(COMP8TYPELIST)$(COMP9TYPELIST)"!=""
|
2000-09-20 08:43:26 -05:00
|
|
|
ALLDEP .PHONY:
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@+if ( -e "$(SRS)$/$(PWD:f).*.dpr" ) +-$(RM) "$(SRS)$/$(PWD:f).*.dpr" >& $(NULLDEV)
|
|
|
|
.ELSE
|
|
|
|
@+-$(RM) $(SRS)$/$(PWD:f).*.dpr >& $(NULLDEV)
|
|
|
|
.ENDIF
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpj >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpc >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpz >& $(NULLDEV)
|
2001-08-22 12:39:51 -05:00
|
|
|
@+-$(RM) $(MISC)$/$(COMP1TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP2TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP3TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP4TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP5TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP6TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP7TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP8TYPELIST).mk >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(COMP9TYPELIST).mk >& $(NULLDEV)
|
2001-02-08 08:21:43 -06:00
|
|
|
.IF "$(DEPFILES)" != ""
|
2001-02-23 12:22:07 -06:00
|
|
|
#to keep win9x happy
|
|
|
|
.IF "$(GROUPSHELL:b:l)"=="4dos"
|
|
|
|
@+-echo $(foreach,i,$(DEPFILES) $(shell +-del $i >& $(NULLDEV))) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(GROUPSHELL:b)"=="4dos"
|
2001-04-03 04:56:27 -05:00
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
@+-echo $(foreach,i,$(DEPFILES) $(shell +-del $i >& $(NULLDEV))) >& $(NULLDEV)
|
|
|
|
.ELSE # "$(GUI)"=="WNT"
|
2001-02-08 08:21:43 -06:00
|
|
|
@+-$(RM) $(DEPFILES) >& $(NULLDEV)
|
2001-04-03 04:56:27 -05:00
|
|
|
.ENDIF # "$(GUI)"=="WNT"
|
2001-02-23 12:22:07 -06:00
|
|
|
.ENDIF # "$(GROUPSHELL:b)"=="4dos"
|
2001-02-08 08:21:43 -06:00
|
|
|
.ENDIF # "$(DEPFILES)" != ""
|
2000-09-20 08:43:26 -05:00
|
|
|
+@echo ---
|
|
|
|
+@echo Old dependency files removed
|
|
|
|
+@echo ---
|
|
|
|
|
|
|
|
|
|
|
|
ALLDPC: \
|
2001-02-02 07:01:02 -06:00
|
|
|
$(DEPFILES) \
|
2000-09-20 08:43:26 -05:00
|
|
|
$(CFILES) \
|
|
|
|
$(CXXFILES) \
|
|
|
|
$(RCFILES) \
|
|
|
|
$(IDLFILES) \
|
|
|
|
$(HDBDEPNTARGET)
|
|
|
|
.IF "$(nodep)"!=""
|
|
|
|
@echo NOT-Making: Depend-Lists
|
|
|
|
@echo ttt: ppp > $(MISC)$/$(TARGET).dpc
|
|
|
|
.ELSE
|
|
|
|
@echo Making : Dependencies
|
|
|
|
.IF "$(CFILES)$(CXXFILES)"!=""
|
|
|
|
.IF "$(SLOFILES)$(OBJFILES)$(DEPOBJFILES)"==""
|
|
|
|
@echo ++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
@echo da stimmt was nicht!!
|
|
|
|
@echo source files aber keine obj
|
|
|
|
@echo ++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
|
# @quit
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
.IF "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)$(PARFILES)"!=""
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
# @+if ( -e $(MISC)$/$(TARGET).dpr ) $(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
|
|
|
|
@+if ( -e $(MISC)$/$(TARGET).dpw ) $(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
|
2001-02-02 07:01:02 -06:00
|
|
|
@+if ( -e $(MISC)$/$(TARGET).dpj ) $(RM) $(MISC)$/$(TARGET).dpj >& $(NULLDEV)
|
2000-09-20 08:43:26 -05:00
|
|
|
@+if ( -e $(MISC)$/genjava.mk ) $(RM) $(MISC)$/genjava.mk >& $(NULLDEV)
|
|
|
|
.ELSE
|
|
|
|
# @+-if exist $(MISC)$/$(TARGET).dpr $(RM) $(MISC)$/$(TARGET).dpr >& $(NULLDEV)
|
|
|
|
@+-if exist $(MISC)$/$(TARGET).dpw $(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
|
2001-02-02 07:01:02 -06:00
|
|
|
@+-if exist $(MISC)$/$(TARGET).dpj $(RM) $(MISC)$/$(TARGET).dpj >& $(NULLDEV)
|
2000-09-20 08:43:26 -05:00
|
|
|
@+-if exist $(MISC)$/genjava.mk $(RM) $(MISC)$/genjava.mk >& $(NULLDEV)
|
|
|
|
.ENDIF
|
2001-02-08 04:17:02 -06:00
|
|
|
+$(TOUCH) $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
#.IF "$(SVXLIGHTSLOFILES)"!=""
|
|
|
|
# @+$(TYPE) $(mktmp $(foreach,i,$(SVXLIGHTSLOFILES) $(i:d:^"\n")sxl_$(i:f) : $i )) >> $(MISC)$/$(TARGET).dpc
|
|
|
|
#.ENDIF
|
|
|
|
.IF "$(SVXLIGHTOBJFILES)"!=""
|
|
|
|
@+$(TYPE) $(mktmp $(foreach,i,$(SVXLIGHTOBJFILES) $(i:d:^"\n")sxl_$(i:f) : $(i:d:s/obj/slo/)$(i:b).obj )) >> $(MISC)$/$(TARGET).dpc
|
|
|
|
.ENDIF
|
2001-02-02 07:01:02 -06:00
|
|
|
.IF "$($(SECOND_BUILD)_SLOFILES)"!=""
|
|
|
|
@+$(TYPE) $(mktmp $(foreach,i,$($(SECOND_BUILD)_SLOFILES) $(i:d:^"\n")$(SECOND_BUILD)_$(i:f) : $i )) >> $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2001-02-02 07:01:02 -06:00
|
|
|
.IF "$($(SECOND_BUILD)_OBJFILES)"!=""
|
|
|
|
@+$(TYPE) $(mktmp $(foreach,i,$($(SECOND_BUILD)_OBJFILES) $(i:d:^"\n")$(SECOND_BUILD)_$(i:f) : $(i:d:s/obj/slo/)$(i:b).obj )) >> $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
|
|
|
.IF "$(GROUP)"=="WRITER"
|
|
|
|
.IF "$(debug)"==""
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpw
|
2000-10-19 04:20:54 -05:00
|
|
|
@$(TYPE) $(MISC)$/$(TARGET).dpc | $(SED) s\#$/slo$/\#$/dso$/\# | $(SED) s\#$/obj$/\#$/dbo$/\# > $(MISC)$/$(TARGET).dpw
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
|
2000-10-19 04:20:54 -05:00
|
|
|
@$(TYPE) $(MISC)$/$(TARGET).dpc | $(SED) s#$/$/slo$/$/#$/$/dso$/$/# > $(TEMP)$/$(TARGET).dpt
|
|
|
|
@$(TYPE) $(TEMP)$/$(TARGET).dpt | $(SED) s#$/$/obj$/$/#$/$/dbo$/$/# > $(MISC)$/$(TARGET).dpw
|
2000-09-20 08:43:26 -05:00
|
|
|
@+-$(RM) $(TEMP)$/$(TARGET).dpt >& $(NULLDEV)
|
|
|
|
.ENDIF
|
|
|
|
.ELSE # "$(debug)"==""
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
@+$(COPY) $(MISC)$/$(TARGET).dpc $(MISC)$/$(TARGET).dpw
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpc
|
2000-10-19 04:20:54 -05:00
|
|
|
@$(TYPE) $(MISC)$/$(TARGET).dpw | $(SED) s\#$/dso$/\#$/slo$/\# | $(SED) s\#$/dbo$/\#$/obj$/\# > $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
.ELSE
|
|
|
|
@+$(COPY) $(MISC)$/$(TARGET).dpc $(MISC)$/$(TARGET).dpw >& $(NULLDEV)
|
|
|
|
@+-$(RM) $(MISC)$/$(TARGET).dpc >& $(NULLDEV)
|
2000-10-19 04:20:54 -05:00
|
|
|
@$(TYPE) $(MISC)$/$(TARGET).dpw | $(SED) s#$/$/dso$/$/#$/$/slo$/$/# > $(TEMP)$/$(TARGET).dpt
|
|
|
|
@$(TYPE) $(TEMP)$/$(TARGET).dpt | $(SED) s#$/$/dbo$/$/#$/$/obj$/$/# > $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
@+-$(RM) $(TEMP)$/$(TARGET).dpt >& $(NULLDEV)
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF # "$(debug)"==""
|
|
|
|
.ENDIF # "$(GROUP)"=="WRITER"
|
|
|
|
.ELSE # "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)"!=""
|
|
|
|
@echo ttt: ppp > $(MISC)$/$(TARGET).dpc
|
|
|
|
.ENDIF # "$(HDBDEPNTARGET)$(OBJFILES)$(SLOFILES)$(DEPOBJFILES)$(RCFILES)"!=""
|
|
|
|
.ENDIF # "$(nodep)"!=""
|
|
|
|
.ELSE # irgendwas abhaengiges
|
|
|
|
|
2000-10-12 05:54:47 -05:00
|
|
|
|
2000-09-20 08:43:26 -05:00
|
|
|
ALLDPC:
|
|
|
|
@echo ------------------------------
|
|
|
|
@echo No Dependencies
|
2000-10-12 05:54:47 -05:00
|
|
|
.IF "$(GUI)"=="UNX"
|
2000-10-06 09:03:01 -05:00
|
|
|
@echo "#" > $(MISC)$/$(TARGET).dpc
|
2000-09-20 08:43:26 -05:00
|
|
|
.IF "$(GROUP)"=="WRITER"
|
2000-10-06 09:03:01 -05:00
|
|
|
@echo "#" > $(MISC)$/$(TARGET).dpw
|
2000-09-20 08:43:26 -05:00
|
|
|
.ENDIF
|
2000-10-12 05:54:47 -05:00
|
|
|
.ELSE # "$(GUI)"=="UNX"
|
|
|
|
@echo # > $(MISC)$/$(TARGET).dpc
|
|
|
|
.IF "$(GROUP)"=="WRITER"
|
|
|
|
@echo # > $(MISC)$/$(TARGET).dpw
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF # "$(GUI)"=="UNX"
|
2000-09-20 08:43:26 -05:00
|
|
|
|
|
|
|
ALLDEP:
|
|
|
|
@echo ------------------------------
|
|
|
|
@echo No Dependencies
|
|
|
|
|
|
|
|
.ENDIF
|
|
|
|
|