Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
GNU makefiles used to rebuild AIPS++
makefile
makefile.{app,aps,chk,doc,ftn,imp,pkg,scr,tst}
Compilation of the AIPS++ system from its sources is accomplished via a hierarchical system of GNU makefiles (§10.3). The top-level makefile resides in $AIPSCODE (§1.2) and certain targets cause all makefiles residing in the subdirectories below to be invoked recursively. In this way all of the AIPS++ executable scripts, object libraries, applications, and documentation may be compiled and installed with a single invokation of gmake.
In addition to these system-oriented targets, the makefiles also have a set of programmer-oriented targets designed for code development.
Before examining the makefile targets in detail I will briefly summarize the general features of the AIPS++ system of makefiles:
These are referred to below by their three-letter file suffix, namely app, aps, chk, doc, ftn, imp, pkg, scr, and tst.
A few directories contain special-purpose makefiles, the main ones being the top-level makefile in $AIPSCODE (referred to as top below), and the installation makefile in $CODEINSD (referred to below as ins).
The generic and special-purpose makefiles are collectively referred to below as specific makefiles, as opposed to the general makefile, makedefs.
The generic makefiles recognize the following source file types:
app
.cc ...C++ implementation file.
.h ...C++ header file.
.g ...Glish script.
templates ...Template list (see mkinst (p)).
MyTemplatesOnly ...Template instantiation semaphore file.
aps
none
chk
any
doc
.latex ...LATEX file.
.tex ...TEX file.
.texi ...Texinfo file.
.ps ...POSTSCRIPT file.
.text ...ASCII text file.
.txt ...ASCII text file.
.html ...HTML file.
.htm ...HTML file.
.gif ...GIF file.
.jpg ...JPEG file.
.dir ...Subdirectory containing files included by the document.
ftn
.f ...FORTRAN source file.
imp
.cc ...C++ implementation file.
.h ...C++ header file.
.l ...lex source file.
.y ...yacc source file.
.g ...Glish script.
.gif ...GIF file.
.html ...HTML file.
templates ...Template list (see mkinst (p)).
MyTemplatesOnly ...Template instantiation semaphore file.
pkg
none
scr
any
tst
.cc ...C++ implementation file.
.h ...C++ header file.
.g ...Glish script.
templates ...Template list (see mkinst (p)).
MyTemplatesOnly ...Template instantiation semaphore file.
Section §10.9 describes the makefile rules used to process these source files and the type of files produced.