mozilla

Revision 190673 of DEPTH

  • Revision slug: DEPTH
  • Revision title: DEPTH
  • Revision id: 190673
  • Created:
  • Creator: Waldo
  • Is current revision? No
  • Comment add code markup

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 autoconf.mk

Examples

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

Revision Source

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