Makefile - variables

  • Revision slug: How_Mozilla's_build_system_works/Makefile_-_variables
  • Revision title: Makefile - variables
  • Revision id: 38293
  • Created:
  • Creator: Joey Armstrong
  • Is current revision? No
  • Comment 9 words added

Revision Content

This page lists makefile variables of interest.

Variable name Description
DIRS A list of subdirectories to recursively build in.
GARBAGE A "clean target" macro containing a list of files to remove.
GARBAGE_DIRS A "clean target" macro containing a list of directories to remove.
PARALLEL_DIRS A list of directories to recursively traverse.
Configure Variables Description
BUILD_PROJECT_ARG command line / environment override
CONFIGURE_ENV_ARGS command line / environment override
MOZ_CURRENT_PROJECT  
MOZ_BUILD_PROJECTS Build multiple projects in subdirectories of MOZ_OBJDIR

Revision Source

<p>This page lists makefile variables of interest.</p>
<table class="standard-table"> <thead> <tr> <th>Variable name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href="/en/DIRS" title="en/DIRS"><code>DIRS</code></a></td> <td>A list of subdirectories to recursively build in.</td> </tr> <tr> <td><code>GARBAGE</code></td> <td>A "clean target" macro containing a list of files to remove.</td> </tr> <tr> <td><code>GARBAGE_DIRS</code></td> <td>A "clean target" macro containing a list of directories to remove.</td> </tr> <tr> <td><code>PARALLEL_DIRS</code></td> <td>A list of directories to recursively traverse.</td> </tr> </tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" class="standard-table" style="width: 540px; height: 101px;"> <thead> <tr> <th scope="col">Configure Variables</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td>BUILD_PROJECT_ARG</td> <td>command line / environment override</td> </tr> <tr> <td>CONFIGURE_ENV_ARGS</td> <td>command line / environment override</td> </tr> <tr> <td>MOZ_CURRENT_PROJECT</td> <td> </td> </tr> <tr> <td>MOZ_BUILD_PROJECTS</td> <td>Build multiple projects in subdirectories of MOZ_OBJDIR</td> </tr> </tbody>
</table>
Revert to this revision