Makefile - variables

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

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.
TESTING_ENABLED Boolean value that should wrapper all unit tests allowing them to be disabled on demand.
configure.sh Variables Description
BUILD_PROJECT_ARG command line / environment override
CONFIGURE_ENV_ARGS command line / environment override
MOZ_ Variable Description
MOZ_BUILD_PROJECTS Build multiple projects in subdirectories of MOZ_OBJDIR
MOZ_CURRENT_PROJECT  
MOZ_PREFLIGHT_ALL  

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> <tr> <td>TESTING_ENABLED</td> <td>Boolean value that should wrapper all unit tests allowing them to be disabled on demand.<span style="font-weight: bold;"> <br> </span></td> </tr> </tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" class="standard-table"> <thead> <tr> <th scope="col">configure.sh 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> </tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" class="standard-table"> <thead> <tr> <th scope="col">MOZ_ Variable</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td>MOZ_BUILD_PROJECTS</td> <td>Build multiple projects in subdirectories of MOZ_OBJDIR</td> </tr> <tr> <td>MOZ_CURRENT_PROJECT</td> <td> </td> </tr> <tr> <td>MOZ_PREFLIGHT_ALL</td> <td> </td> </tr> </tbody>
</table>
Revert to this revision