NonStop Server for Java Programmer's Reference (NSJ 4.2+)
than one directory, you must enclose the list of space-separated directory names in
quotes.
You can include wildcard characters in the directory names. See Examples of Using
make for an example of how to override Makefile variables on the command line.
❍
Verbose
Turns on the verbose option of the NLD command. The verbose option needs to be on for
warning messages to be displayed.
After getting an unexpected warning during a previous make, you would, typically, override
this variable on the make command line. Valid values are:
-noverbose
The default. If warnings occur in this mode, you are issued the message,
Some NLD warnings were suppressed because the -verbose
option was off, and given instructions about how to turn the verbose option on
if the warnings are unexpected. Not all warnings are a problem, although some can
lead to cryptic error messages when trying to run the java executable.
-verbose
Turns on verbose NLD output. Shows the exact NLD command used and an
informational message about how each SRL was resolved.
TARGET_JAVA_DIR
Specifies the directory name where the newly built java executable is put. Typically, you
use this variable so that you can build a version of Java for testing without overwriting the
official version of NonStop Server for Java 4. The directory name can be absolute or relative.
This variable does not apply when relinking the base version of Java with the make
baseversion command.
When you change this variable setting, you should typically override its value by setting the
variable on the make command line rather than editing the Makefile. See Examples of Using
make for the syntax of how to override the value on the command line.
Various utility locations
The make operation uses various utilities, such as cp, sed, and so forth. The locations of
these utilities are specified in a series of variables in the Makefile rather than relying on the
user's PATH environment variable. If you find the utilities are installed in a different location
on your system, you should consider changing the value of these variables in the Makefile.
To make a permanent change, edit the Makefile and save the changes.❍
To make a one time change, override its value by setting the variable on the make
command line.
❍
Examples of Using make
Example 1 shows how to override TARGET_JAVA_DIR and CUSTLIB_DIRS while running
make from the install directory. The commands to build Java in the directory /h/testdir using
all the libraries in /h/testdir are: