155 lines
7.9 KiB
HTML
155 lines
7.9 KiB
HTML
<!-- HTML header for doxygen 1.9.1-->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.15.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>L4Re Operating System Framework: prog.mk - Application Role</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="l4re-awesome.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="L4Re_rgb_logo_quer_hg_h55.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">L4Re Operating System Framework
|
|
</div>
|
|
<div id="projectbrief">Interface and Usage Documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.15.0 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
</script>
|
|
<script type="text/javascript">
|
|
$(function() { codefold.init(); });
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search',true);
|
|
$(function() { init_search(); });
|
|
});
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function(){initNavTree('bid_role_prog.html','',''); });
|
|
</script>
|
|
<div id="container">
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div><div class="header">
|
|
<div class="headertitle"><div class="title">prog.mk - Application Role </div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><p>The prog role is used to build executable programs.</p>
|
|
<h2>General Configuration Variables </h2>
|
|
<p>The following variables can only be set globally for the Makefile:</p>
|
|
<dl class="section user"><dt><span class="tt">MODE</span></dt><dd></dd></dl>
|
|
<p>Kind of target to build for. The following values are possible:</p>
|
|
<ul>
|
|
<li><span class="tt">static</span> - build a statically linked binary (default)</li>
|
|
<li><span class="tt">shared</span> - build a dynamically linked binary</li>
|
|
<li><span class="tt">l4linux</span> - build a binary for running on L4Linux on the target platform</li>
|
|
<li><span class="tt">host</span> - build for host system</li>
|
|
<li><span class="tt">targetsys</span> - build a binary for the target platform with the compiler's default settings</li>
|
|
</ul>
|
|
<dl class="section user"><dt><span class="tt">SYSTEMS</span></dt><dd></dd></dl>
|
|
<p>List of architectures the target can be built for. The entries must be space-separated entries either naming an architecture (e.g. amd64) or an architecture and ABI (e.g, arm-l4f). When not defined, the target will be built for all possible platforms.</p>
|
|
<dl class="section user"><dt><span class="tt">TARGET</span></dt><dd></dd></dl>
|
|
<p>Name or names of the binaries to compile. This variable may also be postfixed with a specific architecture.</p>
|
|
<h2>Target-specific Configuration Variables </h2>
|
|
<p>The following variables may either be used with or without a description suffix. Without suffix they will be used for all operations. With a specific description their use is restricted to a subset. These specifications include a target file and the architecture, both optional but in this order, separated by underscores. The specific variables will be used in addition to the more general ones.</p>
|
|
<dl class="section user"><dt><span class="tt">SRC_C</span> / <span class="tt">SRC_CC</span> / <span class="tt">SRC_F</span> / <span class="tt">SRC_S</span></dt><dd></dd></dl>
|
|
<p>.c, .cc, .f90, .S source files.</p>
|
|
<dl class="section user"><dt><span class="tt">REQUIRES_LIBS</span></dt><dd></dd></dl>
|
|
<p>List of libraries the binary depends on. This works only with libraries that export a pkg_config configuration file. Automatically adds any required include and link options.</p>
|
|
<dl class="section user"><dt><span class="tt">DEPENDS_PKGS</span></dt><dd></dd></dl>
|
|
<p>List of packages this binary depends on. If one these packages is missing then building of the binary will be skipped.</p>
|
|
<dl class="section user"><dt><span class="tt">CPPFLAGS</span> / <span class="tt">CFLAGS</span> / <span class="tt">CXXFLAGS</span> / <span class="tt">FFLAGS</span> / <span class="tt">ASFLAGS</span></dt><dd></dd></dl>
|
|
<p>Options for the C preprocessor, C compiler, C++ compiler, Fortran compiler and assembler. When used with suffix, the referred element is the source file, not the target file.</p>
|
|
<dl class="section user"><dt><span class="tt">LDFLAGS</span></dt><dd></dd></dl>
|
|
<p>Options for the linker ld.</p>
|
|
<dl class="section user"><dt><span class="tt">LIBS</span></dt><dd></dd></dl>
|
|
<p>Additional libraries to link against (with -l).</p>
|
|
<dl class="section user"><dt><span class="tt">PRIVATE_LIBDIR</span></dt><dd></dd></dl>
|
|
<p>Additional directories to search for libraries.</p>
|
|
<dl class="section user"><dt><span class="tt">CRT0</span> / <span class="tt">CRTN</span></dt><dd></dd></dl>
|
|
<p>(expert use only) Files containing custom startup and finish code.</p>
|
|
<dl class="section user"><dt><span class="tt">LDSCRIPT</span></dt><dd></dd></dl>
|
|
<p>(expert use only) Custom link script to use. </p>
|
|
</div></div><!-- contents -->
|
|
</div><!-- PageDoc -->
|
|
</div><!-- doc-content -->
|
|
<div id="page-nav" class="page-nav-panel">
|
|
<div id="page-nav-resize-handle"></div>
|
|
<div id="page-nav-tree">
|
|
<div id="page-nav-contents">
|
|
</div><!-- page-nav-contents -->
|
|
</div><!-- page-nav-tree -->
|
|
</div><!-- page-nav -->
|
|
</div><!-- container -->
|
|
<!-- HTML footer for doxygen 1.9.1-->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a href="l4re_concepts.html">Programming for L4Re</a></li><li class="navelem"><a href="l4re_build_system.html">L4Re Build System</a></li>
|
|
<li class="footer">Generated on <span class="timestamp"></span> for L4Re Operating System Framework by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|