Changeset 825 for trunk/kBuild
- Timestamp:
- Feb 1, 2007, 7:37:56 AM (18 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/gnumake-header.kmk
r819 r825 56 56 # @param $1 The stack variable name 57 57 stack-top = $(lastword $($1)) 58 59 ## Converts an relative path to an absolute path using the given CWD. 60 # @returns absolute path. 61 # @param $1 The path to fixup. 62 # @param $2 The CWD to use. 63 abspathex = $(foreach _fix_path,$1\ 64 ,$(if $(subst :$(call no-root-slash,$(call no-drive,$(_fix_path))):,,:$(_fix_path):),$(_fix_path),$(abspath $2/$(_fix_path)))) 65 58 66 59 67 ## -
trunk/kBuild/header.kmk
r823 r825 484 484 endif 485 485 486 ifneq ($(filter abspathex,$(KMK_FEATURES)),abspathex) ## @todo Retire this to gnumake-header.kmk when it has been implemented. 487 ## Converts an relative path to an absolute path using the given CWD. 488 # @returns absolute path. 489 # @param $1 The path to fixup. 490 # @param $2 The CWD to use. 491 abspathex = $(foreach _fix_path,$1\ 492 ,$(if $(subst :$(call no-root-slash,$(call no-drive,$(_fix_path))):,,:$(_fix_path):),$(_fix_path),$(abspath $2/$(_fix_path)))) 486 ifneq ($(filter xargs,$(KMK_FEATURES)),xargs) ## @todo Retire this to gnumake-header.kmk when it has been implemented. 487 ## 488 # Fake xargs without doing any commandline splitting. 489 # @param $1 The initial command. 490 # @param $2 The command for the subseqent command lines. optional 491 # @param $3 The command for the final command lines. optional 492 # @param $($#) The arguments. 493 xargs = $(1) $(if $(4),$(4),$(if $(3),$(3),$(2))) 493 494 endif 494 495
Note:
See TracChangeset
for help on using the changeset viewer.