found, TeamConnection uses default rules. ªCreating a rules ®leº on page 237 explains the rules, the format of this ®le, and the default rules.

/x Speci®es that you want to run the command ®le that was produced by the/c parameter.

/s Speci®es that the build tree is to be displayed after the command is issued. If speci®ed, the command ®le is run even if the/x parameter is not speci®ed.

/k Speci®es that you want TeamConnection not to erase the intermediate ®les 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 speci®ed, the following intermediate ®les are saved:

modi®ed make®le

A modi®ed form of the imported make®le. The command invocations (of things like linkers and compilers) are replaced by calls to a TeamConnection command that captures dependency data. To ®nd the cause of import errors, type the following command at an OS/2 command line:

nmake -f mod_make

create ®le

A list of all the objects referenced by the make®le that should be created in the TeamConnection database.

connect ®le

A list of all the objects referenced by the make®le 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 ¯ag 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 make®le calledmymak is used to create a temporary command ®le

containing TeamConnection commands. The commands are formed based on the rules de®ned in the ®lemyrules. The family and release used in the commands are those

speci®ed in the environment variables TC_FAMILY and TC_RELEASE. The work area

236User's Guide

Page 256
Image 256
IBM SC34-4499-03 manual Modied makele, Create le, Connect le