Index
CBM User Guide Scripts genmake rwbuild

rwinstal

USAGE:  rwinstal  [-d] [-i<workspace directory>] [-l] 
           -t<build type number> [-w] <part dir>[/target]

The command line options are:

-d	No argument. Exports shared or DLL libraries.
-i	Path to the root of the workspace directory.
-l	Write C++ library source to the workspace.
-t	Numeric build type.
-w	No argument. Distinguishes an application build from
          a library build.

Note: Do not put spaces between the argument flags and their associated values.

The script rwinstal is called to export (copy) files from the product tree to a workspace directory. After exporting the environmental variables defined in rwsetup.spm, rwinstal sets environmental variables for the library file suffix and object file suffix appropriate to the operating system in use. rwinstal also defines a shell function and exports the name of the function as $RW_FUNCTION. rwinstal then calls the script exports found in one or more etc directories (see the next paragraph). The exports scripts call the passed function to either create directories in the workspace (function called with one argument) or copy directories to the workspace (function called with two arguments, source and destination).

If the -l flag is set, rwinstal copies a complete set of the C++ library source code to the <workspace>/buildloc/<part> directory. The makefile(s) already located in this directory will have been customized to use these source files and not the source in the product tree.

If the last argument on the rwinstal command line does not specify an individual target, rwinstal comprehensively processes all exports scripts, visiting each etc directory that is a subdirectory of the part directory specified. Otherwise, only the etc directory that is an immediate subdirectory of the part directory is visited.

CBM User Guide Scripts genmake rwbuild
Index