Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: mkinst Up: System generation Previous: Template instantiation

Subsections



System generation makefile rules

GNU makefile rules used to rebuild AIPS++

Synopsis

makefile
makefile.{app,aps,chk,doc,ftn,imp,pkg,scr,tst}

AIPS++ targets

The AIPS++ makefile targets are listed below by category. These lists are not exhaustive, but do aim to cover everything of practical use. In particular, they omit targets which are intended for the internal use of the makefiles.

A target is labelled as ``recursive'' if it causes gmake (p[*]) to be invoked in all subdirectories. It is ``general'' if it applies to all makefiles; such targets are defined in makedefs. A target is ``specific'' if defined in a specific makefile.

Some targets such as allsys have a general meaning, the specific behaviour of which differs for specific makefiles. These are referred to as ``general/specific'' and where appropriate the details of a target's behaviour are described for each of the generic makefiles, for the top-level makefile (top), and the installation makefile (ins).

Targets which apply only if the RCS source code repositories are present are marked as ``RCS''.

Rules for system-oriented targets always take source code from the $AIPSCODE subdirectories. If $AIPSRCS exists, then these plain-text sources are updated from the RCS repository first if necessary.

Notes

Examples

The following command suffices to clean up the AIPS++ system and rebuild it in its entirety

   cd $AIPSCODE
   gmake cleansys allsys

To just compile and install the documentation:

   cd $AIPSCODE
   gmake docsys

This would recursively compile all POSTSCRIPT documents from the *.latex, *.tex and *.texi files in the $AIPSCODE/doc directory tree and install them in the corresponding $AIPSDOCS subdirectory. ASCII, *.html, *.ps etc. documents will also be copied across. The document extractor would then be invoked on the C++ sources (if enabled). Note, however, that no documents are printed via docsys.

See also

The GNU Make manual.
The GNU manual page for gmake.
The unix manual page for ranlib(1).
AIPS++ variable names (§1.2).
gmake (p[*]), GNU make.
makedefs (p[*]), AIPS++ makefile definitions.
updatelib (p[*]), update an AIPS++ object library.


next up previous contents index
Next: mkinst Up: System generation Previous: Template instantiation   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15