Changeset 825 for trunk/kBuild/header.kmk
- Timestamp:
- Feb 1, 2007, 7:37:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.