mozilla

Revision 148395 of DIRS

  • Revision slug: DIRS
  • Revision title: DIRS
  • Revision id: 148395
  • Created:
  • Creator: Ted_Mielczarek
  • Is current revision? No
  • Comment build glossary doc

Revision Content

<tt>DIRS</tt> is a makefile variable which contains a list of subdirectories of the current directory to recursively build in. Subdirectories are traversed after their parent directories.

Set By

Tree makefiles set DIRS after including <tt>autoconf.mk</tt> but before including <tt>config.mk</tt> or <tt>rules.mk</tt>.

Example

{{template.Source("toolkit/Makefile.in")}}
DIRS	= \
		content \
		locales \
		obsolete \
		profile \
		themes \
		$(NULL)

ifndef MINIMO
DIRS += \
	xre \
        mozapps \
        $(NULL)
endif

Revision Source

<p><tt>DIRS</tt> is a makefile variable which contains a list of subdirectories of the current directory to recursively build in. Subdirectories are traversed after their parent directories.
</p>
<h3 name="Set_By"> Set By </h3>
<p>Tree makefiles set DIRS after including <tt>autoconf.mk</tt> but before including <tt>config.mk</tt> or <tt>rules.mk</tt>.
</p>
<h3 name="Example"> Example </h3>
<table class="standard-table">
<tbody><tr>
<td>{{template.Source("toolkit/Makefile.in")}}</td>
<td><pre>
DIRS	= \
		content \
		locales \
		obsolete \
		profile \
		themes \
		$(NULL)

ifndef MINIMO
DIRS += \
	xre \
        mozapps \
        $(NULL)
endif
</pre>
</td>
</tr>
</tbody></table>
Revert to this revision