[595] | 1 | |
---|
| 2 | cmt_${PACKAGE}_${ISLOCAL} = 1 |
---|
| 3 | |
---|
| 4 | ${PACKAGE}FullName=${PACKAGEFULLNAME} |
---|
| 5 | ${PACKAGE}MgrPath=${PACKAGEMGRPATH} |
---|
| 6 | |
---|
| 7 | !if "$(LOG_LOCATION)" != "" |
---|
| 8 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 9 | ${PACKAGE}OutErr = >>$(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1 |
---|
| 10 | !else |
---|
| 11 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 12 | ${PACKAGE}OutErr = >>$(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) 2>&1 |
---|
| 13 | !endif |
---|
| 14 | !endif |
---|
| 15 | !endif |
---|
| 16 | |
---|
| 17 | !if "$(BCAST_ONLY)" == "" |
---|
| 18 | ${PACKAGE} : ${DEPENDENCIES} $(${PACKAGE}MgrPath)\NMake |
---|
| 19 | !else |
---|
| 20 | ${PACKAGE} : $(${PACKAGE}MgrPath)\NMake |
---|
| 21 | !endif |
---|
| 22 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 23 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 24 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 25 | && echo "#--------------------------------------------------------------" |
---|
| 26 | !if "$(LOG_LOCATION)" != "" |
---|
| 27 | $(silent) type nul > $(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) |
---|
| 28 | @( echo "#--------------------------------------------------------------" \ |
---|
[599] | 29 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 30 | && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr) |
---|
| 31 | !endif |
---|
| 32 | !if "$(NO_ALL_GROUPS)" != "" |
---|
| 33 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(${PACKAGE}OutErr) |
---|
| 34 | !else |
---|
| 35 | $(silent) cd /d $(${PACKAGE}MgrPath) && \ |
---|
| 36 | $(BCAST_CMD) all $(${PACKAGE}OutErr) \ |
---|
| 37 | $(Package_failure_handler) |
---|
| 38 | $(silent) cd /d $(${PACKAGE}MgrPath) && \ |
---|
| 39 | for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \ |
---|
| 40 | $(silent)( ($(Cmt_actions_handler) \ |
---|
| 41 | $(BCAST_CMD) %%g $(${PACKAGE}OutErr)) \ |
---|
| 42 | $(Package_failure_handler) ) |
---|
| 43 | !endif |
---|
| 44 | !else |
---|
| 45 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 46 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 47 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 48 | && echo "#--------------------------------------------------------------" |
---|
| 49 | !if "$(LOG_LOCATION)" != "" |
---|
| 50 | $(silent) type nul > $(LOG_LOCATION)\$(${PACKAGE}FullName)$(LOG_SUFFIX) |
---|
| 51 | @( echo "#--------------------------------------------------------------" \ |
---|
[599] | 52 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD)] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 53 | && echo "#--------------------------------------------------------------" ) $(${PACKAGE}OutErr) |
---|
| 54 | !endif |
---|
| 55 | !if "$(NO_ALL_GROUPS)" != "" |
---|
| 56 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) $(${PACKAGE}OutErr) |
---|
| 57 | !else |
---|
| 58 | $(silent) cd /d $(${PACKAGE}MgrPath) && \ |
---|
| 59 | $(BCAST_CMD) all $(${PACKAGE}OutErr) \ |
---|
| 60 | $(Package_failure_handler) |
---|
| 61 | $(silent) cd /d $(${PACKAGE}MgrPath) && \ |
---|
| 62 | for /F "usebackq" %%g in (`$(cmtexe) show groups`) do \ |
---|
| 63 | $(silent)( ($(Cmt_actions_handler) \ |
---|
| 64 | $(BCAST_CMD) %%g $(${PACKAGE}OutErr)) \ |
---|
| 65 | $(Package_failure_handler) ) |
---|
| 66 | !endif |
---|
| 67 | !else |
---|
| 68 | |
---|
| 69 | !endif |
---|
| 70 | !endif |
---|
| 71 | |
---|
| 72 | $(${PACKAGE}MgrPath)\NMake : |
---|
| 73 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 74 | $(echo) configuring ${PACKAGE} |
---|
| 75 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(cmtexe) config |
---|
| 76 | !else |
---|
| 77 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 78 | $(echo) configuring ${PACKAGE} |
---|
| 79 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(cmtexe) config |
---|
| 80 | !else |
---|
| 81 | |
---|
| 82 | !endif |
---|
| 83 | !endif |
---|
| 84 | |
---|
| 85 | !if "$(BCAST_ONLY)" == "" |
---|
| 86 | all :: ${PACKAGE} |
---|
| 87 | clean : ${PACKAGE}clean |
---|
| 88 | binclean : ${PACKAGE}binclean |
---|
| 89 | uninstall : ${PACKAGE}uninstall |
---|
| 90 | check : ${PACKAGE}check |
---|
| 91 | !endif |
---|
| 92 | |
---|
| 93 | ${PACKAGE}clean : $(${PACKAGE}MgrPath)\NMake |
---|
| 94 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 95 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 96 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 97 | && echo "#--------------------------------------------------------------" |
---|
| 98 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) clean |
---|
| 99 | !else |
---|
| 100 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 101 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 102 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) clean] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 103 | && echo "#--------------------------------------------------------------" |
---|
| 104 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) clean |
---|
| 105 | !else |
---|
| 106 | |
---|
| 107 | !endif |
---|
| 108 | !endif |
---|
| 109 | |
---|
| 110 | ${PACKAGE}binclean : $(${PACKAGE}MgrPath)\NMake |
---|
| 111 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 112 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 113 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 114 | && echo "#--------------------------------------------------------------" |
---|
| 115 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) binclean |
---|
| 116 | !else |
---|
| 117 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 118 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 119 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) binclean] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 120 | && echo "#--------------------------------------------------------------" |
---|
| 121 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) binclean |
---|
| 122 | !else |
---|
| 123 | |
---|
| 124 | !endif |
---|
| 125 | !endif |
---|
| 126 | |
---|
| 127 | ${PACKAGE}uninstall : $(${PACKAGE}MgrPath)\NMake |
---|
| 128 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 129 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 130 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 131 | && echo "#--------------------------------------------------------------" |
---|
| 132 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) uninstall |
---|
| 133 | !else |
---|
| 134 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 135 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 136 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) uninstall] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 137 | && echo "#--------------------------------------------------------------" |
---|
| 138 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) uninstall |
---|
| 139 | !else |
---|
| 140 | |
---|
| 141 | !endif |
---|
| 142 | !endif |
---|
| 143 | |
---|
| 144 | ${PACKAGE}check : $(${PACKAGE}MgrPath)\NMake |
---|
| 145 | !if "$(cmt_${PACKAGE}_is_local)" != "" |
---|
| 146 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 147 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 148 | && echo "#--------------------------------------------------------------" |
---|
| 149 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) check |
---|
| 150 | !else |
---|
| 151 | !if "$(BCAST_GLOBAL)" != "" |
---|
| 152 | @echo "#--------------------------------------------------------------" \ |
---|
[599] | 153 | && echo "# ${PACKAGE} $(${PACKAGEPREFIX}VERSION) $(${PACKAGE}_offset): Now trying [$(BCAST_CMD) check] in $(${PACKAGE}MgrPath)" \ |
---|
[595] | 154 | && echo "#--------------------------------------------------------------" |
---|
| 155 | $(silent) cd /d $(${PACKAGE}MgrPath) && $(BCAST_CMD) check |
---|
| 156 | !else |
---|
| 157 | |
---|
| 158 | !endif |
---|
| 159 | !endif |
---|
| 160 | |
---|
| 161 | ${PACKAGE} ${PACKAGE}clean ${PACKAGE}binclean ${PACKAGE}uninstall ${PACKAGE}check : FORCE |
---|