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


next up previous contents index
Next: Object libraries Up: System generation Previous: makedefs adjuncts

Subsections



makefiles

GNU makefiles used to rebuild AIPS++

Synopsis

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

Description

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 $AIPSCODE1.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:

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.


File suffixes recognized by the makefiles

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.


next up previous contents index
Next: Object libraries Up: System generation Previous: makedefs adjuncts   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