<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 39. Standard Modules</title><meta name="generator" content="DocBook XSL Stylesheets V1.71.1"><link rel="start" href="index.html" title="A-A-P Recipe Executive"><link rel="up" href="reference.html" title="Part III. Reference Manual"><link rel="prev" href="ref-filetype.html" title="Chapter 38. Filetype Detection"><link rel="next" href="ch39s02.html" title="GNU Libtool"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table width="100%" id="navtable"><tbody><tr><td align="left" class="left" width="33%"><b><a href="http://www.a-a-p.org">A-A-P home page</a></b></td><td align="center" class="center" width="34%"><b><a href="index.html">A-A-P Recipe Executive</a></b></td><td align="right" class="right" width="33%"></td></tr><tr><td align="left" class="left"><a accesskey="p" href="ref-filetype.html">Prev</a></td><td align="center" class="center">Reference Manual</td><td align="right" class="right"><a accesskey="n" href="ch39s02.html">Next</a></td></tr></tbody></table><hr><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="ref-modules"></a>Chapter 39. Standard Modules</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="ref-modules.html#id2686506">The "D" Programming Language</a></span></dt><dt><span class="sect1"><a href="ch39s02.html">GNU Libtool</a></span></dt><dt><span class="sect1"><a href="ch39s03.html">The Qt Library</a></span></dt></dl></div><p> There is no standard module for the "C" language. This language is supported without the need to import a module. </p><p> The following modules are distributed with <span class="application">Aap</span>: </p><div class="variablelist"><dl><dt><span class="term"><a href="ref-modules.html#mod-d">d</a></span></dt><dd><p> Support for the <a href="ref-modules.html#mod-d">"D" programming language</a>. With this module imported, <code class="computeroutput">:program</code>, <code class="computeroutput">:dll </code> and <code class="computeroutput">:lib</code> commands can be used as easily as with C or C++. </p></dd><dt><span class="term"><a href="ch39s02.html#mod-libtool">libtool</a></span></dt><dd><p> Adds support for <a href="ch39s02.html#mod-libtool">GNU libtool</a>, so that you can use it to build shared libraries in a portable manner. Automatically imported if you use a <a href="ref-commands.html#cmd-ltlib">:ltlib</a> command. This is a prerequisite for the KDE module. </p></dd><dt><span class="term"><a href="ch39s03.html#mod-qt">Qt™</a></span></dt><dd><p> Adds support for the <a href="ch39s03.html#mod-qt">Qt™ library</a> from Trolltech™. This automatically searches for the Qt library in several likely places; see also the $QTDIR variable. Support is added for .ui (Qt Designer) files as sources, and for .moc (Qt Meta-Object system) as dependencies generated from header files. </p></dd></dl></div><p> </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2686506"></a>The "D" Programming Language</h2></div></div></div><a name="mod-d"></a><p> Support for the "D" programming language. With this module imported, <code class="computeroutput">:program</code>, <code class="computeroutput">:dll </code> and <code class="computeroutput">:lib</code> commands can be used as easily as with C or C++. To customize compilation and linking, the variables below can be filled. See also <a href="ref-tools.html" title="Chapter 40. Standard Tools">Chapter 40, <i>Standard Tools</i></a> for supported D tools. </p><div class="table"><a name="id2686538"></a><p class="title"><b>Table 39.1. Variables of the D module</b></p><div class="table-contents"><table summary="Variables of the D module" border="0"><colgroup><col width="170"><col></colgroup><thead><tr><th align="left">name</th><th align="left">type </th><th align="left">description</th></tr></thead><tbody><tr><td valign="top"><a name="var-d_compile_action"></a> $D_COMPILE_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for compiling a D file into an object, dllobject or libobject file. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_build_action"></a> $D_BUILD_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a program or library from object files compiled by a D compiler. A "buildaction" attribute on one of the object files is used before $D_BUILD_ACTION. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_builddll_action"></a> $D_BUILDDLL_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a dynamic link library from object files compiled by a D compiler. A "buildaction" attribute on one of the object files is used before $D_BUILDDLL_ACTION. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_buildlib_action"></a> $D_BUILDLIB_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a static library from object files compiled by a D compiler. A "buildaction" attribute on one of the object files is used before $D_BUILDLIB_ACTION. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_buildonestep_action"></a> $D_BUILDONESTEP_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a program directly from D source. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_builddllonestep_action"></a> $D_BUILDDLLONESTEP_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a dynamic link library directly from D source. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-d_buildlibonestep_action"></a> $D_BUILDLIBONESTEP_ACTION </td><td valign="top"> Aap </td><td valign="top"> When not empty, specifies the action name to be executed for building a static library directly from D source. See <a href="user-tools.html" title="Chapter 30. Customizing Default Tools">Chapter 30, <i>Customizing Default Tools</i></a>. </td></tr><tr><td valign="top"><a name="var-dflags"></a> $DFLAGS </td><td valign="top"> user </td><td valign="top"> Compiler arguments passed to the D compiler. </td></tr><tr><td valign="top"><a name="var-dlinkflags"></a> $DLINKFLAGS </td><td valign="top"> user </td><td valign="top"> Arguments passed to the linker; in most cases libraries to link with. </td></tr><tr><td valign="top"><a name="var-dimport"></a> $DIMPORT </td><td valign="top"> user </td><td valign="top"> Import directories used for the D compiler. Always use the "-Ipath" form and don't use it for other switches. A-A-P will convert it to what the compiler actually uses. This variable is also used when checking for dependencies. </td></tr><tr><td valign="top"><a name="var-dversion"></a> $DVERSION </td><td valign="top"> user </td><td valign="top"> Version arguments passed to the D compiler. Always use the "-version=..." form, the tool will convert it to what the compiler actually uses.</td></tr><tr><td valign="top"><a name="var-ddebug"></a> $DDEBUG </td><td valign="top"> user </td><td valign="top"> Debug arguments passed to the D compiler. Always use the "-debug"/"-debug=..." form, the tool will convert it to what the compiler actually uses. To enable symbolic debug information, set the the <a href="ref-variables.html#var-debug">$DEBUG</a> to "yes". For other language independent debugging switches, like enabling profiling hooks, use $DFLAGS. </td></tr><tr><td valign="top"><a name="var-dimplib"></a> $DIMPLIB </td><td valign="top"> user </td><td valign="top"> If this variable is set to 'yes', an import library will be created when building a dll on the Windows platform. </td></tr></tbody></table></div></div><br class="table-break"></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-filetype.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch39s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 38. Filetype Detection </td><td width="20%" align="center"><a accesskey="h" href="index.html"> Contents</a></td><td width="40%" align="right" valign="top"> GNU Libtool</td></tr></table></div></body></html>