Ignore:
Timestamp:
Dec 30, 2008, 6:07:09 PM (17 years ago)
Author:
bird
Message:

kmk-qr: started marking kmk specific features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/doc/QuickReference-kmk.txt

    r2168 r2169  
    88disputed. ;-)
    99
     10Features that are
    1011
    1112Directives
     
    2930        ifneq "a" "b"
    3031        ifneq 'a' 'b'
    31         if1of (set-a,set-b)
    32         ifn1of (set-a,set-b)
    33         if expression
     32        if1of (set-a,set-b)             [1]
     33        ifn1of (set-a,set-b)            [1]
     34        if expression                   [1]
    3435        else
    3536        endif
     
    4142        sinclude file
    4243
    43     Include another dependency file::
     44    Include another dependency file [1]_::
    4445
    4546        includedep file
     
    5152        override variable := value
    5253        override variable += value
    53         override variable <= value
     54        override variable <= value      [1]
    5455        override variable ?= value
    5556        override define variable
     
    6768        export variable := value
    6869        export variable += value
    69         export variable <= value
     70        export variable <= value        [1]
    7071        export variable ?= value
    7172        unexport variable
    7273
    73     Define a variable in the local context instead of the global one::
     74    Define a variable in the local context instead of the global one [1]_::
    7475
    7576        local variable = value
     
    178179+--------------------------+--------------------------------------------------+
    179180| ``KBUILD_VERSION``,      | The kBuild version string and the break down     |
    180 | ``KBUILD_VERSION_MAJOR``,| into individual components.                      |
     181| ``KBUILD_VERSION_MAJOR``,| into individual components. [1]_                 |
    181182| ``KBUILD_VERSION_MINOR``,|                                                  |
    182183| ``KBUILD_VERSION_PATCH``,|                                                  |
    183184| ``KBUILD_KMK_REVISION``  |                                                  |
    184185+--------------------------+--------------------------------------------------+
    185 | ``KBUILD_HOST``          | The host operating system.                       |
    186 +--------------------------+--------------------------------------------------+
    187 | ``KBUILD_HOST_ARCH``     | The host architecture.                           |
    188 +--------------------------+--------------------------------------------------+
    189 | ``KBUILD_HOST_CPU``     | The host CPU ``kmk`` is built for, set to        |
     186| ``KBUILD_HOST`` [1]_     | The host operating system.                       |
     187+--------------------------+--------------------------------------------------+
     188| ``KBUILD_HOST_ARCH`` [1]_| The host architecture.                           |
     189+--------------------------+--------------------------------------------------+
     190| ``KBUILD_HOST_CPU`` [1]_ | The host CPU ``kmk`` is built for, set to        |
    190191|                          | ``blend`` if not any particular CPU.             |
    191192+--------------------------+--------------------------------------------------+
    192 | ``KBUILD_PATH``          | Where the kBuild scripts are.                    |
    193 +--------------------------+--------------------------------------------------+
    194 | ``KBUILD_BIN_PATH``     | Where the host specific kBuild binaries are.     |
    195 +--------------------------+--------------------------------------------------+
    196 | ``KMK``,                 | The name with which ``kmk`` was invoked. Using   |
     193| ``KBUILD_PATH`` [1]_     | Where the kBuild scripts are.                    |
     194+--------------------------+--------------------------------------------------+
     195| ``KBUILD_BIN_PATH`` [1]_ | Where the host specific kBuild binaries are.     |
     196+--------------------------+--------------------------------------------------+
     197| ``KMK`` [1]_,            | The name with which ``kmk`` was invoked. Using   |
    197198| ``MAKE``                 | this variable in recipes has special meaning.    |
    198199+--------------------------+--------------------------------------------------+
    199 | ``KMK_BUILTIN``          | List of built-in commands.                       |
    200 +--------------------------+--------------------------------------------------+
    201 | ``KMK_FEATURES``         | List of ``kmk`` specific features.               |
    202 +--------------------------+--------------------------------------------------+
    203 | ``KMK_FLAGS``            | The flags given to ``kmk``. You can set this in  |
     200| ``KMK_BUILTIN`` [1]_     | List of built-in commands.                       |
     201+--------------------------+--------------------------------------------------+
     202| ``KMK_FEATURES`` [1]_    | List of ``kmk`` specific features.               |
     203+--------------------------+--------------------------------------------------+
     204| ``KMK_FLAGS`` [1]_       | The flags given to ``kmk``. You can set this in  |
    204205|                          | the environment or a makefile to set flags.      |
    205206|                          |                                                  |
     
    210211|                          | through the environment from its parent.         |
    211212+--------------------------+--------------------------------------------------+
    212 | ``KMK_LEVEL``            | The number of levels of recursion (sub-makes).   |
    213 +--------------------------+--------------------------------------------------+
    214 | ``KMK_VERSION``          | The GNU ``make`` version number.                 |
     213| ``KMK_LEVEL`` [1]_       | The number of levels of recursion (sub-makes).   |
     214+--------------------------+--------------------------------------------------+
     215| ``KMK_VERSION`` [1]_     | The GNU ``make`` version number.                 |
    215216+--------------------------+--------------------------------------------------+
    216217| ``MAKECMDGOALS``         | The targets given to ``kmk`` on the command line.|
     
    904905-----
    905906
     907.. [1] ``kmk`` only feature.
     908
     909-----
     910
    906911:Status: $Id$
    907912:Copyright: Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
Note: See TracChangeset for help on using the changeset viewer.