VirtualBox

Changeset 890 in kBuild


Ignore:
Timestamp:
May 2, 2007 11:27:22 PM (18 years ago)
Author:
bird
Message:

Applied a message patch.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r889 r890  
    813813 # @param 4     The source type (CXX,C,AS,RC,++).
    814814 MSG_COMPILE  ?= $(call MSG_L1,Compiling $1 - $2,=> $3)
     815 ## Tool
     816 # @param 1     The tool name (bin2c,...)
     817 # @param 2     Target name.
     818 # @param 3     The source filename.
     819 # @param 4     The primary output file name.
     820 MSG_TOOL     ?= $(call MSG_L1,$1 $2 - $3,=> $4)
     821 ## Generate a file, typically a source file.
     822 # @param 1     Target name if applicable.
     823 # @param 2     Output file name.
     824 # @param 3     What it's generated from
     825 MSG_GENERATE ?= $(call MSG_L1,Generating $(if $1,$1 - )$2,$(if $3,from $3))
    815826 ## Linking a bldprog/dll/program/sysmod target.
    816827 # @param 1     Target name.
  • trunk/kBuild/msgstyles/brief.kmk

    r844 r890  
    2727# Indent the messages, drop the kBuild: prefix, and shorten paths.
    2828ifndef KBUILD_VERBOSE
    29  MSG_L1 ?= @$(ECHO) "  $(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1))))"
     29 MSG_L1 ?= @$(PRINTF) "  %-8s%s" "$(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1))))"
     30 MSG_L1 ?= @$(PRINTF) "  %-8s%s\n" \
     31        "$(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1))))" \
     32        "$(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$2))))"
    3033else
    3134 MSG_L1 ?= @$(ECHO) "  $(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1 $2))))"
     
    3538## Fetch starting.
    3639# @param 1     Target name.
    37 MSG_FETCH    ?= $(call MSG_L1,FTCH $1...)
     40MSG_FETCH    ?= $(call MSG_L1,FTCH,$1...)
    3841## Re-fetch starting.
    3942# @param 1     Target name.
    40 MSG_REFETCH  ?= $(call MSG_L1,RFTCH $1...)
     43MSG_REFETCH  ?= $(call MSG_L1,RFTCH,$1...)
    4144## Downloading a fetch component.
    4245# @param 1     Target name.
    4346# @param 2     The source URL.
    4447# @param 3     The destination file name.
    45 MSG_FETCH_DL ?= $(call MSG_L1,GET  $1 - $2,=> $3)
     48MSG_FETCH_DL ?= $(call MSG_L1,GET,$1 - $2,=> $3)
    4649## Checking a fetch component.
    4750# @param 1     Target name.
    4851# @param 2     The source URL.
    4952# @param 3     The destination file name.
    50 MSG_FETCH_CHK?= $(call MSG_L1,CHK  $1 - $3, ($2))
     53MSG_FETCH_CHK?= $(call MSG_L1,CHK,$1 - $3, ($2))
    5154## Unpacking a fetch component.
    5255# @param 1     Target name.
    5356# @param 2     The archive file name.
    5457# @param 3     The target directory.
    55 MSG_FETCH_UP ?= $(call MSG_L1,UNPK $1 - $2,=> $3)
     58MSG_FETCH_UP ?= $(call MSG_L1,UNPK,$1 - $2,=> $3)
    5659## Fetch completed.
    5760# @param 1     Target name.
    58 MSG_FETCH_OK ?= $(call MSG_L1,DONE $1)
     61MSG_FETCH_OK ?= $(call MSG_L1,DONE,$1)
    5962## Unfetch a fetch target.
    6063# @param 1     Target name.
    61 MSG_UNFETCH  ?= $(call MSG_L1,RM   $1...)
     64MSG_UNFETCH  ?= $(call MSG_L1,RM,$1...)
    6265## Compiling a source file.
    6366# @param 1     Target name.
     
    6568# @param 3     The primary link output file name.
    6669# @param 4     The source type (CXX,C,AS,RC,++).
    67 MSG_COMPILE  ?= $(call MSG_L1,CC   $1 - $2,=> $3)
     70MSG_COMPILE  ?= $(call MSG_L1,$4,$1 - $2,=> $3)
     71## Tool
     72# @param 1     The tool name (bin2c,...)
     73# @param 2     Target name.
     74# @param 3     The source filename.
     75# @param 4     The primary output file name.
     76MSG_TOOL     ?= $(call MSG_L1,$1,$2 - $3,=> $4)
     77## Generate a file, typically a source file.
     78# @param 1     Target name if applicable.
     79# @param 2     Output file name.
     80# @param 3     What it's generated from
     81MSG_GENERATE ?= $(call MSG_L1,GEN,$2)
    6882## Linking a bldprog/dll/program/sysmod target.
    6983# @param 1     Target name.
    7084# @param 2     The primary link output file name.
    7185# @param 3     The link tool operation (LINK_LIBRARY,LINK_PROGRAM,LINK_DLL,LINK_SYSMOD,++).
    72 MSG_LINK     ?= $(call MSG_L1,$(if $(eq $3,LINK_LIBRARY),AR,LD)   $1,=> $2)
     86MSG_LINK     ?= $(call MSG_L1,$(if $(eq $3,LINK_LIBRARY),AR,LD),$1,=> $2)
    7387## Merging a library into the target (during library linking).
    7488# @param 1     Target name.
     
    7892## Creating a directory (build).
    7993# @param 1     Directory name.
    80 MSG_MKDIR    ?= $(call MSG_L2,DIR  $1)
     94MSG_MKDIR    ?= $(call MSG_L2,DIR,$1)
    8195## Cleaning.
    8296MSG_CLEAN    ?= $(call MSG_L1,CLEAN)
     
    87101# @param 2     The source filename.
    88102# @param 3     The destination file name.
    89 MSG_INST_TRG ?= $(call MSG_L1,INST $1 => $3)
     103MSG_INST_TRG ?= $(call MSG_L1,INST,$1 => $3)
    90104## Installing a file (install target).
    91105# @param 1     The source filename.
    92106# @param 2     The destination filename.
    93 MSG_INST_FILE?= $(call MSG_L1,IFIL $2,(<= $1))
     107MSG_INST_FILE?= $(call MSG_L1,IFIL,$2,(<= $1))
    94108## Installing a symlink.
    95109# @param 1     Symlink
    96110# @param 2     Link target
    97 MSG_INST_SYM ?= $(call MSG_L1,ISYM $1,=> $2)
     111MSG_INST_SYM ?= $(call MSG_L1,ISYM,$1,=> $2)
    98112## Installing a directory.
    99113# @param 1     Directory name.
    100 MSG_INST_DIR ?= $(call MSG_L1,IDIR $1)
     114MSG_INST_DIR ?= $(call MSG_L1,IDIR,$1)
    101115
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette