The text file sb_init is used by the Source Browsing mode of Sun WorkShop, the compilers, and sbtags to obtain control information about the source browsing database structure. Use sb_init if you want to work with source files whose database information is stored in multiple directories.
The sb_init file should be placed in the directory from which source browsing, the compilers, and sbtags are run. These tools look in the current working directory for the sb_init file.
The default is to look in the current working directory for the sb_init file. To instruct Sun WorkShop and the compiler to search for the sb_init file in another directory, set the environment variable SUNPRO_SB_INIT_FILE_NAME to /absolute/pathname/sb_init.
To use an sb_init command, add the command to the file. The sb_init file is limited to the following commands:
import--Reads databases in directories other than the current working directory.
export--Writes database component files associated with specified source files to directories other than the current working directory of the compiler. This command also acts as an import command.
automount-prefix--Enables you to browse source files on a machine other than the one on which you compiled your program.
replacepath--Specifies how to modify paths to file names found in the database, allowing you to move a database.