mozilla

Revision 38305 of Makefile - variables

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

Revision Content

This page lists makefile variables of interest.

Variable name Description
DIRS A list of subdirectories to recursively build in.
PARALLEL_DIRS A list of directories to recursively traverse.
[[https://developer.mozilla.org/En/STATIC_DIRS|STATIC_DIRS]]  
EXPAND_MOZLIBNAME  
EXTRA_DSO_LIBS  
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.
HOST_OS_ARCH Arch of real platform a target platform is being built on (building mobile bianries on linux)
OS_ARCH  
MODULE Instructs the build system where to install exported headers
TIER  
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  
Test Variable Description
ENABLE_TESTS  
TESTING_ENABLED Boolean value that should wrapper all unit tests allowing them to be disabled on demand.
XPC_SHELL_TESTS  

SURPRESS_DEFAULT_RULES

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><a href="/PARALLEL_DIRS" title="PARALLEL DIRS">PARALLEL_DIRS</a></td> <td>A list of directories to recursively traverse.</td> </tr> <tr> <td><a href="/STATIC_DIRS" title="STATIC DIRS">[[https://developer.mozilla.org/En/STATIC_DIRS|STATIC_DIRS</a>]]</td> <td> </td> </tr> <tr> <td>EXPAND_MOZLIBNAME</td> <td> </td> </tr> <tr> <td>EXTRA_DSO_LIBS</td> <td> </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>HOST_OS_ARCH</td> <td>Arch of real platform a target platform is being built on (building mobile bianries on linux)</td> </tr> <tr> <td>OS_ARCH</td> <td> </td> </tr> <tr> <td><a href="/MODULE" title="MODULE">MODULE</a></td> <td>Instructs the build system where to install exported headers</td> </tr> <tr> <td><a href="/TIER" title="TIER">TIER</a></td> <td> </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>
<table border="1" cellpadding="1" cellspacing="1" class="standard-table" style="width: 747px; height: 41px;"> <thead> <tr> <th scope="col">Test Variable</th> <th scope="col">Description</th> </tr> </thead> <tbody> <tr> <td>ENABLE_TESTS</td> <td> </td> </tr> <tr> <td><a href="/TESTING_ENABLED" title="TESTING ENABLED">TESTING_ENABLED</a></td> <td>Boolean value that should wrapper all unit tests allowing them to be disabled on demand.</td> </tr> <tr> <td>XPC_SHELL_TESTS</td> <td> </td> </tr> </tbody>
</table>
<p>SURPRESS_DEFAULT_RULES</p>
Revert to this revision