found, TeamConnectionuses 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 TeamConnectionnot 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
Amodified form of the imported makefile. The command invocations
(of things like linkers and compilers) are replaced by calls to a
TeamConnectioncommand 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
Alist of all the objects referenced by the makefile that should be
created in the TeamConnectiondatabase.
connect file
Alist of all the objects referenced by the makefile that should be
connected to other objects in the TeamConnectiondatabase. Each
line contains one dependency relationship in the format <child>
<parent>.
TeamConnectionprovides 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 TeamConnectionhave 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 TeamConnectioncommands. 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_FAMILYand TC_RELEASE. The work area
236 User’s Guide