Entering content frame

 Scripts for the VMAKE Tools 

Script Name

Description

mfainc [-<token>=<value>] source

Extracts the include code from an Assembler include file and writes it to the file <file_name>.h.

Further options define conditional compilation

mfcinc [-<token>=<value>] source

Extracts the include code from a C/C++ include file and writes it to the file <file_name>.h.

Further options define conditional compilation

mfpinc [-<token>=<value>] source

Extracts the include file from a C/C++ include file.
Extracted CONST definitions are written to the file
<file_name>.con;
extracted TYPE definitions are written to the file
<file_name>.typ.

Further options define conditional compilation

mfcexp [-<token>=<value>] source

Writes the exported interface (define section of the text frame) to the file <file_name>.h.

Further options define conditional compilation

mfa [-trace=<procedure>] [-check=no] [-<token>=<value>] source [includes]

Extracts the code section of an Assembler module file and writes it to the file <file_name>.s.
If include files are required, they must be specified in the correct order.
The
-trace=... and -check=... options are inserted to ensure compatibility with mfp scripts, and are ignored by the mfa script.

Further options define conditional compilation

mfc [-trace=<procedure>] [-check=no] [-<token>=<value>] source [includes]

Extracts the code section of a C/C++ module file and writes it to <file_name>(.c |.cpp).
If include files are required, they must be specified in the correct order.
If
$VMAKE_VERSION is defined as slow, #define DEBUG is used as a prefix for the file name.
The
-trace=... and -check=... options are inserted to ensure compatibility with mfp scripts, and are ignored by the mfc script.

Further options define conditional compilation

mfp [-trace=<procedure>] [-check=no] [-<token>=<value>] source [includes]

Extracts the defined section, use section, and code section of a PASCAL module file and writes them to the file <file_name>.p.
If include files are required, they must be specified in the correct order.
The
-trace=<procedure> option specifies the name of the trace procedure, whose call is inserted at the start of every function and procedure.
The
-check=no option defines whether the name prefixes of exported procedures are to be checked.

Further options define conditional compilation

mfsize [include-list] module

Creates a file <file_name>.siz that contains size information on the types of module file used.
If include files are required, they must be specified in the correct order.

mfextra [-<token>=<value>] source destination [includes]

Creates files that do not require translation.

Further options define conditional compilation and attributes of the files that do not require translation.

compa [as-flags] source

Translates an Assembler module file. The file <file_name>.o is created.

compc [cc-flags] source

Translates a C/C++ module file. The file <file_name>.o is created.

compp [pc-flags] source

Translates a PASCAL module file. The file <file_name>.o is created.

comppc [pc-flags] source

Translates a PASCAL module file into a C module file.

complint [cc-flags] source

Uses LINT to check a C module file.

archive [ar-flags] library objects

Writes object files to the library.

linkrel [ld-flags] relocatable objects

Writes object files to a relocatable object. The name of the created relocatable object is relocatable.

linkshr [ld-flags] relocatable objects

Writes object files to a relocatable object, the global variables of which must be stored in the shared memory. The name of the created relocatable object is relocatable.

linkdll [ld-flags] dll archive objects

Links object files to a dynamic library dll and generates a static library archive.

linklnk [ld-flags] [-o program] objects

Links a program with the name program.

linkshm [ld-flags] [-o program] objects

Links a program with the name program, the global variables of which must be stored in the shared memory.

VMAKE completes the names of the scripts using the $TOOLEXT variable (if available), which defines the file extension of the scripts. If additional parameters are to be sent to $TOOLSHELL, they must be defined in the environment variable $TOOLOPT.

 

 

Leaving content frame