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/VCC80.kmk

    r677 r696  
    140140ifdef VCC80_NEW_DEPS
    141141define TOOL_VCC80_COMPILE_C_CMDS
    142         $(TOOL_VCC80_CC) -c\
     142        $(QUIET)$(TOOL_VCC80_CC) -c\
    143143                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    144144                -Fd$(outbase)-obj.pdb \
     
    146146                -Fo$(obj)\
    147147                $(subst /,\\,$(call ABSPATH,$(source)))
    148         $(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
     148        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
    149149endef
    150150else
    151151define TOOL_VCC80_COMPILE_C_CMDS
    152         $(TOOL_VCC80_CC) -c\
     152        $(QUIET)$(TOOL_VCC80_CC) -c\
    153153                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    154154                -Fd$(outbase)-obj.pdb \
    155155                -Fo$(obj)\
    156156                $(subst /,\\,$(call ABSPATH,$(source)))
    157         $(TOOL_VCC80_CC) -E\
     157        $(QUIET)$(TOOL_VCC80_CC) -E\
    158158                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    159159                $(subst /,\\,$(call ABSPATH,$(source)))\
     
    181181ifdef VCC80_NEW_DEPS
    182182define TOOL_VCC80_COMPILE_CXX_CMDS
    183         $(TOOL_VCC80_CXX) -c\
     183        $(QUIET)$(TOOL_VCC80_CXX) -c\
    184184                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    185185                -Fd$(outbase)-obj.pdb \
     
    187187                -Fo$(obj)\
    188188                $(subst /,\\,$(call ABSPATH,$(source)))
    189         $(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
     189        $(QUIET)$(DEP_IDB) -f -s -o $(dep) -t $(obj) $(call TOOL_VCC80_PDB,$(outbase)-obj,idb)
    190190endef
    191191else
    192192define TOOL_VCC80_COMPILE_CXX_CMDS
    193         $(TOOL_VCC80_CXX) -c\
     193        $(QUIET)$(TOOL_VCC80_CXX) -c\
    194194                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    195195                -Fd$(outbase)-obj.pdb \
    196196                -Fo$(obj)\
    197197                $(subst /,\\,$(call ABSPATH,$(source)))
    198         $(TOOL_VCC80_CXX) -E\
     198        $(QUIET)$(TOOL_VCC80_CXX) -E\
    199199                $(flags) $(addprefix -I, $(incs)) $(addprefix -D, $(defs))\
    200200                $(subst /,\\,$(call ABSPATH,$(source)))\
     
    221221TOOL_VCC80_COMPILE_RC_DEPORD =
    222222define TOOL_VCC80_COMPILE_RC_CMDS
    223         $(TOOL_VCC80_RC) \
     223        $(QUIET)$(TOOL_VCC80_RC) \
    224224                $(flags) $(addprefix /i, $(subst /,\\,$(incs))) $(addprefix /d, $(defs))\
    225225                /fo$(obj)\
     
    242242TOOL_VCC80_LINK_LIBRARY_DEPORD =
    243243define TOOL_VCC80_LINK_LIBRARY_CMDS
    244         $(TOOL_VCC80_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
     244        $(QUIET)$(TOOL_VCC80_AR) $(flags) /OUT:$(out) $(subst /,\\,$(objs) $(filter %.a %.lib,$(othersrc))) \
    245245                $(foreach def,$(filter %.def,$(othersrc)), /DEF:$(def))
    246246endef
     
    265265TOOL_VCC80_LINK_PROGRAM_DEPORD =
    266266define TOOL_VCC80_LINK_PROGRAM_CMDS
    267         $(TOOL_VCC80_LD) $(flags) \
     267        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
    268268                /OUT:$(out) \
    269269                /MAPINFO:EXPORTS /INCREMENTAL:NO \
     
    274274                $(subst /,\\,$(objs)) \
    275275                $(subst /,\\,$(libs))
    276         if test -f $(out).manifest; then \
     276        $(QUIET)if test -f $(out).manifest; then \
    277277                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest -outputresource:$(subst /,\\,$(out)); \
    278278        fi
     
    298298TOOL_VCC80_LINK_DLL_DEPORD = $(call DIRDEP,$(PATH_LIB))
    299299define TOOL_VCC80_LINK_DLL_CMDS
    300         $(TOOL_VCC80_LD) $(flags) \
     300        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
    301301                /OUT:$(out) \
    302302                /IMPLIB:$(outbase).lib \
     
    309309                $(subst /,\\,$(objs)) \
    310310                $(subst /,\\,$(libs))
    311         if test -f $(out).manifest; then \
     311        $(QUIET)if test -f $(out).manifest; then \
    312312                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    313313        fi
    314314ifeq ($(filter %.exp .def,$(othersrc)),)
    315         if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
    316         if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
     315        $(QUIET)if test -f $(outbase).exp; then $(CP_EXT) $(outbase).exp $(PATH_LIB)/; fi
     316        $(QUIET)if test -f $(outbase).lib; then $(CP_EXT) $(outbase).lib $(PATH_LIB)/; fi
    317317endif
    318318$(eval _DIRS += $(PATH_LIB))
     
    338338TOOL_VCC80_LINK_SYSMOD_DEPORD =
    339339define TOOL_VCC80_LINK_SYSMOD_CMDS
    340         $(TOOL_VCC80_LD) $(flags) \
     340        $(QUIET)$(TOOL_VCC80_LD) $(flags) \
    341341                /OUT:$(out) \
    342342                /MAPINFO:EXPORTS /INCREMENTAL:NO \
     
    347347                $(subst /,\\,$(objs)) \
    348348                $(subst /,\\,$(libs))
    349         if test -f $(out).manifest; then \
     349        $(QUIET)if test -f $(out).manifest; then \
    350350                $(TOOL_VCC80_MT) -manifest $(subst /,\\,$(out)).manifest "-outputresource:$(subst /,\\,$(out));#2"; \
    351351        fi
Note: See TracChangeset for help on using the changeset viewer.