mozilla

Revision 190671 of DEPTH

  • Revision slug: DEPTH
  • Revision title: DEPTH
  • Revision id: 190671
  • Created:
  • Creator: BenjaminSmedberg
  • Is current revision? No
  • Comment Import the build glossary

Revision Content

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

Position

DEPTH should be set at the top of the makefile 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="Position"> Position </h3>
<p>DEPTH should be set at the top of the makefile 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