makl_var Namespace Reference

Module "makl_var". More...


Functions

 makl_set_var_h ()
 Set the value of a header variable.
 makl_set_var_mk ()
 Set the value of a makefile variable.
 makl_add_var_mk ()
 Append a value to a makefile variable.
 makl_append_var_mk ()
 makl_unset_var_h ()
 Unset the value of a header variable.
 makl_unset_var_mk ()
 Unset the value of a makefile variable.
 makl_set_var ()
 Set a variable in both makefile and header.
 makl_unset_var ()
 Unset a variable in both makefile and header.
 makl_get_var_h ()
 Get the value of a header variable.
 makl_get_var_mk ()
 Get the value of a makefile variable.
 makl_set ()
 Set the value of an internal variable.
 makl_append ()
 Append the value of an internal variable.
 makl_unset ()
 Unset the value of an internal variable.
 makl_get ()
 Get the value of an internal variable.
 makl_vars_def ()
 Define a variable group.
 _makl_var_set ()
 Set or unset a variable.
 _makl_var_get ()
 Get the value of a variable.


Function Documentation

makl_var::_makl_var_get (  ) 

Get the value of a variable of type $1 and with name $2.

Parameters:
$1 type of variable
$2 variable name
Returns:
0 if the element was found, 1 otherwise.

Definition at line 303 of file makl_var.dokl.

Referenced by makl_get(), makl_get_var_h(), and makl_get_var_mk().

makl_var::_makl_var_set (  ) 

Set or unset a variable of type $1 and name $2 to $4 as selected by $3.

Parameters:
$1 type
$2 variable name
$3 1:set, 0:unset
$@ variable value

Definition at line 284 of file makl_var.dokl.

Referenced by makl_add_var_mk(), makl_set(), makl_set_var_h(), makl_set_var_mk(), makl_unset(), makl_unset_var_h(), and makl_unset_var_mk().

makl_var::makl_add_var_mk (  ) 

Append $* to makefile variable $1.

Parameters:
$1 symbol to set
$* string values to be added

Definition at line 70 of file makl_var.dokl.

References _makl_var_set(), and makl_get_var_mk().

Referenced by makl_append_var_mk().

makl_var::makl_append (  ) 

Append $2 to the value of internal variable $1.

Parameters:
$1 name of variable
$2 value to be appended

Definition at line 217 of file makl_var.dokl.

References makl_get(), and makl_set().

makl_var::makl_get (  ) 

Get the value of internal variable $1.

Parameters:
$1 name of variable
Returns:
0 if element was found, 1 otherwise.

Definition at line 243 of file makl_var.dokl.

References _makl_var_get().

Referenced by makl_append().

makl_var::makl_get_var_h (  ) 

Get the value of header variable $1.

Returns:
the value of the variable

Definition at line 173 of file makl_var.dokl.

References _makl_var_get().

makl_var::makl_get_var_mk (  ) 

Get the value of a makefile variable $1.

Returns:
the value of the variable

Definition at line 187 of file makl_var.dokl.

References _makl_var_get().

Referenced by makl_add_var_mk().

makl_var::makl_set (  ) 

Set the value of internal variable $1 to $2.

Parameters:
$1 name of variable
$2 value of variable

Definition at line 202 of file makl_var.dokl.

References _makl_var_set().

Referenced by makl_append().

makl_var::makl_set_var (  ) 

Set $1 to $2 in both makefile and header.

Parameters:
$1 symbol to set
$2 value of symbol
$3 whether the value is to be interpreted as a string

Definition at line 139 of file makl_var.dokl.

References makl_set_var_h(), and makl_set_var_mk().

makl_var::makl_set_var_h (  ) 

Set header variable $1 to $2. If $3 is set, the value is to be interpreted as a string (default is constant).

Parameters:
$1 symbol to be set
$2 value of symbol (optional)
$3 whether the value is to be interpreted as a string

Definition at line 16 of file makl_var.dokl.

References _makl_var_set().

Referenced by makl_set_var().

makl_var::makl_set_var_mk (  ) 

Set makefile variable $1 to $2.

Parameters:
$1 symbol to set
$2 value of symbol

Definition at line 46 of file makl_var.dokl.

References _makl_var_set().

Referenced by makl_set_var().

makl_var::makl_unset (  ) 

Unset the value of internal variable $1.

Parameters:
$1 symbol to unset

Definition at line 230 of file makl_var.dokl.

References _makl_var_set().

makl_var::makl_unset_var (  ) 

Unset $1 in both makefile and header.

Parameters:
$1 symbol to unset
Returns:
0 on success, 1 otherwise.

Definition at line 153 of file makl_var.dokl.

References makl_unset_var_h(), and makl_unset_var_mk().

makl_var::makl_unset_var_h (  ) 

Unset the value of header variable $1.

Parameters:
$1 symbol to unset

Definition at line 109 of file makl_var.dokl.

References _makl_var_set().

Referenced by makl_unset_var().

makl_var::makl_unset_var_mk (  ) 

Unset the value of makefile variable $1.

Parameters:
$1 symbol to unset

Definition at line 123 of file makl_var.dokl.

References _makl_var_set().

Referenced by makl_unset_var().

makl_var::makl_vars_def (  ) 

Define a group of variables (var=val) of type $1 and with description $2.

Parameters:
$1 type of variable
$2 description

Definition at line 259 of file makl_var.dokl.


←Products
© 2005-2008 - KoanLogic S.r.l. - All rights reserved