DEPTH

  • Revision slug: DEPTH
  • Revision title: DEPTH
  • Revision id: 190672
  • Created:
  • Creator: Benjamin Smedberg
  • Is current revision? No
  • Comment /* Position */

Revision Content

DEPTH is a makefile variable used to indicate how deep the makefile is within the build tree.

Set By

Tree makefiles set DEPTH in the standard makefile header before including <tt>autoconf.mk</tt>

Examples

{{template.Source("Makefile.in")}} DEPTH = .
{{template.Source("toolkit/Makefile.in")}} DEPTH = ..
{{template.Source("toolkit/components/Makefile.in")}} DEPTH = ../..

Revision Source

<p>DEPTH is a makefile variable used to indicate how deep the makefile is within the build tree.
</p>
<h3 name="Set_By"> Set By </h3>
<p>Tree makefiles set DEPTH in the <a href="en/Standard_Makefile_Header">standard makefile header</a> before including <tt>autoconf.mk</tt>
</p>
<h3 name="Examples"> Examples </h3>
<table class="standard-table">
<tbody><tr>
<td>{{template.Source("Makefile.in")}}
</td><td><code>DEPTH = .</code>
</td></tr><tr>
<td>{{template.Source("toolkit/Makefile.in")}}
</td><td><code>DEPTH = ..</code>
</td></tr><tr>
<td>{{template.Source("toolkit/components/Makefile.in")}}
</td><td><code>DEPTH = ../..</code>
</td></tr></tbody></table>
Revert to this revision