INTEGRATION: CWS vq12 (1.34.74); FILE MERGED

2005/02/20 18:09:44 vq 1.34.74.1: #i29609# Use $(IFEXIST) and $(THEN) macros to use the correct syntax
for W32-4nt or W32-tcsh.
This commit is contained in:
Oliver Bolte 2005-03-18 09:12:55 +00:00
parent 7f6039b81c
commit 8f7b05a6b9

View file

@ -78,7 +78,7 @@ $(OBJ)$/sxl_%.obj : %.cxx
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
+if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
.ELSE
@+if exist $@ $(RM) /q $@ >& $(NULLDEV)
@+$(IFEXIST) $@ $(THEN) $(RM) $@ >& $(NULLDEV)
$(CXX) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
.ENDIF
@ -99,7 +99,7 @@ $(SLO)$/sxl_%.obj : %.cxx
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
+if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
.ELSE
@+if exist $@ $(RM) /q $@ >& $(NULLDEV)
@+$(IFEXIST) $@ $(THEN) $(RM) $@ >& $(NULLDEV)
$(CXX) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSSLO) $(CDEFS) $(SVXLIGHTDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(SLO)$/sxl_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
.ENDIF
@ -126,7 +126,7 @@ $(OBJ)$/$(SECOND_BUILD)_%.obj : %.cxx
.ENDIF # "$(OS)"=="SOLARIS" && "$(product)"=="full" && "$(debug)"==""
+if ( -e $(@:s/.obj/.o/)) $(TOUCH) $@
.ELSE
@+if exist $@ $(RM) /q $@ >& $(NULLDEV)
@+$(IFEXIST) $@ $(THEN) $(RM) $@ >& $(NULLDEV)
$(CXX) $(CFLAGS) $(CFLAGSCXX) $(CFLAGSOBJ) $(CDEFS) $($(SECOND_BUILD)CDEFS) $(CDEFSOBJ) $(CFLAGSAPPEND) $(CFLAGSOUTOBJ)$(OBJ)$/$(SECOND_BUILD)_$*.obj $(CFLAGSINCXX)$(PWD)$/$*.cxx
.ENDIF