User`s guide
120
K
A
DAK
KwikNet System Construction
3.7.3 Toolset Considerations
Tailoring Files
The KwikNet Library is constructed using your make utility, C compiler and object
module librarian. A file which KADAK calls a tailoring file is used to tailor the library
construction process for a particular C compiler and object librarian. Separate tailoring
files are available for each toolset combination which KADAK supports. These tailoring
files are provided ready for use with Microsoft's
NMAKE utility.
KADAK uses a 2 or 3 character toolset mnemonic to identify each supported toolset
combination. The tailoring files for toolset
XXX are located in directory TOOLXXX in the
KwikNet installation directory KNTnnn. Use tailoring files M_tttXXX.vvv with Microsoft's
NMAKE. The mnemonic ttt identifies the target processor. The extension vvv identifies
the first version of the compiler for toolset XXX with which the tailoring file was tested.
The tailoring file can be used with subsequent versions of the tools until some change in
their method of operation requires a tailoring file update. For example, file M_PPCDA.42
was first used to create the PowerPC KwikNet Library using Microsoft's NMAKE and the
Diab Data (toolset DA) v4.2 (42) C compiler.
Note
Pick the tailoring file which matches your choice of toolset
and compiler version. Copy that file into toolset directory
TOOLXXX but with name KNZZZCC.INC. You may have to
overwrite the default copy created when KwikNet was
installed.
Compiler Configuration Header File
All
KwikNet C files include a KwikNet compiler configuration header file KNZZZCC.H. This
file identifies the characteristics of your C compiler. When KwikNet is used with AMX,
the compiler configuration header file KNZZZCC.H installed in KwikNet directory TOOLXXX
is ready for use with the C compiler for toolset XXX without modification.
OS Interface Make File
The OS Interface Module
KN_OSIF.C is the module which connects KwikNet to AMX (see
Figure 1.2-1 in Chapter 1). This module is merged into the KwikNet Library. The make
process automatically includes the OS Interface Make File KN_OSIF.INC to determine the
make dependencies and rules which control the compilation of the OS Interface source
file KN_OSIF.C. When KwikNet is used with AMX, the OS Interface Make File
KN_OSIF.INC is installed in KwikNet directory TOOLXXX is ready for use with toolset XXX
without modification.