IBM SC34-4499-03 Personal Computer User Manual


 
found, TeamConnection uses default rules. “Creating a rules file” on page 237
explains the rules, the format of this file, and the default rules.
/x Specifies that you want to run the command file that was produced by the /c
parameter.
/s Specifies that the build tree is to be displayed after the command is issued. If
specified, the command file is run even if the /x parameter is not specified.
/k Specifies that you want TeamConnection not to erase the intermediate files it
uses to process this command. This might be useful in debugging problems
that arise during the import. However, in general, you will not specify this
parameter. When specified, the following intermediate files are saved:
modified makefile
A modified form of the imported makefile. The command invocations
(of things like linkers and compilers) are replaced by calls to a
TeamConnection command that captures dependency data. To find
the cause of import errors, type the following command at an OS/2
command line:
nmake -f mod_make
create file
A list of all the objects referenced by the makefile that should be
created in the TeamConnection database.
connect file
A list of all the objects referenced by the makefile that should be
connected to other objects in the TeamConnection database. Each
line contains one dependency relationship in the format <child>
<parent>.
TeamConnection provides an environment variable, TC_MAKEIMPORTTOP, that when
set strips off the leading part of the directory name. For example, you have parts with
the following directory structure: g:\octo\src\inc\. Because you want the parts created
without the g:\octo structure, you set TC_MAKEIMPORTTOP=g:\octo before you invoke
the make import tool. The parts created in TeamConnection have the directory structure
of src\inc\.
Another environment variable provided by TeamConnection,
TC_MAKEIMPORTVERBOSE, when set causes the -verbose flag to be added to part
commands.
The following is an example of invoking the make import tool:
fhomigmk /m Mymak /w mywork /s /u myrules
In this example, the makefile called mymak is used to create a temporary command file
containing TeamConnection commands. The commands are formed based on the rules
defined in the file myrules. The family and release used in the commands are those
specified in the environment variables TC_FAMILY and TC_RELEASE. The work area
236 User’s Guide