User`s guide

KwikNet System Construction
K
A
DAK
109
3.3 KwikNet Library Compilation Output
When you build the KwikNet Library as described in Chapter 3.2, the make utility will
transfer files which are unique to KwikNet into the Treck installation directory. If KwikNet
is installed in directory C:\KNTnnn and the Turbo Treck TCP/IP Stack is installed in
directory
C:\TRECK, then all KwikNet header and source files will be copied from
directory
C:\KNTnnn\TCPIP to the Treck installation directory. Header files will be
copied to Treck directory C:\TRECK\INCLUDE. Source files will be copied to Treck
directory C:\TRECK\SOURCE.
During the library construction process, all KwikNet source files and Turbo Treck TCP/IP
source files will be compiled and the resulting object modules will be placed in directory
TOOLXXX\LIB. The KwikNet Library will be created from these object files and placed in
directory
TOOLXXX\LIB. Note that the library file extension will be .A or .LIB or some
other extension as dictated by the toolset which you are using.
KNnnnIP.A KwikNet Library
In addition to the library module and the object modules used to create them, the
following files will also be created in directory TOOLXXX\LIB.
KN_LIB.UP KwikNet Network Parameter File
KN_LIB.MAK KwikNet Library Make File
KN_LIB.H KwikNet Library Header File
File KN_LIB.UP is a copy of the Network Parameter File NETCFG.UP which you identified
on your make command line. It is copied to the LIB directory so that you have a record
of the parameters used to produce the library present in the directory.
File KN_LIB.MAK is the KwikNet Library Make File which can be used to reproduce the
library. It is generated in the LIB directory so that you have a record of the make file
used to produce the library present in the directory. This file is derived from the KwikNet
Library Make Template file KNnnnLIB.MT and the parameters in Network Parameter File
KN_LIB.UP. It should match the make file NETCFG.MAK which you passed to your make
utility to start the make process.
File KN_LIB.H is the KwikNet Library Header File, a C header file generated by the make
process. This file is derived from the KwikNet Library Header Template file KNnnnLIB.HT
and the parameters in Network Parameter File KN_LIB.UP.
The KwikNet header file KN_LIB.H is also copied to Treck directory C:\TRECK\INCLUDE
so that it is available for inclusion in the compilation of all C files in the library.
The toolset dependent header file
TOOLXXX\KNZZZCC.H is also copied to Treck directory
C:\TRECK\INCLUDE so that it is also available for inclusion in the compilation of all C
files in the library.