User`s manual
Example Usage of the NCR Build Utilities
SBCSCSI/D1 4-3
4
Note
With the following explanations, refer to the numbered
columns to the left of the Ò.n.oÓ make rule shown above.
Line(s) Function
1 Create a directory, TMPDIR, into which Þltered headers will be placed.
2-6 Strip the headers down to only the single-line preprocessor directives.
7 Apply the C preprocessor to perform macro substitution on the SCRIPTS
module. Pipe the output to sed for more preprocessing.
8-10 Use sed to remove blank lines, unknown compiler directives, and other cpp
ejecta which are meaningless to the build utilities (or worse).
11 Invoke the Motorola-supplied SCRIPTS preprocessor.
12 Compile using NCRÕs SCRIPTS compiler.
13 Convert the ULONG typedef from an unsigned long to an unsigned int.
14 Turn the file.c output of the SCRIPTS compiler into an object module.
15 Remove all intermediate Þles and the directory of massaged header Þles.