Functions | |
| makl_require () | |
| Add a required dependency. | |
| makl_optional () | |
| Add an optional dependency. | |
| makl_req_found () | |
| Mark a dependency as found. | |
| _makl_search_lib () | |
| Search for library in default directories. | |
| _makl_search_featx () | |
| Search for an executable feature. | |
| _makl_require_check () | |
| Check that "type" dependencies have been fulfilled. | |
| makl_lib_testcode () | |
| Set the test code for a library. | |
| _makl_deps_check () | |
| Check dependencies. | |
| makl_deps::_makl_deps_check | ( | ) |
This function is called on termination to check dependencies and generate appropriate variables.
Definition at line 309 of file makl_deps.dokl.
References _makl_require_check().
| makl_deps::_makl_require_check | ( | ) |
| $1 | dependency type |
Definition at line 202 of file makl_deps.dokl.
References _makl_search_featx(), and _makl_search_lib().
Referenced by _makl_deps_check().
| makl_deps::_makl_search_featx | ( | ) |
Search for executable feature $1 in default directories (as defined in etc/args.cf). It is assumed that the id corresponds to the filename of the executable file.
| $1 | feature id |
Definition at line 161 of file makl_deps.dokl.
Referenced by _makl_require_check().
| makl_deps::_makl_search_lib | ( | ) |
Search for library $1 in default directories (as defined in etc/args.cf). Compilation is tested with CFLAGS $2 and LDFLAGS $3.
| $1 | required lib | |
| $2 | cflags | |
| $3 | ldflags | |
| 0 | on success, 1 on lib not found. |
Definition at line 120 of file makl_deps.dokl.
Referenced by _makl_require_check().
| makl_deps::makl_lib_testcode | ( | ) |
Set the test code for library $1. Data is read from standard input.
| $1 | library id |
Definition at line 291 of file makl_deps.dokl.
| makl_deps::makl_optional | ( | ) |
Add an optional dependency of type $2 and id $3. The remaining arguments are to be defined based on the type:
| $1 | enabled by default (1) or disabled by default (0) | |
| $2 | dependency type | |
| $3 | dependency id | |
| $@ | args |
Definition at line 65 of file makl_deps.dokl.
| makl_deps::makl_req_found | ( | ) |
Mark a dependency of type $1 and id $2 as found.
| $1 | dependency type | |
| $2 | dependency id |
Definition at line 99 of file makl_deps.dokl.
| makl_deps::makl_require | ( | ) |
Add a required dependency of type $1 and id $2. The remaining arguments are to be defined based on the type:
| $1 | dependency type | |
| $2 | dependency id | |
| $@ | args |
Definition at line 22 of file makl_deps.dokl.