Next: Changing the configure script
Up: Makefile commands
Previous: doc directory Makefile commands
  Contents
The following Makefile commands may be issued from either the doc or src directory:
- make co[.src | .h | .doc | .bin | .data | .extra]
Checks out sets of files from the RCS (but does not lock them). The
particular files checked out depend on which optional components were
specified when the configure script was run and the Makefile
created. The first form, make co, checks out copies of all files, and then does a make depend command (see below). The
other options check out the following subsets of files:
- co.src All .C and .c files, which are
placed in the src directory.
- co.h All header (.h) files, which are
placed in the src directory.
- co.doc All documentation files, which are
placed in the doc directory. If just a single documentation guide is
to be created, the files required just for the installation, programmers, or
users guides may be checked out with the command co.doc.ig,
co.doc.pg, or co.doc.ug, respectively.
- co.bin All utility programs and scripts, which are
placed in the bin directory.
- co.data All data files, which are
placed in the data directory.
- co.extra All other special files necessary to
compile VMD, which are placed in the src directory.
- make clean
Removes all object files, backup files, and other unnecessary files
still remaining after compilation has finished.
- make depend
The source code file dependencies are generated, when possible, using
special compiler flags (on SGI workstations, for example, this is
done with the -M flag to the CC compiler). The resulting
dependencies are placed in the file Makedata.depend in the src directory, and are included by the Makefile. Dependencies are
determined based on the current optional component configuration; if
the configuration changes, or new files are introduced, or the
list of included files for a source code file changes, the
dependencies should be recomputed. This is done automatically when a
make co command is issued. Every time the
dependencies are updated, a make version command is executed as
well.
- make install | make install.exe
Installs the VMD executables and data files into the VMD library directory,
and copies the startup scripts and utility programs used by VMD into a
user-specified directory. These directories are specified by the configurable
parameters INSTALLLIBDIR and INSTALLBINDIR in the file
configure.parameters.
- make install.doc
Copies the documentation guides into a directory doc within the VMD library directory, where program executables and data files were previously
installed. This is not necessary for VMD to run, but may be useful to
users.
- make install.all
Same as typing make install.exe install.doc.
- make locks
Prints out a list of all RCS-locked files; the username of the person
who locked each file is indicated by the ownership of the file.
- make version
Creates two files, which contain data used by the compiler and by
Latex to determine the values of configurable parameters. These
files are:
- src/config.h A C header file which contains
the program name, and current date, as a single string, and the values
for several configurable parameters as set in the file
configure.parameters.
- doc/vmd_version.tex A Latex file which
contains the program name, version, and current date as Latex macros.
Next: Changing the configure script
Up: Makefile commands
Previous: doc directory Makefile commands
  Contents
vmd@ks.uiuc.edu