\documentstyle[11pt,mymacros]{article}
\begin{document}
\begin{center}
{\large\bf SDAS Users Guide}
\end{center}
\vspace{0.5in}
You will receive the SDAS package in compressed tar format (sdas.tar.Z). To extract
the SDAS package from sdas.tar.Z simply {\bf cd} to a convienient directory and type
\begin{verbatim}
  uncompress < sdas.tar.Z | tar -xvf -
\end{verbatim}
This will create the necessary subdirectories and extract the appropriate files. The
next step is to build the SDAS libraries and install the software. Note: If you want
to use the default configuration then simply type {\bf make install} at this point
(you might need to be superuser to do this)
\begin{enumerate}
  \item Edit {\em Makefile} to reflect your particular configuration:
     \begin{enumerate}
	\item Change {\bf BINDIR = /usr/local/bin} to reflect the subdirectory where
              the executable utilities for SDAS are to be located.
	\item Change {\bf LIBDIR = /usr/local/lib} to reflect the subdirectory where
              the SDAS libraries will be located.
	\item Change {\bf SRCDIR = /usr/local/src} to reflect the subdirectory where
              the files {\em sdas.c} and {\em sdas.h} will be located.
	\item Change {\bf NAME = sdas} to reflect the name you want the executable
              SDAS program to be (also, this will be the basename of the PDT file
              and the primary PCT file).
	\item Change {\bf SBINDIR = .} to reflect the directory where the executable
              SDAS program ({\bf sdas}) will be located.
    \end{enumerate}
  \item Type {\bf make install}
\end{enumerate}
The procedure outlined above will install SDAS on your system it will also produce a 
shell script that will be useful in the next step. The next step is to configure SDAS
for a particular application.
\begin{enumerate}
  \item Decide where the configured SDAS executable program will be located. The
        default is the current directory.
  \item Create the necessary PDT and PCT files (NAME.pdt and NAME.pct).
  \item Edit the {\em configure} file (shell script):
    \begin{enumerate}
	\item Set {\bf ULIB = } to reflect the path and name of the library of
              routines to be linked to the SDAS program.
	\item Set {\bf UOBJ = } to reflect the names of the object files to be
              linked to the SDAS program.
	\item Set {\bf CDIR = .} to reflect the directory where the configuration
              files (NAME.pct and NAME.pdt) are located.
	\item Change {\bf SBINDIR = .} to reflect the directory where the executable
              SDAS program ({\bf sdas}) will be located.
    \end{enumerate}
  \item Type {\bf configure}
\end{enumerate}
This procedure will produce a SDAS program {\bf NAME} in the current directory (or
the directory specified by {\bf SBINDIR}. To add additional routines the {\bf NAME}
simply include the routine's name in the appropriate PCT file, add the name of
the object file containing the routine to {\bf UOBJ}, then type {\bf configure}.

\end{document}
