Changeset 8715 for trunk/make
- Timestamp:
- Jun 19, 2002, 4:16:48 AM (23 years ago)
- Location:
- trunk/make
- Files:
-
- 3 edited
-
process.forwarder.mak (modified) (23 diffs)
-
setup.mak (modified) (5 diffs)
-
setup.tools.mk (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/process.forwarder.mak
r8423 r8715 1 # $Id: process.forwarder.mak,v 1. 3 2002-05-16 11:36:59bird Exp $1 # $Id: process.forwarder.mak,v 1.4 2002-06-19 02:16:08 bird Exp $ 2 2 3 3 # … … 51 51 # ----------------------------------------------------------------------------- 52 52 !ifndef BUILD_QUIET 53 !if [$(ECHO) Forwarding to another (shell) environment setup...$(CLRRST)] 54 !endif 53 ! ifndef MAKEVER 54 ! if [$(ECHO) Forwarding to another (shell) environment setup...$(CLRRST)] 55 ! endif 56 ! else 57 $(ECHO) Forwarding to another (shell) environment setup...$(CLRRST) 58 ! endif 55 59 !endif 56 60 … … 61 65 62 66 .SUFFIXES: 63 .SUFFIXES: . $(EXT_OBJ) .c .cpp .asm .$(EXT_RES) .rc .pre-c .pre-cpp # .h .def67 .SUFFIXES: .c .cpp .asm .$(EXT_OBJ) .rc .$(EXT_RES) .ii .s 64 68 65 69 66 70 # Assembling assembly source. 67 71 .asm{$(PATH_TARGET)}.$(EXT_OBJ): 72 \ 68 73 !ifndef BUILD_VERBOSE 69 74 @ \ … … 72 77 73 78 .asm.$(EXT_OBJ): 79 \ 74 80 !ifndef BUILD_VERBOSE 75 81 @ \ … … 80 86 # Compiling C++ source. 81 87 .cpp{$(PATH_TARGET)}.$(EXT_OBJ): 88 \ 82 89 !ifndef BUILD_VERBOSE 83 90 @ \ … … 86 93 87 94 .cpp.$(EXT_OBJ): 95 \ 88 96 !ifndef BUILD_VERBOSE 89 97 @ \ … … 93 101 94 102 # Pre-Compiling C++ source. 95 .cpp.pre-cpp: 103 .cpp.ii: 104 \ 105 !ifndef BUILD_VERBOSE 106 @ \ 107 !endif 108 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 109 110 111 # Compiler C++ source to assembly. 112 .cpp.s: 113 \ 96 114 !ifndef BUILD_VERBOSE 97 115 @ \ … … 102 120 # Compiling C source. 103 121 .c{$(PATH_TARGET)}.$(EXT_OBJ): 122 \ 104 123 !ifndef BUILD_VERBOSE 105 124 @ \ … … 108 127 109 128 .c.$(EXT_OBJ): 129 \ 110 130 !ifndef BUILD_VERBOSE 111 131 @ \ … … 115 135 116 136 # Pre-Compiling C source. 117 .c.pre-c: 137 .c.ii: 138 \ 139 !ifndef BUILD_VERBOSE 140 @ \ 141 !endif 142 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 143 144 145 # Compiler C source to assembly. 146 .c.s: 147 \ 118 148 !ifndef BUILD_VERBOSE 119 149 @ \ … … 124 154 # Compiling resources. 125 155 .rc{$(PATH_TARGET)}.res: 156 \ 126 157 !ifndef BUILD_VERBOSE 127 158 @ \ … … 130 161 131 162 .rc.res: 163 \ 132 164 !ifndef BUILD_VERBOSE 133 165 @ \ … … 150 182 # ----------------------------------------------------------------------------- 151 183 build: 184 \ 152 185 !ifndef BUILD_VERBOSE 153 186 @ \ … … 161 194 # ----------------------------------------------------------------------------- 162 195 lib: 196 \ 163 197 !ifndef BUILD_VERBOSE 164 198 @ \ … … 172 206 # ----------------------------------------------------------------------------- 173 207 install: 208 \ 174 209 !ifndef BUILD_VERBOSE 175 210 @ \ … … 183 218 # ----------------------------------------------------------------------------- 184 219 testcase: 220 \ 185 221 !ifndef BUILD_VERBOSE 186 222 @ \ … … 194 230 # ----------------------------------------------------------------------------- 195 231 shell: 196 !ifndef BUILD_VERBOSE 197 @ \ 198 !endif 199 -$(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(COMSPEC) 232 \ 233 !ifndef BUILD_VERBOSE 234 @ \ 235 !endif 236 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(COMSPEC) 200 237 201 238 … … 205 242 # ----------------------------------------------------------------------------- 206 243 dep: 244 \ 207 245 !ifndef BUILD_VERBOSE 208 246 @ \ … … 217 255 # ----------------------------------------------------------------------------- 218 256 clean: 257 \ 258 !ifndef BUILD_VERBOSE 259 @ \ 260 !endif 261 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 262 263 264 265 # ----------------------------------------------------------------------------- 266 # The nothing rule - Rule for testing the makefile structure. 267 # ----------------------------------------------------------------------------- 268 nothing: 269 \ 219 270 !ifndef BUILD_VERBOSE 220 271 @ \ … … 229 280 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "VDD" 230 281 $(TARGET): 282 \ 231 283 !ifndef BUILD_VERBOSE 232 284 @ \ … … 242 294 !if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB" 243 295 $(TARGET): 296 \ 244 297 !ifndef BUILD_VERBOSE 245 298 @ \ … … 265 318 !ifdef TARGET_ILIB 266 319 $(TARGET_ILIB): 320 \ 267 321 !ifndef BUILD_VERBOSE 268 322 @ \ … … 278 332 # ----------------------------------------------------------------------------- 279 333 .force: 334 \ 280 335 !ifndef BUILD_VERBOSE 281 336 @$(ECHO) . -
trunk/make/setup.mak
r8423 r8715 1 # $Id: setup.mak,v 1. 9 2002-05-16 11:37:00bird Exp $1 # $Id: setup.mak,v 1.10 2002-06-19 02:16:41 bird Exp $ 2 2 3 3 # … … 154 154 !endif 155 155 156 # 157 # A workaround for SlickEdits inability to find the buggy files.. 158 # This fixes the relative paths of includes. 159 # Set the make line to: 160 # '%v && cd %p && nmake PATH_ROOT_ABS=%rp. %n.obj -a' 161 # (NB! Set the project directory to the root dir by creating the project there!) 162 # 163 !ifdef SLKRUNS 164 ! ifdef PATH_ROOT_ABS 165 PATH_ROOT = $(PATH_ROOT_ABS) 166 ! endif 167 !endif 168 169 156 170 157 171 # ----------------------------------------------------------------------------- … … 180 194 MAKE_INCLUDE_SETUP = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)$(SHT_BLDENV).mk 181 195 !ifndef BUILD_QUIET 182 ! if [$(ECHO) Including platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP)$(CLRRST)] 196 ! ifndef MAKEVER 197 ! if [$(ECHO) Including platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP)$(CLRRST)] 198 ! endif 199 ! else 200 $(ECHO) Including platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP)$(CLRRST) 183 201 ! endif 184 202 !endif … … 260 278 MAKE_INCLUDE_SETUP_FORCE = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)$(SHT_BLDENVFRC).mk 261 279 ! ifndef BUILD_QUIET 262 ! if [$(ECHO) Including forced platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP_FORCE)$(CLRRST)] 280 ! ifndef MAKEVER 281 ! if [$(ECHO) Including forced platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP_FORCE)$(CLRRST)] 282 ! endif 283 ! else 284 $(ECHO) Including forced platform setup file $(CLRFIL)$(MAKE_INCLUDE_SETUP_FORCE)$(CLRRST) 263 285 ! endif 264 286 ! endif … … 281 303 282 304 !endif # MAKE_SETUP_INCLUDED 283 -
trunk/make/setup.tools.mk
r8423 r8715 1 # $Id: setup.tools.mk,v 1. 8 2002-05-16 11:37:05bird Exp $1 # $Id: setup.tools.mk,v 1.9 2002-06-19 02:16:48 bird Exp $ 2 2 3 3 … … 25 25 # Standard tools - may be overridden by compiler specific setupfiles. 26 26 # 27 TOOL_ECHO = @echo $(CLRTXT) 28 !ifdef MAKEVER 29 ECHO = %echo $(CLRTXT) 30 !else 27 31 ECHO = $(TOOL_ECHO) 32 !endif 28 33 TOOL_BLDLEVEL = $(PATH_TOOLS)\BldLevelInf.cmd 29 34 TOOL_BUILDENV = $(PATH_TOOLS)\BuildEnv.cmd … … 43 48 TOOL_DOMAKES = $(PATH_TOOLS)\domakes.cmd 44 49 TOOL_DOWITHDIRS = $(PATH_TOOLS)\dowithdirs.cmd 45 TOOL_ECHO = @echo $(CLRTXT)46 50 TOOL_EXISTS = $(PATH_TOOLS)\Exists.cmd 47 51 !if "$(BUILD_MULTIJOBS)" != "" … … 56 60 TOOL_MAPSYM = $(PATH_TOOLS)\MapSym.cmd $(BUILD_ENV) 57 61 TOOL_RM = rm.exe -f 62 TOOL_RMDIR = rmdir 58 63 TOOL_TYPE = type 59 64
Note:
See TracChangeset
for help on using the changeset viewer.
