Changeset 2404


Ignore:
Timestamp:
May 9, 2010, 5:26:12 PM (15 years ago)
Author:
bird
Message:

msgstyles/brief2.kmk: forked brief, the new variant shows full paths for linking and installing which is handy for copy & past.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/msgstyles/brief2.kmk

    r2403 r2404  
    3939        "$(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$2))))"
    4040 endif
     41 ifndef MSG_L1I
     42  MSG_L1I = @$(PRINTF) "  %-7s %s\n" "$1" "$2"
     43 endif
    4144else
    4245 MSG_L1 ?= @$(ECHO) "  $(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1 $2))))"
     46 MSG_L1I?= @$(ECHO) "  $1 $2"
    4347 MSG_L2 ?= @$(ECHO) "  $(subst $(PATH_ROOT)/,{R}/,$(subst $(PATH_OUT)/,{O}/,$(subst $(CURDIR)/,{C}/,$(subst $(PATH_TARGET)/,{T}/,$1))))"
    4448endif
     
    9296# @param 2     The primary link output file name.
    9397# @param 3     The link tool operation (LINK_LIBRARY,LINK_PROGRAM,LINK_DLL,LINK_SYSMOD,++).
    94 MSG_LINK     ?= $(call MSG_L1,$(if $(eq $3,LINK_LIBRARY),AR,LD),$1,=> $2)
     98MSG_LINK     ?= $(call MSG_L1I,$(if $(eq $3,LINK_LIBRARY),AR,LD),$1 => $2,)
    9599## Merging a library into the target (during library linking).
    96100# @param 1     Target name.
     
    109113# @param 2     The source filename.
    110114# @param 3     The destination file name.
    111 MSG_INST_TRG ?= $(call MSG_L1,INST,$1 => $3)
     115MSG_INST_TRG ?= $(call MSG_L1I,INST,$1 => $3)
    112116## Installing a file (install target).
    113117# @param 1     The source filename.
    114118# @param 2     The destination filename.
    115 MSG_INST_FILE?= $(call MSG_L1,IFIL,$2,(<= $1))
     119MSG_INST_FILE?= $(call MSG_L1I,IFIL,$2,(<= $1))
    116120## Installing a symlink.
    117121# @param 1     Symlink
    118122# @param 2     Link target
    119 MSG_INST_SYM ?= $(call MSG_L1,ISYM,$1,=> $2)
     123MSG_INST_SYM ?= $(call MSG_L1I,ISYM,$1,=> $2)
    120124## Installing a directory.
    121125# @param 1     Directory name.
    122 MSG_INST_DIR ?= $(call MSG_L1,IDIR,$1)
     126MSG_INST_DIR ?= $(call MSG_L1I,IDIR,$1)
    123127
Note: See TracChangeset for help on using the changeset viewer.