#-- start of dependency ------------------

!if "$(QUICK)" == ""

#!if exist ("$(CMTROOT)/$(CMTBIN)/cmt.exe")
#!if [$(build_dependencies) ${CONSTITUENT} -all_sources -out:$(bin)${CONSTITUENT}_dependencies.nmake ${LINE}] == 0
#!endif
#!else
#!if [echo no cmt $(CMTROOT)/$(CMTBIN)/cmt.exe] == 0
#!endif
#!endif

dependencies : $(bin)${CONSTITUENT}_dependencies.nmake

$(bin)${CONSTITUENT}_dependencies.nmake : ${LINE} $(use_requirements) $(cmt_final_setup_${CONSTITUENT})
	$(echo) (${CONSTITUENT}.nmake) Rebuilding $@
	$(build_dependencies) ${CONSTITUENT} -all_sources -out:$@ ${LINE}

!endif

!if exist ($(bin)${CONSTITUENT}_dependencies.nmake)
!include $(bin)${CONSTITUENT}_dependencies.nmake
!endif

#-- end of dependency ------------------
