Ignore:
Timestamp:
Dec 10, 2006, 8:16:02 AM (19 years ago)
Author:
bird
Message:

Implemented KBUILD_QUIET and KBUILD_VERBOSE={1|full} (was BUILD_QUIET, BUILD_VERBOSE, BUILD_DEBUG).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/VCC80AMD64.kmk

    r669 r696  
    122122ifdef VCC80AMD64_NEW_DEPS
    123123define TOOL_VCC80AMD64_COMPILE_C_CMDS
    124         $(TOOL_VCC80AMD64_CC) -c\
     124        $(QUIET)$(TOOL_VCC80AMD64_CC) -c\
    125125                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    126126                -Fd$(outbase)-obj.pdb \
     
    128128                -Fo$(obj)\
    129129                $(subst /,\\,$(call ABSPATH,$(source)))
    130         $(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
     130        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
    131131endef
    132132else
    133133define TOOL_VCC80AMD64_COMPILE_C_CMDS
    134         $(TOOL_VCC80AMD64_CC) -c\
     134        $(QUIET)$(TOOL_VCC80AMD64_CC) -c\
    135135                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    136136                -Fd$(outbase)-obj.pdb \
    137137                -Fo$(obj)\
    138138                $(subst /,\\,$(call ABSPATH,$(source)))
    139         $(TOOL_VCC80AMD64_CC) -E\
     139        $(QUIET)$(TOOL_VCC80AMD64_CC) -E\
    140140                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    141141                $(subst /,\\,$(call ABSPATH,$(source)))\
     
    163163ifdef VCC80AMD64_NEW_DEPS
    164164define TOOL_VCC80AMD64_COMPILE_CXX_CMDS
    165         $(TOOL_VCC80AMD64_CXX) -c\
     165        $(QUIET)$(TOOL_VCC80AMD64_CXX) -c\
    166166                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    167167                -Fd$(outbase)-obj.pdb \
     
    169169                -Fo$(obj)\
    170170                $(subst /,\\,$(call ABSPATH,$(source)))
    171         $(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
     171        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80AMD64_PDB,$(outbase)-obj,idb)
    172172endef
    173173else
    174174define TOOL_VCC80AMD64_COMPILE_CXX_CMDS
    175         $(TOOL_VCC80AMD64_CXX) -c\
     175        $(QUIET)$(TOOL_VCC80AMD64_CXX) -c\
    176176                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    177177                -Fd$(outbase)-obj.pdb \
    178178                -Fo$(obj)\
    179179                $(subst /,\\,$(call ABSPATH,$(source)))
    180         $(TOOL_VCC80AMD64_CXX) -E\
     180        $(QUIET)$(TOOL_VCC80AMD64_CXX) -E\
    181181                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    182182                $(subst /,\\,$(call ABSPATH,$(source)))\
     
    203203TOOL_VCC80AMD64_COMPILE_RC_DEPORD =
    204204define TOOL_VCC80AMD64_COMPILE_RC_CMDS
    205         $(TOOL_VCC80AMD64_RC) \
     205        $(QUIET)$(TOOL_VCC80AMD64_RC) \
    206206                $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
    207207                /fo$(obj)\
     
    224224TOOL_VCC80AMD64_LINK_LIBRARY_DEPORD =
    225225define TOOL_VCC80AMD64_LINK_LIBRARY_CMDS
    226         $(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
     226        $(QUIET)$(TOOL_VCC80AMD64_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
    227227                $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def))
    228228endef
     
    247247TOOL_VCC80AMD64_LINK_PROGRAM_DEPORD =
    248248define TOOL_VCC80AMD64_LINK_PROGRAM_CMDS
    249         $(TOOL_VCC80AMD64_LD) $(flags) \
     249        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
    250250                /OUT:$(out) \
    251251                /MAPINFO:EXPORTS /INCREMENTAL:NO \
     
    256256                $(subst /,\\,$(objs)) \
    257257                $(subst /,\\,$(libs))
    258         if test -f $(out).manifest; then \
     258        $(QUIET)if test -f $(out).manifest; then \
    259259                $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out)); \
    260260        fi
     
    280280TOOL_VCC80AMD64_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB))
    281281define TOOL_VCC80AMD64_LINK_DLL_CMDS
    282         $(TOOL_VCC80AMD64_LD) $(flags) \
     282        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
    283283                /OUT:$(out) \
    284284                /IMPLIB:$(outbase).lib \
     
    291291                $(subst /,\\,$(objs)) \
    292292                $(subst /,\\,$(libs))
    293         if test -f $(out).manifest; then \
     293        $(QUIET)if test -f $(out).manifest; then \
    294294                $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    295295        fi
    296296ifeq ($(filter %.exp .def,$(othersrc)),)
    297         if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
    298         if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
     297        $(QUIET)if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
     298        $(QUIET)if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
    299299endif
    300300$(eval _DIRS += $(PATH_LIB))
     
    320320TOOL_VCC80AMD64_LINK_SYSMOD_DEPORD =
    321321define TOOL_VCC80AMD64_LINK_SYSMOD_CMDS
    322         $(TOOL_VCC80AMD64_LD) $(flags) \
     322        $(QUIET)$(TOOL_VCC80AMD64_LD) $(flags) \
    323323                /OUT:$(out) \
    324324                /MAPINFO:EXPORTS /INCREMENTAL:NO \
     
    329329                $(subst /,\\,$(objs)) \
    330330                $(subst /,\\,$(libs))
    331         if test -f $(out).manifest; then \
     331        $(QUIET)if test -f $(out).manifest; then \
    332332                $(TOOL_VCC80AMD64_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    333333        fi
Note: See TracChangeset for help on using the changeset viewer.