MPE/iX Shell and Utilities Reference Manual, Vol 1

make(1) MPE/iX Shell and Utilities make(1)
string != string
is true if the two strings are not equal. Typically, one or both strings contain macros, which
make expands before making comparisons. make also discards white space at the start and
end of the text portion before the comparison. This means that a macro which expands to
nothing but white space is considered a NULL value for the purpose of the comparison. If a
macro expression needs to be compared to a NULL string, compare it to the value of the
macro $(NULL). The text enclosed in the conditional construct must have the same format
that it would have outside the conditional. In particular, make assumes that anything that
starts with a tab inside the conditional is a recipe line. This means that you cannot use tabs to
indent text inside the conditional (except, of course, for recipe lines which always begin with
tabs).
ENVIRONMENT VARIABLES
make uses the following environment variable:
MAKEFLAGS
contains a series of make options which are used as the default options for any make
command. You may specify the options with or without leading minus signs () and
blanks between them. It may also include macro definitions of the form usually
found on the command line.
MAKESTARTUP
contains the path name of the make startup file. By default, make uses the file
/etc/startup.mk as its startup file. To use a different file, set this environment
variable before running make.
SHELL
contains a name of a command interpreter. To assign this value to the control macro
SHELL, use the .IMPORT special target. You can also use the .EXPORT special tar-
get to assign the value of the SHELL macro to this environment variable.
FILES
make uses the following file:
/etc/startup.mk
default startup file containing default rules.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Returned if you specified –q and file is not up to date.
255
An error occurred.
Commands and Utilities 1-353