Lines Matching refs:Variables

95 * Using Variables::             You can use variables to avoid repetition.
114 * Name Index:: Index of Functions, Variables, & Directives
130 * Variables Simplify:: Variables Make Makefiles Simpler
142 * Special Variables:: Other special variables.
212 * Variables in Commands:: Using @code{make} variables in commands.
222 * Variables/Recursion:: How to communicate variables to a sub-@code{make}.
227 How to Use Variables
230 * Flavors:: Variables come in two flavors.
246 Advanced Features for Reference to Variables
294 * Implicit Variables:: How to change what predefined rules do.
307 * Automatic Variables:: How to use automatic variables in the
491 * Variables Simplify:: Variables Make Makefiles Simpler
651 @node How Make Works, Variables Simplify, Simple Makefile, Introduction
662 @code{.DEFAULT_GOAL} special variable (@pxref{Special Variables, ,
663 Other Special Variables}).
716 @node Variables Simplify, make Deduces, How Make Works, Introduction
717 @section Variables Make Makefiles Simpler
736 the risk and simplify the makefile by using a variable. @dfn{Variables}
738 later (@pxref{Using Variables, ,How to Use Variables}).
761 (@pxref{Using Variables, ,How to Use Variables}).
794 @node make Deduces, Combine By Prerequisite, Variables Simplify, Introduction
940 * Special Variables:: Other special variables.
979 as a list of all object files (@pxref{Variables Simplify, , Variables
997 (@pxref{Defining, ,Defining Variables Verbatim}).
1100 expanded. @xref{Using Variables, ,How to Use Variables}.
1124 (@pxref{Setting, ,Setting Variables}) or pattern rules
1210 @node MAKEFILE_LIST Variable, Special Variables, MAKEFILES Variable, Makefiles
1256 Variables}, for more information on simply-expanded (@code{:=})
1259 @node Special Variables, Remaking Makefiles, MAKEFILE_LIST Variable, Makefiles
1261 @section Other Special Variables
1331 built-in variables (@pxref{Implicit Variables, , Variables Used by
1390 @node Remaking Makefiles, Overriding Makefiles, Special Variables, Makefiles
1938 Variables, ,How to Use Variables}). If you have enabled secondary
2084 @ref{Automatic Variables}.)@refill
2219 @xref{Flavors, ,The Two Flavors of Variables}, for an explanation of
2478 (@pxref{Automatic Variables}).
2493 @pxref{Implicit Variables, ,Variables Used by Implicit Rules}.)
2823 changed (@pxref{Automatic Variables}).
2991 @xref{Variables/Recursion, ,Communicating Variables to a
3045 commands (@pxref{Automatic Variables}). For example:
3121 (@pxref{Overriding, ,Overriding Variables}). For example,
3233 of the target; see @ref{Automatic Variables}.
3487 @node Commands, Using Variables, Rules, Top
3565 * Variables in Commands:: Using @code{make} variables in commands.
3568 @node Splitting Lines, Variables in Commands, Command Syntax, Command Syntax
3695 @node Variables in Commands, , Splitting Lines, Command Syntax
3696 @subsection Using Variables in Commands
3848 functioning of makefiles. @xref{Environment, ,Variables from the
3855 exporting @code{SHELL} (@pxref{Variables/Recursion, ,Communicating
3856 Variables to a Sub-@code{make}}), forcing it to be passed in the
4204 * Variables/Recursion:: How to communicate variables to a sub-@code{make}.
4210 @node MAKE Variable, Variables/Recursion, Recursion, Recursion
4266 @node Variables/Recursion, Options/Recursion, MAKE Variable, Recursion
4267 @subsection Communicating Variables to a Sub-@code{make}
4286 of variable values. @xref{Environment, ,Variables from the
4314 Variables are @emph{not} normally passed down if they were created by
4315 default by @code{make} (@pxref{Implicit Variables, ,Variables Used by
4386 @xref{Appending, ,Appending More Text to Variables}.
4449 @node Options/Recursion, -w Option, Variables/Recursion, Recursion
4473 @xref{Overriding, ,Overriding Variables}.
4666 @xref{Defining, ,Defining Variables Verbatim},
4771 @node Using Variables, Conditionals, Commands, Top
4772 @chapter How to Use Variables
4785 Variables and functions in all parts of a makefile are expanded when
4790 Variables can represent lists of file names, options to pass to compilers,
4800 (@pxref{Variables/Recursion, ,Communicating Variables to a Sub-@code{make}}).
4809 command options (@pxref{Overriding, ,Overriding Variables}).
4813 they have particular specialized uses. @xref{Automatic Variables}.
4817 * Flavors:: Variables come in two flavors.
4834 @node Reference, Flavors, Using Variables, Using Variables
4882 the case of the automatic variables (@pxref{Automatic Variables}).
4884 @node Flavors, Advanced, Reference, Using Variables
4885 @section The Two Flavors of Variables
4898 Variables of this sort are defined by lines using @samp{=}
4899 (@pxref{Setting, ,Setting Variables}) or by the @code{define} directive
4900 (@pxref{Defining, ,Defining Variables Verbatim}). The value you specify
4959 (@pxref{Setting, ,Setting Variables}).
4989 (@xref{Variables/Recursion, , Communicating Variables to a
5081 @node Advanced, Values, Flavors, Using Variables
5082 @section Advanced Features for Reference to Variables
5121 sets @samp{bar} to @samp{a.c b.c c.c}. @xref{Setting, ,Setting Variables}.
5166 Variables may be referenced inside the name of a variable. This is
5338 (@pxref{Flavors, ,The Two Flavors of Variables}), though both are
5341 @node Values, Setting, Advanced, Using Variables
5342 @section How Variables Get Their Values
5346 Variables can get values in several different ways:
5351 @xref{Overriding, ,Overriding Variables}.
5355 with an assignment (@pxref{Setting, ,Setting Variables}) or with a
5356 verbatim definition (@pxref{Defining, ,Defining Variables Verbatim}).@refill
5359 Variables in the environment become @code{make} variables.
5360 @xref{Environment, ,Variables from the Environment}.
5365 @xref{Automatic Variables}.
5369 @xref{Implicit Variables, ,Variables Used by Implicit Rules}.
5372 @node Setting, Appending, Values, Using Variables
5373 @section Setting Variables
5392 Variables defined with @samp{=} are @dfn{recursively expanded} variables.
5393 Variables defined with @samp{:=} are @dfn{simply expanded} variables; these
5395 the definition is made. @xref{Flavors, ,The Two Flavors of Variables}.
5410 (@pxref{Implicit Variables, ,Variables Used by Implicit Rules}).
5413 @dfn{automatic} variables (@pxref{Automatic Variables}).
5433 @node Appending, Override Directive, Setting, Using Variables
5434 @section Appending More Text to Variables
5472 originally. @xref{Flavors, ,The Two Flavors of Variables}, for an
5481 (see @ref{Setting, ,Setting Variables}, for a full explanation of @samp{:=}).
5505 of Variables}). When you use @samp{+=} on a recursively-expanded variable,
5564 @node Override Directive, Defining, Appending, Using Variables
5571 (@pxref{Overriding, ,Overriding Variables}),
5595 @xref{Appending, ,Appending More Text to Variables}.
5624 @xref{Defining, ,Defining Variables Verbatim}.
5627 @node Defining, Environment, Override Directive, Using Variables
5628 @section Defining Variables Verbatim
5647 (@pxref{Flavors, ,The Two Flavors of Variables}).
5699 @node Environment, Target-specific, Defining, Using Variables
5700 @section Variables from the Environment
5704 Variables in @code{make} can come from the environment in which
5726 variables. @xref{Variables/Recursion, , Communicating Variables to a
5743 @node Target-specific, Pattern-specific, Environment, Using Variables
5751 (@pxref{Automatic Variables}).
5792 variable. Variables provided on the command-line (and in the
5824 @node Pattern-specific, , Target-specific, Using Variables
5836 one set. Variables defined in this way are searched after any
5870 @node Conditionals, Functions, Using Variables, Top
6065 the @var{text-if-false}, if any, is effective. Variables that have
6144 (@pxref{Automatic Variables}).
6922 @xref{Flavors, ,The Two Flavors of Variables}.@refill
7176 and so on. @xref{Implicit Variables, ,Variables Used by Implicit Rules}.
7208 (@pxref{Automatic Variables}).
7263 ,The Two Flavors of Variables}).
7321 Two Flavors of Variables}).
7484 (@pxref{Special Variables, , Other Special Variables}).
7771 @section Overriding Variables
7809 Variables, , Variables Used by Implicit Rules}, for a complete list.
7889 @code{MAKE_RESTARTS} (@pxref{Special Variables, , Other Special
7890 Variables}) is set to a number greater than 0 this option is disabled
7960 @xref{Environment, ,Variables from the Environment}.
8098 remain in effect (@pxref{Implicit Variables, ,Variables Used by Implicit
8106 Variables, ,Variables Used by Implicit Rules}). You can still define
8225 @xref{Implicit Variables, ,Variables Used by Implicit Rules}.
8244 * Implicit Variables:: How to change what predefined rules do.
8332 @node Catalogue of Rules, Implicit Variables, Using Implicit, Implicit Rules
8642 @node Implicit Variables, Chained Rules, Catalogue of Rules, Implicit Rules
8643 @section Variables Used by Implicit Rules
8861 @node Chained Rules, Pattern Rules, Implicit Variables, Implicit Rules
8964 when the makefile is read. @xref{Using Variables, , How to Use
8965 Variables}, and @ref{Functions, ,Functions for Transforming Text}.
8970 * Automatic Variables:: How to use automatic variables in the
9049 @node Pattern Examples, Automatic Variables, Pattern Intro, Pattern Rules
9065 in each case where the rule applies (@pxref{Automatic Variables}).@refill
9106 @node Automatic Variables, Pattern Match, Pattern Examples, Pattern Rules
9107 @subsection Automatic Variables
9332 @node Pattern Match, Match-Anything Rules, Automatic Variables, Pattern Rules
9711 @xref{Automatic Variables}.
9814 @samp{$%}. @xref{Automatic Variables}.
9967 Variables are read from and communicated via the environment.
9968 @xref{Environment, ,Variables from the Environment}.
9977 in an archive reference. @xref{Automatic Variables}.
9983 extension. @xref{Automatic Variables}.@refill
10035 did. @xref{Automatic Variables}. The automatic variable
10065 4 @code{make}. @xref{Appending, , Appending More Text to Variables}.
10092 Simply-expanded variables. @xref{Flavors, ,The Two Flavors of Variables}.
10105 @xref{Defining, ,Defining Variables Verbatim}.
10352 @xref{Variables/Recursion, , Communicating Variables to a Sub-@code{make}}.
10362 @xref{Variables/Recursion, , Communicating Variables to a Sub-@code{make}}.
10526 @xref{Automatic Variables},
10621 @xref{Variables/Recursion}.
10760 use the append operator (@code{+=}). @xref{Using Variables, ,How to Use
10761 Variables}.
11100 @unnumbered Index of Functions, Variables, & Directives