LIBRARY

From VrlWiki
Jump to navigation Jump to search
LIBRARY = <Library Name>

If a directory contains a library set this variable to the name of the library. Only one library per directory can be built. If a directory does not contain a library do not set this variable.

On Unix systems a library named lib<Library>.a will be built. On Windows <Library>.lib is built. Library names will also contain additional tags designating the compiler version and to denote a debugging or profiling edition. For example, when LIBRARY is foo then building with gcc4 will create:

libfoo-gcc4.a              # Optimized version.
libfoo-gcc4_g.a            # Debugging version.
libfoo-gcc4_p.a            # Profiling version.


Library names must be unique within a project. Failure to do this will result in a conflicts when they are built and installed. Libraries are installed in:

$GTO/install_$GARCH/$PROJECT/lib/