cmt_${PACKAGE}_${ISINCLUDED} = 1 cmt_${PACKAGE}_${ISLOCAL} = 1 ${PACKAGE}FullName=${PACKAGEFULLNAME} ${PACKAGE}MgrPath=${PACKAGEMGRPATH} ifdef LOG_LOCATION ifdef cmt_${PACKAGE}_is_included ifdef cmt_${PACKAGE}_is_local ${PACKAGE}OutErr = >>$(LOG_LOCATION)/$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1 else ifdef BCAST_GLOBAL ${PACKAGE}OutErr = >>$(LOG_LOCATION)/$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1 endif endif endif endif ifndef BCAST_ONLY ${PACKAGE} : ${DEPENDENCIES} $(${PACKAGE}MgrPath)/Makefile else ${PACKAGE} : $(${PACKAGE}MgrPath)/Makefile endif ifdef cmt_${PACKAGE}_is_included ifdef cmt_${PACKAGE}_is_local @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" ifdef LOG_LOCATION $(silent) > $(LOG_LOCATION)/$(${PACKAGE}FullName)$(LOG_SUFFIX) @{ echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr) endif ifdef NO_ALL_GROUPS +$(silent) cd $(${PACKAGE}MgrPath) && \ { $(BCAST_CMD) $(Package_failure_handler); } \ $(${PACKAGE}OutErr) else +$(silent) cd $(${PACKAGE}MgrPath) && \ for group in all $$($(cmtexe) show groups); do \ $(Cmt_actions_handler) \ $(BCAST_CMD) $$group $(Package_failure_handler) ; \ done $(${PACKAGE}OutErr) endif else ifdef BCAST_GLOBAL @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" ifdef LOG_LOCATION $(silent) > $(LOG_LOCATION)/$(${PACKAGE}FullName)$(LOG_SUFFIX) @{ echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr) endif ifdef NO_ALL_GROUPS +$(silent) cd $(${PACKAGE}MgrPath) && \ { $(BCAST_CMD) $(Package_failure_handler); } \ $(${PACKAGE}OutErr) else +$(silent) cd $(${PACKAGE}MgrPath) && \ for group in all $$($(cmtexe) show groups); do \ $(Cmt_actions_handler) \ $(BCAST_CMD) $$group $(Package_failure_handler) ; \ done $(${PACKAGE}OutErr) endif else endif endif else endif $(${PACKAGE}MgrPath)/Makefile : ifdef cmt_${PACKAGE}_is_included ifdef cmt_${PACKAGE}_is_local $(echo) configuring ${PACKAGE} +$(silent) cd $(${PACKAGE}MgrPath) && $(cmtexe) config else ifdef BCAST_GLOBAL $(echo) configuring ${PACKAGE} +$(silent) cd $(${PACKAGE}MgrPath) && $(cmtexe) config else endif endif else endif ifndef BCAST_ONLY all : ${PACKAGE} clean : ${PACKAGE}clean binclean : ${PACKAGE}binclean uninstall : ${PACKAGE}uninstall check : ${PACKAGE}check endif ${PACKAGE}clean ${PACKAGE}binclean ${PACKAGE}uninstall ${PACKAGE}check : $(${PACKAGE}MgrPath)/Makefile ifdef cmt_${PACKAGE}_is_included ifdef cmt_${PACKAGE}_is_local @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" ifdef LOG_LOCATION @{ echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr) endif +$(silent) cd $(${PACKAGE}MgrPath) && \ { $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@) $(Package_failure_handler); } \ $(${PACKAGE}OutErr) else ifdef BCAST_GLOBAL @echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------" ifdef LOG_LOCATION @{ echo "#--------------------------------------------------------------" \ && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@)] in $(${PACKAGE}MgrPath)" \ && echo "#--------------------------------------------------------------"; } $(${PACKAGE}OutErr) endif +$(silent) cd $(${PACKAGE}MgrPath) && \ { $(BCAST_CMD) $(patsubst ${PACKAGE}%,%,$@) $(Package_failure_handler); } \ $(${PACKAGE}OutErr) else endif endif else endif ${PACKAGE} ${PACKAGE}clean ${PACKAGE}binclean ${PACKAGE}uninstall ${PACKAGE}check : FORCE