Requirements
============

   The program depends on the CTN library developed by the
Mallinckrodt Institue of Radiology, Washington University in St. Louis
MO, http://wuerlim.wustl.edu/. The source code can be downloaded from
ftp://ftp.erl.wustl.edu/pub/dicom/software/ctn/  

   The program also depends on the nifticlib developed by the NIfTI
project, http://nifti.nimh.nih.gov/. The source code can be downloaded
from http://sourceforge.net/projects/niftilib. 

Basic Installation
==================

   The build and installation is performed with `cmake'
(http://cmake.org/).

The simplest way to compile this package is:

  1. `cd' to the `build' subdirectory of the program's top level
     directory:
	cd $DINIFTI_ROOT/build

  2. Type `cmake ..' to configure the package for your system. While
     running, cmake prints some messages telling which features it is
     checking for and what is missing.

  3. Type `make all' to compile the package.

  4. Type `make install' to install the programs and any data files and
     documentation.

  5. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  

Installation Names
==================

   By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
installation prefix other than `/usr/local' by specifying it when
running `cmake':
	cmake .. -DPREFIX:PATH=<my top level>

   You can also specify separate include, lib and bin locations:
	cmake .. -DINCLUDEDIR:PATH=<my includes>
	cmake .. -DLIBDIR:PATH=<my libraries>
	cmake .. -DBINDIR:PATH=<my executables>

   All parameters can also be modified using `ccmake ..'.


