Changeset 8423 for trunk/make/process.mak
- Timestamp:
- May 16, 2002, 1:37:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/process.mak
r8362 r8423 1 # $Id: process.mak,v 1.1 2 2002-05-01 04:00:17bird Exp $1 # $Id: process.mak,v 1.13 2002-05-16 11:37:00 bird Exp $ 2 2 3 3 # … … 18 18 # ----------------------------------------------------------------------------- 19 19 !if "$(MAKE_SETUP_INCLUDED)" != "YES" 20 !error Fatal error: You must include setup.mak before process.mak in the makefile. 20 ! if [$(ECHO) $(CLRERR)Fatal error: You must include setup.mak before process.mak in the makefile.$(CLRRST)] 21 ! endif 22 ! error 21 23 !endif 22 24 !if "$(ENV_STATUS)" != "OK" 23 !error Fatal error: The environment is not valid. Bad setup.mak? 24 !endif 25 26 !if "$(TARGET_NAME)" == "" 27 !error Fatal error: TARGET_NAME is not defined! Should be set in the makefile. 25 ! if [$(ECHO) $(CLRERR)Fatal error: The environment is not valid. Bad setup.mak?$(CLRRST)] 26 ! endif 27 ! error 28 !endif 29 30 !if "$(TARGET_NAME)" == "" && "$(TARGET_MODE)" != "EMPTY" 31 ! if [$(ECHO) $(CLRERR)Fatal error: TARGET_NAME is not defined! Should be set in the makefile.$(CLRRST)] 32 ! endif 33 ! error 28 34 !endif 29 35 … … 33 39 # Dynamic Load Library target mode. 34 40 ! if "$(TARGET_MODE)" != "DLL" 35 # Dynamic Load Library target mode - Special variant for making custom C/C++ runtime DLL.36 ! if "$(TARGET_MODE)" != "CRT"37 41 # Drive (/ system software) target mode. 38 ! 42 ! if "$(TARGET_MODE)" != "SYS" 39 43 # Installable File System Drive target mode. (Also called FSD, File System Driver.) 40 ! 44 ! if "$(TARGET_MODE)" != "IFS" 41 45 # Virtual Device Driver target mode. 42 ! 46 ! if "$(TARGET_MODE)" != "VDD" 43 47 # Object Library target mode. 44 ! 48 ! if "$(TARGET_MODE)" != "LIB" 45 49 # Object Library target mode - Special variant which is to be linked with a SYS target. 46 ! 50 ! if "$(TARGET_MODE)" != "SYSLIB" 47 51 # Object Library target mode - Special variant which is to be linked with an IFS target. 48 ! 52 ! if "$(TARGET_MODE)" != "IFSLIB" 49 53 # Dummy/Hub/TopLevel empty makefile. This has no target. 50 ! 51 ! error Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, CRT, EXE, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB and EMPTY.54 ! if "$(TARGET_MODE)" != "EMPTY" 55 ! if [$(ECHO) $(CLRERR)Fatal Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB and EMPTY.$(CLRRST)] 52 56 ! endif 57 ! error 53 58 ! endif 54 59 ! endif … … 74 79 # Default extension corresponds to the target mode. 75 80 !ifndef TARGET_EXT 76 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"81 ! if "$(TARGET_MODE)" == "DLL" 77 82 TARGET_EXT = $(EXT_DLL) 78 83 ! endif … … 96 101 ! endif 97 102 ! ifndef TARGET_EXT 98 !error Internal Error: TARGET_EXT not set. Probably invalid TARGET_MODE. (TARGET_MODE="$(TARGET_MODE)") 103 ! if [$(ECHO) $(CLRERR)Internal Error: TARGET_EXT not set. Probably invalid TARGET_MODE. (TARGET_MODE="$(TARGET_MODE)")$(CLRRST)] 104 ! endif 105 ! error 99 106 ! endif 100 107 !endif … … 154 161 # Default import library file. (output) 155 162 !ifndef TARGET_ILIB 156 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"163 ! if "$(TARGET_MODE)" == "DLL" 157 164 TARGET_ILIB =$(PATH_LIB)\$(TARGET_NAME).$(EXT_ILIB) 158 165 ! endif … … 169 176 TARGET_PUBNAME=$(PATH_EXE)\$(TARGET_NAME).$(TARGET_EXT) 170 177 ! endif 171 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"178 ! if "$(TARGET_MODE)" == "DLL" 172 179 TARGET_PUBNAME=$(PATH_DLL)\$(TARGET_NAME).$(TARGET_EXT) 173 180 ! endif … … 186 193 !endif 187 194 195 # Default makefile names. 196 !ifndef BUILD_MAKEFILE 197 BUILD_MAKEFILE = Makefile 198 !endif 199 188 200 # Default makefile name. 189 201 !ifndef MAKEFILE 190 MAKEFILE = makefile202 MAKEFILE = $(BUILD_MAKEFILE) 191 203 !endif 192 204 193 205 # Ignore linker warnings for some target modes. 194 206 !ifndef TARGET_IGNORE_LINKER_WARNINGS 195 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"207 ! if "$(TARGET_MODE)" == "DLL" 196 208 TARGET_IGNORE_LINKER_WARNINGS = 1 197 209 ! endif … … 233 245 ! endif 234 246 ! if [$(TOOL_CREATEPATH) $(PATH_TARGET)] 235 ! error Could not create $(PATH_TARGET) 247 ! if [$(ECHO) $(CLRERR)Error: Could not create $(CLRFIL)$(PATH_TARGET)$(CLRRST)] 248 ! endif 249 ! error 236 250 ! endif 237 251 ! endif … … 252 266 # Assembling assembly source. 253 267 .asm{$(PATH_TARGET)}.$(EXT_OBJ): 254 @$(ECHO) Assembling $(CLRFIL)$< $(CLR RST)255 ! ifndef BUILD_VERBOSE256 @ \ 257 ! endif268 @$(ECHO) Assembling $(CLRFIL)$< $(CLRTXT)$(TOOL_JOB_SUB_MSG) $(CLRRST) 269 ! ifndef BUILD_VERBOSE 270 @ \ 271 ! endif 258 272 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 259 $( AS) $(AS_FLAGS_SYS) $< $(AS_OBJ_OUT)$@273 $(TOOL_JOB_SUB) $(AS) $(AS_FLAGS_SYS) $< $(AS_OBJ_OUT)$@ 260 274 !else 261 $( AS) $(AS_FLAGS) $< $(AS_OBJ_OUT)$@275 $(TOOL_JOB_SUB) $(AS) $(AS_FLAGS) $< $(AS_OBJ_OUT)$@ 262 276 !endif 263 277 … … 276 290 # Compiling C++ source. 277 291 .cpp{$(PATH_TARGET)}.$(EXT_OBJ): 292 @$(ECHO) C++ Compiler $(CLRFIL)$< $(CLRTXT)$(TOOL_JOB_SUB_MSG) $(CLRRST) 293 !ifndef BUILD_VERBOSE 294 @ \ 295 !endif 296 $(TOOL_JOB_SUB) $(CXX) \ 297 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "LIB" 298 $(CXX_FLAGS_EXE) \ 299 !endif 300 !if "$(TARGET_MODE)" == "DLL" 301 $(CXX_FLAGS_DLL) \ 302 !endif 303 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 304 $(CXX_FLAGS_SYS) \ 305 !endif 306 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 307 $(CXX_FLAGS_IFS) \ 308 !endif 309 !if "$(CXX_LST_OUT)" != "" 310 $(CXX_LST_OUT)$(PATH_TARGET)\$(@B).s \ 311 !endif 312 $(CXX_OBJ_OUT)$@ $< 313 314 .cpp.$(EXT_OBJ): 278 315 @$(ECHO) C++ Compiler $(CLRFIL)$< $(CLRRST) 279 316 !ifndef BUILD_VERBOSE … … 284 321 $(CXX_FLAGS_EXE) \ 285 322 !endif 286 !if "$(TARGET_MODE)" == "CRT"287 $(CXX_FLAGS_CRT) \288 !endif289 323 !if "$(TARGET_MODE)" == "DLL" 290 324 $(CXX_FLAGS_DLL) \ … … 299 333 $(CXX_LST_OUT)$(PATH_TARGET)\$(@B).s \ 300 334 !endif 301 $(CXX_OBJ_OUT)$@ $< 302 303 .cpp.$(EXT_OBJ): 335 $(CXX_OBJ_OUT)$(PATH_TARGET)\$(@F) $< 336 337 338 # Pre-Compiling C++ source. 339 .cpp.pre-cpp: 304 340 @$(ECHO) C++ Compiler $(CLRFIL)$< $(CLRRST) 305 341 !ifndef BUILD_VERBOSE … … 310 346 $(CXX_FLAGS_EXE) \ 311 347 !endif 312 !if "$(TARGET_MODE)" == "CRT"313 $(CXX_FLAGS_CRT) \314 !endif315 348 !if "$(TARGET_MODE)" == "DLL" 316 349 $(CXX_FLAGS_DLL) \ … … 322 355 $(CXX_FLAGS_IFS) \ 323 356 !endif 324 !if "$(CXX_LST_OUT)" != ""325 $(CXX_LST_OUT)$(PATH_TARGET)\$(@B).s \326 !endif327 $(CXX_OBJ_OUT)$(PATH_TARGET)\$(@F) $<328 329 330 # Pre-Compiling C++ source.331 .cpp.pre-cpp:332 @$(ECHO) C++ Compiler $(CLRFIL)$< $(CLRRST)333 !ifndef BUILD_VERBOSE334 @ \335 !endif336 $(CXX) \337 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "LIB"338 $(CXX_FLAGS_EXE) \339 !endif340 !if "$(TARGET_MODE)" == "CRT"341 $(CXX_FLAGS_CRT) \342 !endif343 !if "$(TARGET_MODE)" == "DLL"344 $(CXX_FLAGS_DLL) \345 !endif346 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB"347 $(CXX_FLAGS_SYS) \348 !endif349 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB"350 $(CXX_FLAGS_IFS) \351 !endif352 357 $(CXX_PC_2_STDOUT) $< > $@ 353 358 … … 355 360 # Compiling C source. 356 361 .c{$(PATH_TARGET)}.$(EXT_OBJ): 362 @$(ECHO) C Compiler $(CLRFIL)$< $(CLRTXT)$(TOOL_JOB_SUB_MSG) $(CLRRST) 363 !ifndef BUILD_VERBOSE 364 @ \ 365 !endif 366 $(TOOL_JOB_SUB) $(CC) \ 367 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "LIB" 368 $(CC_FLAGS_EXE) \ 369 !endif 370 !if "$(TARGET_MODE)" == "DLL" 371 $(CC_FLAGS_DLL) \ 372 !endif 373 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 374 $(CC_FLAGS_SYS) \ 375 !endif 376 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 377 $(CC_FLAGS_IFS) \ 378 !endif 379 !if "$(CC_LST_OUT)" != "" 380 $(CC_LST_OUT)$(PATH_TARGET)\$(@B).s \ 381 !endif 382 $(CC_OBJ_OUT)$@ $< 383 384 .c.$(EXT_OBJ): 357 385 @$(ECHO) C Compiler $(CLRFIL)$< $(CLRRST) 358 386 !ifndef BUILD_VERBOSE … … 363 391 $(CC_FLAGS_EXE) \ 364 392 !endif 365 !if "$(TARGET_MODE)" == "CRT"366 $(CC_FLAGS_CRT) \367 !endif368 393 !if "$(TARGET_MODE)" == "DLL" 369 394 $(CC_FLAGS_DLL) \ … … 378 403 $(CC_LST_OUT)$(PATH_TARGET)\$(@B).s \ 379 404 !endif 380 $(CC_OBJ_OUT)$@ $< 381 382 .c.$(EXT_OBJ): 383 @$(ECHO) C Compiler $(CLRFIL)$< $(CLRRST) 405 $(CC_OBJ_OUT)$(PATH_TARGET)\$(@F) $< 406 407 408 # Pre-Compiling C source. 409 .c.pre-c: 410 @$(ECHO) C PreCompiler $(CLRFIL)$< $(CLRRST) 384 411 !ifndef BUILD_VERBOSE 385 412 @ \ … … 389 416 $(CC_FLAGS_EXE) \ 390 417 !endif 391 !if "$(TARGET_MODE)" == "CRT"392 $(CC_FLAGS_CRT) \393 !endif394 418 !if "$(TARGET_MODE)" == "DLL" 395 419 $(CC_FLAGS_DLL) \ … … 401 425 $(CC_FLAGS_IFS) \ 402 426 !endif 403 !if "$(CC_LST_OUT)" != ""404 $(CC_LST_OUT)$(PATH_TARGET)\$(@B).s \405 !endif406 $(CC_OBJ_OUT)$(PATH_TARGET)\$(@F) $<407 408 409 # Pre-Compiling C source.410 .c.pre-c:411 @$(ECHO) C PreCompiler $(CLRFIL)$< $(CLRRST)412 !ifndef BUILD_VERBOSE413 @ \414 !endif415 $(CC) \416 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "LIB"417 $(CC_FLAGS_EXE) \418 !endif419 !if "$(TARGET_MODE)" == "CRT"420 $(CC_FLAGS_CRT) \421 !endif422 !if "$(TARGET_MODE)" == "DLL"423 $(CC_FLAGS_DLL) \424 !endif425 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB"426 $(CC_FLAGS_SYS) \427 !endif428 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB"429 $(CC_FLAGS_IFS) \430 !endif431 427 $(CC_PC_2_STDOUT) $< > $@ 432 428 … … 434 430 # Compiling resources. 435 431 .rc{$(PATH_TARGET)}.res: 436 @$(ECHO) RC Compiler $(CLRFIL)$< $(CLR RST)437 !ifndef BUILD_VERBOSE 438 @ \ 439 !endif 440 $( RC) $(RC_FLAGS) $< $@432 @$(ECHO) RC Compiler $(CLRFIL)$< $(CLRTXT)$(TOOL_JOB_SUB_MSG)$(CLRRST) 433 !ifndef BUILD_VERBOSE 434 @ \ 435 !endif 436 $(TOOL_JOB_SUB) $(RC) $(RC_FLAGS) $< $@ 441 437 442 438 .rc.res: … … 466 462 SUBDIRS_BUILD = subbuild 467 463 $(SUBDIRS_BUILD): 468 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) build464 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) build 469 465 !endif 470 466 … … 491 487 SUBDIRS_LIB = subdir_lib 492 488 $(SUBDIRS_LIB): 493 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) lib489 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) lib 494 490 !endif 495 491 … … 500 496 !endif 501 497 502 !if "$(TARGET_ MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB"498 !if "$(TARGET_PUBLIC_PART)" != "" && ("$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB") 503 499 lib: $(SUBDIRS_LIB) $(TARGET_ILIB) $(TARGET) $(TARGET_PUBNAME) 504 500 !else … … 521 517 @$(ECHO) Installing $(CLRFIL)$(TARGET)$(CLRTXT) in directory $(CLRFIL)$(PATH_BIN)$(CLRRST) 522 518 @if not exist $(TARGET) $(ECHO) $(CLRERR)WARNING: $(CLRFIL)$(TARGET)$(CLRERR) doesn't exist. $(CLRRST) 519 @if not exist $(PATH_BIN) $(TOOL_CREATEPATH) $(PATH_BIN) 523 520 @if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_BIN) 524 521 @if exist $(TARGET_SYM) $(TOOL_COPY) $(TARGET_SYM) $(PATH_BIN) 525 522 ! endif 526 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"523 ! if "$(TARGET_MODE)" == "DLL" 527 524 @$(ECHO) Installing $(CLRFIL)$(TARGET)$(CLRTXT) in directory $(CLRFIL)$(PATH_DLL)$(CLRRST) 528 525 @if not exist $(TARGET) $(ECHO) $(CLRERR)WARNING: $(CLRFIL)$(TARGET)$(CLRERR) doesn't exist. $(CLRRST) 526 @if not exist $(PATH_DLL) $(TOOL_CREATEPATH) $(PATH_DLL) 529 527 @if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_DLL) 530 528 @if exist $(TARGET_SYM) $(TOOL_COPY) $(TARGET_SYM) $(PATH_DLL) … … 533 531 @$(ECHO) Installing $(CLRFIL)$(TARGET)$(CLRTXT) in directory $(CLRFIL)$(PATH_SYS)$(CLRRST) 534 532 @if not exist $(TARGET) $(ECHO) $(CLRERR)WARNING: $(CLRFIL)$(TARGET)$(CLRERR) doesn't exist. $(CLRRST) 533 @if not exist $(PATH_SYS) $(TOOL_CREATEPATH) $(PATH_SYS) 535 534 @if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_SYS) 536 535 @if exist $(TARGET_SYM) $(TOOL_COPY) $(TARGET_SYM) $(PATH_SYS) 537 536 ! endif 538 !if 1# these targets are either TARGET_PUBLIC or all private.537 !if 0 # these targets are either TARGET_PUBLIC or all private. 539 538 ! if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB" 540 539 @$(ECHO) Installing $(CLRFIL)$(TARGET)$(CLRTXT) in directory $(CLRFIL)$(PATH_LIB)$(CLRRST) 541 540 @if not exist $(TARGET) $(ECHO) $(CLRERR)WARNING: $(CLRFIL)$(TARGET)$(CLRERR) doesn't exist. $(CLRRST) 541 @if not exist $(PATH_LIB) $(TOOL_CREATEPATH) $(PATH_LIB) 542 542 @if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_LIB) 543 543 @if exist $(TARGET_SYM) $(TOOL_COPY) $(TARGET_SYM) $(PATH_LIB) … … 549 549 !endif 550 550 !ifdef SUBDIRS 551 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@551 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) $@ 552 552 !endif 553 553 !ifdef PREMAKEFILES … … 567 567 testcase: 568 568 !if [$(TOOL_EXISTS) testcase] == 0 569 @$(TOOL_DODIRS) "testcase" $(TOOL_MAKE) $@569 @$(TOOL_DODIRS) "testcase" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) $@ 570 570 !endif 571 571 !if [$(TOOL_EXISTS) testcase.mak] == 0 … … 573 573 !endif 574 574 !ifdef SUBDIRS 575 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@575 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) $@ 576 576 !endif 577 577 !ifdef PREMAKEFILES … … 611 611 $(TOOL_DEP_FILES) 612 612 !ifdef SUBDIRS 613 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) NODEP=1 $@613 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@ 614 614 !endif 615 615 !ifdef PREMAKEFILES … … 649 649 !endif 650 650 !ifdef SUBDIRS 651 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) $@651 @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) $@ 652 652 !endif 653 653 !ifdef PREMAKEFILES … … 663 663 # The $(TARGET) rule - For EXE, DLL, SYS and IFS targets 664 664 # ----------------------------------------------------------------------------- 665 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == " CRT" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "VDD"665 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "VDD" 666 666 $(TARGET): $(TARGET_OBJS) $(TARGET_RES) $(TARGET_DEF_LINK) $(TARGET_LNK) $(TARGET_DEPS) 667 !if "$(TOOL_JOB_WAIT)" != "" 668 ! ifndef BUILD_QUIET 669 @$(ECHO) Waiting for jobs to complete $(CLRRST) 670 ! endif 671 ! ifndef BUILD_VERBOSE 672 @ \ 673 ! endif 674 $(TOOL_JOB_WAIT) 675 !endif 667 676 @$(ECHO) Linking $(TARGET_MODE) $(CLRFIL)$@ $(CLRRST) 668 677 !ifndef BUILD_VERBOSE … … 675 684 $(LINK_CMD_EXE) 676 685 !endif 677 !if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT"686 !if "$(TARGET_MODE)" == "DLL" 678 687 $(LINK_CMD_DLL) 679 688 !endif … … 765 774 !if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB" 766 775 $(TARGET): $(TARGET_OBJS) $(TARGET_LNK) $(TARGET_DEPS) 776 !if "$(TOOL_JOB_WAIT)" != "" 777 ! ifndef BUILD_QUIET 778 @$(ECHO) Waiting for jobs to complete $(CLRRST) 779 ! endif 780 ! ifndef BUILD_VERBOSE 781 @ \ 782 ! endif 783 $(TOOL_JOB_WAIT) 784 !endif 767 785 @$(ECHO) Creating Library $(CLRFIL)$@ $(CLRRST) 768 786 !ifndef BUILD_VERBOSE … … 786 804 $(AR_LNK5) 787 805 <<KEEP 806 !ifdef BUILD_VERBOSE 807 @type $@ 808 !endif 788 809 !endif 789 810 … … 796 817 @$(ECHO) Copying $(CLRFIL)$(TARGET)$(CLRTXT) to $(CLRFIL)$(@D)$(CLRRST) 797 818 !ifndef BUILD_VERBOSE 819 @if not exist $(@D) $(ECHO) Target public path $(CLRFIL)$(@D)$(CLRTXT) does NOT exist. Creating. $(CLRRST) 820 !endif 821 @if not exist $(@D) $(TOOL_CREATEPATH) $(@D) 822 !ifndef BUILD_VERBOSE 798 823 @ \ 799 824 !endif … … 850 875 # 851 876 !if [$(TOOL_EXISTS) $(TARGET_DEPEND)] == 0 852 ! if ndef BUILD_QUIET877 ! ifdef BUILD_VERBOSE 853 878 ! if [$(ECHO) Including dependency $(CLRFIL)$(TARGET_DEPEND)$(CLRRST)] 854 879 ! endif … … 868 893 !ifdef BUILD_DEPEND1 869 894 ! if [$(TOOL_EXISTS) $(BUILD_DEPEND1)] == 0 870 ! if ndef BUILD_QUIET895 ! ifdef BUILD_VERBOSE 871 896 ! if [$(ECHO) Including dependency $(CLRFIL)$(BUILD_DEPEND1)$(CLRRST)] 872 897 ! endif … … 883 908 !ifdef BUILD_DEPEND2 884 909 ! if [$(TOOL_EXISTS) $(BUILD_DEPEND2)] == 0 885 ! if ndef BUILD_QUIET910 ! ifdef BUILD_VERBOSE 886 911 ! if [$(ECHO) Including dependency $(CLRFIL)$(BUILD_DEPEND2)$(CLRRST)] 887 912 ! endif … … 899 924 !ifdef BUILD_DEPEND3 900 925 ! if [$(TOOL_EXISTS) $(BUILD_DEPEND3)] == 0 901 ! if ndef BUILD_QUIET926 ! ifdef BUILD_VERBOSE 902 927 ! if [$(ECHO) Including dependency $(CLRFIL)$(BUILD_DEPEND3)$(CLRRST)] 903 928 ! endif … … 915 940 !endif 916 941 942 943 # 944 # If BUILD_MULTIJOBS is nonempty make sure the job daemon is up running. 945 # 946 !if "$(BUILD_MULTIJOBS)" != "" 947 ! if [$(TOOL_JOB_UP)] != 0 948 ! if "$(BUILD_QUITE)" == "" 949 ! if [$(ECHO) Starting Job Daemon With $(TOOL_JOB_WORKERS) Workers...$(CLRRST)] 950 ! endif 951 ! endif 952 ! if [$(TOOL_JOB_INIT) $(TOOL_JOB_WORKERS)] != 0 953 ! if [$(ECHO) $(CLRERR)Fatal error: Failed to start job daemon.$(CLRRST)] 954 ! endif 955 ! error 956 ! endif 957 ! endif 958 !endif 959
Note:
See TracChangeset
for help on using the changeset viewer.