/usr/share/GNUstep/Documentation/Developer/Make/Manual/gnustep-make/Overridable-Flags.html is in gnustep-make-doc 2.6.8-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
<head>
<title>GNUstep Makefile Package: Overridable Flags</title>
<meta name="description" content="GNUstep Makefile Package: Overridable Flags">
<meta name="keywords" content="GNUstep Makefile Package: Overridable Flags">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Common-Variables.html#Common-Variables" rel="up" title="Common Variables">
<link href="Other-Variables.html#Other-Variables" rel="next" title="Other Variables">
<link href="Library-Combination.html#Library-Combination" rel="prev" title="Library Combination">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<a name="Overridable-Flags"></a>
<div class="header">
<p>
Previous: <a href="Library-Combination.html#Library-Combination" accesskey="p" rel="prev">Library Combination</a>, Up: <a href="Common-Variables.html#Common-Variables" accesskey="u" rel="up">Common Variables</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<a name="Overridable-Flags-1"></a>
<h4 class="subsection">1.7.5 Overridable Flags</h4>
<dl>
<dt><a name="index-OBJCFLAGS-1"></a>Variable: <strong>OBJCFLAGS</strong></dt>
<dd><p><code>OBJCFLAGS</code> are flags that are passed to the compiler when
compiling Objective-C files. The user can override this variable when
running make and specify different flags as the following command
illustrates:
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make OBJCFLAGS="-Wno-implicit -Wno-protocol"
</pre></div>
<dl>
<dt><a name="index-CFLAGS-1"></a>Variable: <strong>CFLAGS</strong></dt>
<dd><p><code>CFLAGS</code> are flags that are passed to the compiler when compiling
C files. The user can override this variable when running make and
specify different flags as the following command illustrates:
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make CFLAGS="-Wall"
</pre></div>
<dl>
<dt><a name="index-OPTFLAG"></a>Variable: <strong>OPTFLAG</strong></dt>
<dd><p><code>OPTFLAG</code> is the flag used to indicate the optimization level
that the compiler should perform when compiling Objective-C and C
files; this flag is set to ‘<samp>-O2</samp>’ by default, but the user can
override this setting when running make as the following command
illustrates:
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make OPTFLAG=
</pre></div>
<p>This command sets the optimization flag to be empty so that no
optimization will be performed by the compiler.
</p>
<dl>
<dt><a name="index-GNUSTEP_005fINSTALLATION_005fDOMAIN-2"></a>Variable: <strong>GNUSTEP_INSTALLATION_DOMAIN</strong></dt>
<dd><p><code>GNUSTEP_INSTALLATION_DOMAIN</code> is the domain where the package
will install its files; overriding this variable when running make
will change all of the variables within the Makefile Package that
depend upon it; the following command illustrates the use of this
variable:
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
</pre></div>
<p>This command states that the <code>SYSTEM</code> domain should be used as
the installation root directory; in particular applications in the
package will be installed in the <samp>$GNUSTEP_SYSTEM_APPS</samp>
directory, libraries in the package will be installed under the
<samp>$GNUSTEP_SYSTEM_LIBRARIES</samp> directory, command line tools will be
installed under the <samp>$GNUSTEP_SYSTEM_TOOLS</samp> directory, etc.
Depending on the filesystem layout, the various directories may be
located anywhere, which is why it’s important to also refer to them by
using variables such as <code>GNUSTEP_APPS</code>, <code>GNUSTEP_LIBRARIES</code>
and <code>GNUSTEP_TOOLS</code>, which automatically point to the right
directory on disk for this filesystem layout and installation domain.
</p>
<p>By default the Makefile Package sets
<code>GNUSTEP_INSTALLATION_DOMAIN</code> to <code>LOCAL</code>.
</p>
<dl>
<dt><a name="index-messages"></a>Variable: <strong>messages</strong></dt>
<dd><p><code>messages</code> can be set to ‘<samp>yes</samp>’ in order to increase the
verbosity and see all the commands the make is executing.
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make messages=yes
</pre></div>
<dl>
<dt><a name="index-documentation"></a>Variable: <strong>documentation</strong></dt>
<dd><p><code>documentation</code> controls whether the documentation targets in
a project will be executed. If you don’t desire building the
documentation (which might require a working LaTeX installation, etc.)
you can set this to ‘<samp>no</samp>’. Otherwise the documentation will
be built.
</p></dd></dl>
<div class="smallexample">
<pre class="smallexample">make documentation=no
</pre></div>
<hr>
<div class="header">
<p>
Previous: <a href="Library-Combination.html#Library-Combination" accesskey="p" rel="prev">Library Combination</a>, Up: <a href="Common-Variables.html#Common-Variables" accesskey="u" rel="up">Common Variables</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
</body>
</html>
|