Changeset 8076
- Timestamp:
 - Mar 10, 2002, 6:24:33 AM (24 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  branches/splittup/tools/make/process.mak (modified) (10 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
branches/splittup/tools/make/process.mak
r8037 r8076 1 # $Id: process.mak,v 1.1.2. 1 2002-03-06 02:15:10bird Exp $1 # $Id: process.mak,v 1.1.2.2 2002-03-10 05:24:33 bird Exp $ 2 2 3 3 # … … 62 62 TARGET_EXT=$(EXT_LIB) 63 63 !endif 64 !if "$(TARGET_MODE)" == "EMPTY" 65 TARGET_EXT=empty 66 !endif 64 67 !ifndef TARGET_EXT 65 68 !error Error: TARGET_EXT not set … … 81 84 82 85 !ifndef TARGET_STACKSIZE 86 # check if 16-bit target compiler 87 ! if "$(BUILD_ENV)" == "MSCV6" 88 TARGET_STACKSIZE=0x2000 89 ! else 83 90 TARGET_STACKSIZE=0x10000 91 ! endif 84 92 !endif 85 93 … … 270 278 !ifdef SUBDIRS 271 279 SUBDIRS_BUILD = subbuild 272 $(SUBDIRS_BUILD): $(MAKEFILE)280 $(SUBDIRS_BUILD): 273 281 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) build 274 282 !endif 275 build: $(SUBDIRS_BUILD) $(TARGET) $(TARGET_ILIB) $(TARGET_PUBLIB) 283 284 !ifdef PREMAKEFILES 285 PREMAKEFILES_BUILD = premakefiles_build 286 $(PREMAKEFILES_BUILD): 287 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) build 288 !endif 289 290 build: $(SUBDIRS_BUILD) $(PREMAKEFILES_BUILD) $(TARGET) $(TARGET_ILIB) $(TARGET_PUBLIB) 276 291 @$(ECHO) Successfully Built $(CLRFIL)$(TARGET) $(TARGET_ILIB)$(CLRRST) 277 292 !ifdef POSTMAKEFILES … … 285 300 !ifdef SUBDIRS 286 301 SUBDIRS_LIB = subdir_lib 287 $(SUBDIRS_LIB): $(MAKEFILE)302 $(SUBDIRS_LIB): 288 303 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) lib 289 304 !endif 290 305 291 lib: $(SUBDIRS_LIB) $(TARGET_ILIB) $(TARGET_PUBLIB) 306 !ifdef PREMAKEFILES 307 PREMAKEFILES_LIB = premakefiles_lib 308 $(PREMAKEFILES_LIB): 309 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) lib 310 !endif 311 312 lib: $(SUBDIRS_LIB) $(TARGET_ILIB) $(TARGET_PUBLIB) 292 313 !ifdef POSTMAKEFILES 293 314 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@ … … 317 338 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@ 318 339 !endif 340 !ifdef PREMAKEFILES 341 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) $@ 342 !endif 319 343 !ifdef POSTMAKEFILES 320 344 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@ … … 332 356 @$(TOOL_DOMAKES) "testcase.mak" $(TOOL_MAKE) $@ 333 357 !endif 358 !ifdef SUBDIRS 359 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@ 360 !endif 361 !ifdef PREMAKEFILES 362 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) $@ 363 !endif 364 !ifdef POSTMAKEFILES 365 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@ 366 !endif 334 367 335 368 … … 339 372 dep: 340 373 @$(ECHO) Building dependencies $(CLRRST) 341 $(TOOL_DEP) $(TOOL_DEP_FLAGS) -o$$(PATH_TARGET) -d$(BUILD_TARGET_DEPEND) $(TOOL_DEP_FILES)374 @$(TOOL_DEP) $(TOOL_DEP_FLAGS) -o$$(PATH_TARGET) -d$(BUILD_TARGET_DEPEND) $(TOOL_DEP_FILES) 342 375 !ifdef SUBDIRS 343 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@ 376 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) NODEP=1 $@ 377 !endif 378 !ifdef PREMAKEFILES 379 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) NODEP=1 $@ 344 380 !endif 345 381 !ifdef POSTMAKEFILES 346 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@382 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) NODEP=1 $@ 347 383 !endif 348 384 … … 384 420 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@ 385 421 !endif 422 !ifdef PREMAKEFILES 423 @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) $@ 424 !endif 386 425 !ifdef POSTMAKEFILES 387 426 @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@ … … 475 514 # read dependency file from current directory 476 515 # 477 !if [$(TOOL_EXISTS) $(BUILD_TARGET_DEPEND)] == 0 478 ! if [$(ECHO) Including dependency $(CLRFIL)$(BUILD_TARGET_DEPEND)$(CLRRST)] 479 ! endif 480 ! include $(BUILD_TARGET_DEPEND) 481 !else 482 ! if [$(ECHO) $(CLRERR)WARNING: Please make dependencies first. $(BUILD_TARGET_DEPEND) is missing.$(CLRRST)] 516 !if "$(TARGET_MODE)" != "EMPTY" 517 ! if [$(TOOL_EXISTS) $(BUILD_TARGET_DEPEND)] == 0 518 ! if [$(ECHO) Including dependency $(CLRFIL)$(BUILD_TARGET_DEPEND)$(CLRRST)] 519 ! endif 520 ! include $(BUILD_TARGET_DEPEND) 521 ! else 522 ! ifndef NODEP 523 ! if [$(ECHO) $(CLRERR)WARNING: Please make dependencies first. $(BUILD_TARGET_DEPEND) is missing.$(CLRRST)] 524 ! endif 525 ! endif 483 526 ! endif 484 527 !endif  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  