a.make(1)
NAME
a.make − recompile source files in dependency order
FORMAT
a.make [options] [unit_name]... [ld_options] [-f ada_source.a ...]
a.make [options] [path/unit_name]... [ld_options] [-f ada_source.a ...]
DESCRIPTION
This utility determines which files must be recompiled in order to produce a current executable file with unit_name as the main unit. It also calls a.ld to create the appropriate executable, if and only if unit_name is a procedure or an integer function; otherwise, it just ensures that the named unit is up-to-date, recompiling any dependencies if necessary.
The utility uses DIANA net files to determine the correct order of compilation and elaboration.
a.make will have no knowledge of any source file (e.g., foo.a) until that file has been compiled in a way that changes the program library. Unless the -f option is used, this requires that foo.a be compiled ‘by hand’ at least once. Unless the -U or -D option is given, the file must compile successfully or else the program library will remain unchanged. A single compilation is sufficient (unless syntax errors are present) if the -U option is used to force changes to the program library. In any case, syntax errors must be corrected before the file will be ‘seen’ by a.make.
Supplied names and unknown options are passed to a.ld.
OPTIONS
-A VADS_library [, VADS_library] ...
Bring the listed libraries up to date if necessary.
-All (all) Bring all libraries on the library search path up to date.
-C "compiler" (compiler) Use the string compiler in recompiling the required units. This option is normally used to provide specific options to the compiler. For example, to have the compiler invoke the vi(1) editor on compilation errors, one can call a.make with the following command line.
a.make -C "ada -ev" [other commands]
-D (dependencies) List the file-to-file dependencies.
-f ada_source.a ...
(files) Treat remaining non-option arguments as file names in the current VADS library to compile. All units in these files will be brought up to date; -f may be used with one of the other options to print actions or dependencies without executing them, but must be the last option given.
-I ada_source.a (if) List actions that would be taken if ada_source.a were changed.
-L "linker" (linker) Use the string linker in linking the required units. This option can be used to provide unusual options to a.ld when using a.make.
-U (units) List the list of dependent units in order, but do not link.
-v (verbose) List the recompilation commands as they are executed.
-V (verify) List the recompilation commands that would be executed, but do not execute them.