Up: Contents
Next: Customized Makefiles
Previous: Our Makefile System
The directory ${}PETSC_DIR/bmake contains virtually all
makefile commands and customizations to enable portability across
different architectures. Most makefile commands for maintaining the
PETSc system are defined in the file ${}PETSC_DIR/bmake/common.
These commands, which process all appropriate files within the
directory of execution, include
- lib - Updates the PETSc libraries based on the source code
in the directory.
- libfast - Updates the libraries faster. Since
libfast recompiles all source files in the directory at once,
rather than individually, this command saves time when many files
must be compiled.
- clean - Removes garbage files.
Most other commands are intended for PETSc developers are generally
not needed by users.
- ci - Uses the RCS ci mechanism to check in all files in the
directory.
- co - Uses the RCS co mechanism to check out
all files in the directory.
- fortranstubs - Generates the Fortran wrapper routines.
- latexpages - Updates the LaTeX version of the manual pages.
- manualpages - Updates the HTML version of the manual pages.
The tree command enables the user to execute a particular action
within a directory and all of its subdirectories. The action is specified
by ACTION=[action], where action is one of the basic commands
listed above. For example, if the command
make BOPT=g ACTION=lib tree
were executed from the directory ${}PETSC_DIR/src/sles/ksp,
the debugging library for all Krylov subspace solvers would be built.
Up: Contents
Next: Customized Makefiles
Previous: Our Makefile System