
cmt_${PACKAGE}_${ISINCLUDED} = 1
cmt_${PACKAGE}_${ISLOCAL} = 1

${PACKAGE}FullName=${PACKAGEFULLNAME}
${PACKAGE}MgrPath=${PACKAGEMGRPATH}

!if "$(LOG_LOCATION)" != ""
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
${PACKAGE}OutErr = >>$(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1
!else
!if "$(BCAST_GLOBAL)" != ""
${PACKAGE}OutErr = >>$(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1
!endif
!endif
!endif
!endif

!if "$(BCAST_ONLY)" == ""
${PACKAGE} : ${DEPENDENCIES} $(${PACKAGE}MgrPath)\NMake
!else
${PACKAGE} : $(${PACKAGE}MgrPath)\NMake
!endif
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	$(silent) type nul > $(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX)
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
!if "$(NO_ALL_GROUPS)" != ""
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) all $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \
	    $(silent)( $(Cmt_actions_handler) \
	    ( $(BCAST_CMD) %%g $(Package_failure_handler) ) ) \
	  $(${PACKAGE}OutErr)
!endif
!else
!if "$(BCAST_GLOBAL)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	$(silent) type nul > $(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX)
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
!if "$(NO_ALL_GROUPS)" != ""
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) all $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \
	    $(silent)( $(Cmt_actions_handler) \
	    ( $(BCAST_CMD) %%g $(Package_failure_handler) ) ) \
	  $(${PACKAGE}OutErr)
!endif
!else
	
!endif
!endif
!else
	
!endif

$(${PACKAGE}MgrPath)\NMake :
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	$(echo) configuring ${PACKAGE}
	$(silent) cd /d $(${PACKAGE}MgrPath) && $(cmtexe) config
!else
!if "$(BCAST_GLOBAL)" != ""
	$(echo) configuring ${PACKAGE}
	$(silent) cd /d $(${PACKAGE}MgrPath) && $(cmtexe) config
!else
	
!endif
!endif
!else
	
!endif

!if "$(BCAST_ONLY)" == ""
all :: ${PACKAGE}
clean : ${PACKAGE}clean
binclean : ${PACKAGE}binclean
uninstall : ${PACKAGE}uninstall
check : ${PACKAGE}check
!endif

${PACKAGE}clean : $(${PACKAGE}MgrPath)\NMake
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) clean $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
!if "$(BCAST_GLOBAL)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) clean $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	
!endif
!endif
!else
	
!endif

${PACKAGE}binclean : $(${PACKAGE}MgrPath)\NMake
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) binclean $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
!if "$(BCAST_GLOBAL)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) binclean $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	
!endif
!endif
!else
	
!endif

${PACKAGE}uninstall : $(${PACKAGE}MgrPath)\NMake
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) uninstall $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
!if "$(BCAST_GLOBAL)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) uninstall $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	
!endif
!endif
!else
	
!endif

${PACKAGE}check : $(${PACKAGE}MgrPath)\NMake
!if "$(cmt_${PACKAGE}_is_included)" != ""
!if "$(cmt_${PACKAGE}_is_local)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) check $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
!if "$(BCAST_GLOBAL)" != ""
	@echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------"
!if "$(LOG_LOCATION)" != ""
	@( echo "#--------------------------------------------------------------" \
	  && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \
	  && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr)
!endif
	$(silent) cd /d $(${PACKAGE}MgrPath) && \
	  ( $(BCAST_CMD) check $(Package_failure_handler) ) \
	  $(${PACKAGE}OutErr)
!else
	
!endif
!endif
!else
	
!endif

${PACKAGE} ${PACKAGE}clean ${PACKAGE}binclean ${PACKAGE}uninstall ${PACKAGE}check : FORCE
