Langinfo is an initialization file of the VMAKE tool. The file is used to assign certain tools for unpacking and translating module files to programming languages. The relevant programming language is specified by a letter (Langextinfo).
VMAKE uses certain default settings for each language.
If you want to change the existing assignments, create a file with the name Langinfo in the desc directory. All further changes are then made in this file.
If VMAKE finds a Langinfo file, the information contained in the file overrides the system defaults.
<langinfo_line> = <comment_line> |
(<lang_id><token_sep><unpack_inc_tool><token_sep><unpack
exp tool><tokensep><unpack mod
tool><tokensep><extension><tokensep><option
prefix><tokensep>
<compiler tool>)
<unpack inc tool> = <token>
<unpack exp tool> = <token>
<unpack mod tool> = <token>
<extension> = „.“<token>
<option prefix> = <ext character><letter>
<compiler tool> = <token>
Lines can contain the comment character #. The subsequent text in this line is treated as a comment.
The scripts for unpacking a module file use the table entry under extension as the file extension.
# |
last char |
unpack include |
unpack exports |
unpack module |
extension |
option prefix |
compiler |
|
|
t |
mfpinc |
mfpexp |
mfp |
. p |
%T |
comppc |
# PASCAL |
|
p |
mfpinc |
mfpexp |
mfp |
.p |
%P |
compp |
# PASCAL |
|
c |
mfcinc |
mfcexp |
mfc |
.c |
%C |
compc |
# C |
|
x |
mfcinc |
mfcexp |
mfc |
.cpp |
%X |
compc |
# C++ |
|
a |
mfainc |
mfaexp |
mfa |
.s |
%A |
compa |
# Assembler |
|
r |
mfcinc |
mfcexp |
mfrc |
.rc |
%R |
comprc |
# Resources |