NonStop Server for Java 4.2 Programmer's Reference
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 (TNS/R Only)
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:
$ cd /usr/tandem/nssjava/jdk142_v20/install
$ make TARGET_JAVA_DIR=/h/testdir CUSTLIB_DIRS=/h/testdir
Example 2 shows how to accomplish the operations performed in Example 1, but runs make while in a
user directory.
$ cd /h/testdir
$ make -f /usr/tandem/java/install/Makefile TARGET_JAVA_DIR=. \
CUSTLIB_DIRS=/h/testdir
In this example, CUSTLIB_DIRS must contain an absolute directory name even though the current