Changeset 874 for trunk/kBuild


Ignore:
Timestamp:
Apr 6, 2007, 8:01:14 PM (18 years ago)
Author:
bird
Message:

Moved the PATH_* finalizing to header.kmk and applied abspath to all of them.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r859 r874  
    2727ifndef __footer_kmk__
    2828# start-of-file-content
    29 
    30 #
    31 # Make sure that the core variables we defined in recursive expansion mode
    32 # up in header.kmk get expanded before we really start using them. The kBuild
    33 # functions added to kmk to speed stuff up assumes that the variables are
    34 # expanded here.
    35 #
    36 PATH_OBJ    := $(PATH_OBJ)
    37 PATH_TARGET := $(PATH_TARGET)
    38 PATH_INS    := $(PATH_INS)
    39 PATH_BIN    := $(PATH_BIN)
    40 PATH_DLL    := $(PATH_DLL)
    41 PATH_SYS    := $(PATH_SYS)
    42 PATH_LIB    := $(PATH_LIB)
    43 PATH_DOC    := $(PATH_DOC)
    4429
    4530#
  • trunk/kBuild/header.kmk

    r859 r874  
    749749# Include the config.kmk we found file (or the default one).
    750750include $(_CFGFILE)
     751
     752
     753#
     754# Finalize a the central path variables now that we've included the Config.kmk file.
     755#
     756# This prevents some trouble when users override the defaults for these
     757# variables and uses relative paths or paths with incorrect case.
     758#
     759PATH_OUT    := $(abspath $(PATH_OUT))
     760PATH_OBJ    := $(abspath $(PATH_OBJ))
     761PATH_TARGET := $(abspath $(PATH_TARGET))
     762PATH_INS    := $(abspath $(PATH_INS))
     763PATH_BIN    := $(abspath $(PATH_BIN))
     764PATH_DLL    := $(abspath $(PATH_DLL))
     765PATH_SYS    := $(abspath $(PATH_SYS))
     766PATH_LIB    := $(abspath $(PATH_LIB))
     767PATH_DOC    := $(abspath $(PATH_DOC))
    751768
    752769
     
    884901
    885902
    886 
    887903# end-of-file-content
    888904__header_kmk__ := 1
Note: See TracChangeset for help on using the changeset viewer.