Sun WorkShop TeamWare 2.1 User's Guide

Building With Nondefault Values

If you have a makefile with a unique name, a certain make target, or a specific build command, specify it in the Define New Target dialog box or Edit Target dialog box by clicking on the appropriate browse button (see Figure 17-2). Each browse button displays a dialog box.

  1. Type the name of the directory in which you want to build and click Apply to apply the change.

    You can also select another directory from the Set Build Directory dialog box. If you have not specified a build directory, TeamWare either tries to build in the directory currently displayed in the build directory field or, if no directory is displayed, displays an error message pop-up window.

  2. Type the name of the makefile you want in the Makefile text box.

    If you want to choose another makefile from the current build directory, type the name of the makefile in the Makefile text box, or choose a makefile from the list in the Set Makefile dialog box, and click OK.

    You can run your build in a directory that is different from the one the makefile is in. Just specify the full path name of the makefile in the Makefile text box.

  3. Type the name of the make target you want in the Target text box.

    Type the name of the make target in the Target text box, or choose another make target in the current makefile in the Target Chooser dialog box, and click OK.

  4. Type the name of the build command you want in the Command text box.

    If the build command you specify is something other than make or dmake, you can specify the command and any of its arguments in the Command text box. The build command is formed by prepending setenv commands for any environment variables specified through the Environment Variables dialog box and by appending any of the make options specified through the Options and Make Macros dialog boxes.


    Note -

    If the path to the build command is not in your PATH environment variable, you might have to specify the full command path.


  5. Click Build in the dialog box to start a build with the settings you supplied.

The build output is displayed in the Build Output display pane in the Building window. Click the Stop Build button in the Building window or choose Build > Stop Build to stop the build process.