cmt_${PACKAGE}_${ISLOCAL} = 1 ${PACKAGE}FullName=${PACKAGEFULLNAME} ${PACKAGE}MgrPath=${PACKAGEMGRPATH} !if "$(LOG_LOCATION)" != "" !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 !if "$(BCAST_ONLY)" == "" ${PACKAGE} : ${DEPENDENCIES} $(${PACKAGE}MgrPath)\NMake !else ${PACKAGE} : $(${PACKAGE}MgrPath)\NMake !endif !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}OutErr) !else $(silent) cd /d $(${PACKAGE}MgrPath) && \ $(BCAST_CMD) all $(${PACKAGE}OutErr) \ $(Package_failure_handler) $(silent) cd /d $(${PACKAGE}MgrPath) && \ for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \ $(silent)( ($(Cmt_actions_handler) \ $(BCAST_CMD) %%g $(${PACKAGE}OutErr)) \ $(Package_failure_handler) ) !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}OutErr) !else $(silent) cd /d $(${PACKAGE}MgrPath) && \ $(BCAST_CMD) all $(${PACKAGE}OutErr) \ $(Package_failure_handler) $(silent) cd /d $(${PACKAGE}MgrPath) && \ for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \ $(silent)( ($(Cmt_actions_handler) \ $(BCAST_CMD) %%g $(${PACKAGE}OutErr)) \ $(Package_failure_handler) ) !endif !else !endif !endif $(${PACKAGE}MgrPath)\NMake : !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 !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_local)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) clean !else !if "$(BCAST_GLOBAL)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) clean !else !endif !endif ${PACKAGE}binclean : $(${PACKAGE}MgrPath)\NMake !if "$(cmt_${PACKAGE}_is_local)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) binclean !else !if "$(BCAST_GLOBAL)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) binclean !else !endif !endif ${PACKAGE}uninstall : $(${PACKAGE}MgrPath)\NMake !if "$(cmt_${PACKAGE}_is_local)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) uninstall !else !if "$(BCAST_GLOBAL)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) uninstall !else !endif !endif ${PACKAGE}check : $(${PACKAGE}MgrPath)\NMake !if "$(cmt_${PACKAGE}_is_local)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) check !else !if "$(BCAST_GLOBAL)" != "" @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) check !else !endif !endif ${PACKAGE} ${PACKAGE}clean ${PACKAGE}binclean ${PACKAGE}uninstall ${PACKAGE}check : FORCE